SlideShare a Scribd company logo
2
Most read
3
Most read
8
Most read
WELCOME TO
DUCAT INDIA
CONTACT:- 70-70-90-50-90
EMAIL:- INFO@DUCATINDIA.COM
Selenium is a powerful tool that manages web browsers by programs and automates browsers. It runs on
all popular Operating System browsers, and its scripts are written in different languages, such as Python,
Java, C#, Java etc.
Selenium Basics
.
Selenium IDE
The main instrument in the Selenium Suite is the Selenium IDE. For Selenium testing, it is a full
integrated production environment. It is introduced as a Chrome Plugin and as a Firefox Add-On. It
allows for practical checks to be registered, edited and debugged. It was once named the Selenium
Recorder. Shinya Kasatani originally developed Selenium-IDE and donated it to the Selenium project in
2006. Selenium IDE was little-maintained previously. In 2018, Selenium IDE started being actively
managed.
Selenium is a versatile program-based web browser management tool. For all browsers, it runs on all big
OSs and the scripts are written in different languages, Python, C#. We’re going to deal with Python.
There are four key components of selenium: Selenium IDE, Selenium RC, Selenium Web engine,
Selenium GRID
Scripts can be manually registered and modified automatically, giving support for autocompletion and the
ability to pass commands around quickly. Scripts are written in Selenian, Selenium’s special test scripting
language. Selenese offers commands to execute browser actions and to extract data from the resulting
pages.
Selenium Grid is a server for experiments to use instances of a web browser operating on remote computers.
One node, with Selenium Grid, serves as the hub. To gain access to browser instances, the tests touch the
centre. The centre maintains a list of servers providing access to instances of a browser and requires
experiments to use those instances. Selenium Grid helps several computers to perform parallel experiments and
to centrally control various browser versions and browser configurations. The ability to run tests on remote
browser instances is helpful in distributing the test load over several computers and performing tests on various
devices or operating systems running browsers. This is especially helpful in situations where not all browsers
will run on the same platform to be used for testing.
Selenium GRID
Selenium Remote Control is a server that accepts browser commands via HTTP and is written in Java. RC
makes it easy to write automated tests in any programming language for a web application, which helps
Selenium to be further implemented with current unit test systems. The Selenium project currently offers
client drivers for PHP, Python, Ruby to make writing tests simpler. It is also possible to use the Java driver
using JavaScript. To start the html test case, an instance of selenium RC server is required, which means
that the port should be different for each parallel run. However, only one Selenium RC instance needs to
run continuously for Java and PHP test file.
Selenium(RC) Remote Control
The successor to Selenium RC is Selenium WebDriver. Selenium WebDriver accepts and transfers
commands to a server. This is achieved by a browser-specific browser driver that sends commands and
retrieves results to a browser. For most browser drivers, there is also a HtmlUnit browser driver which
simulates a search engine using the headless HtmlUnit browser to start and open a browser application
directly. Selenium WebDriver does not require a special server in order to run tests. The WebDriver, instead,
begins a browser instance directly and manages it. With WebDriver, however, Selenium Grid can be used to
run experiments on remote devices. Instead of browser-based JavaScript instructions, WebDriver uses
native operating system level features where possible to drive the browser. This bypasses concerns with
minor differences, including security limitations, between native and JavaScript commands.
Selenium Web Driver
•Easier to understand and implement:
•Selenium commands are listed in terms of multiple classes, making it easy to recognize and execute
them.
•Open Source and Portable:
•Selenium is a Web testing application that is open source and scalable.
•Lesser resources required:
•Compared to its rivals like UFT, RFT, etc., Selenium needs fewer energy.
•Reduce test execution time:
•Selenium supports the execution of parallel tests, which decreases the time needed to perform parallel
tests.
•Parallel Test Execution:
•It also encourages the execution of concurrent experiments, which decreases time and improves test
performance.
Features of Selenium Python
•Maintenance and Scalability:
•Selenium is a maintenance-heavy structure and it is difficult to scale as one grows.
•No support for REST and SOAP Platforms:
•On web resources like SOAP or REST, we can’t run automation tests using Selenium.
•Image Testing:
•Testing should not be carried out on photos. For image testing, one needs to combine Selenium with
Sikuli.
•No Reporting capability:
•Selenium does not have any inbuilt self regulation, for test reports one has to rely on plug-ins such as JUnit
and TestNG.
•No support for desktop applications:
•For desktop software, Selenium does not allow research.
•Expertise:
•Selenium wants the team’s experience and management tools.
Limitations
In order to check that it functions as intended, Selenium WebDriver is used to simplify web application testing. Most browsers, such as
Firefox, Chrome, IE, and Safari, support it.
However, by using the Selenium WebDriver, we can simplify checking only for web applications.
•Less burden and stress for testers:
•As described above, the amount of time required for evaluating repeated test scenarios on and and every new build is virtually reduced to
nothing. The tester’s stress is thus minimized.
•Open Source and Portable:
•Selenium is a Web testing application that is open source and scalable.
•Cost reduction for the Business Clients:
•The organization has to pay a salary to the testers, which is avoided by using the automation testing tool. Not only does technology save
time, but the enterprise still benefits from cost advantages.
•Reduce test execution time:
•Selenium supports the execution of parallel tests, which decreases the time needed to perform parallel tests.
•Increased test coverage:
•Testing time is shortened with the use of Selenium, meaning the tester can perform further testing on other test scenarios at the same
time.
Applications
THANK YOU
CONTACT:- 70-70-90-50-90
EMAIL:- INFO@DUCATINDIA.COM

More Related Content

PDF
Automation Testing using Selenium
PPTX
An overview of selenium webdriver
PDF
Test Automation Using Python | Edureka
PPTX
Test Automation and Selenium
PPTX
Introduction to Selenium Web Driver
PPT
QSpiders - Automation using Selenium
PPT
Automated Web Testing Using Selenium
PPT
Selenium Presentation at Engineering Colleges
Automation Testing using Selenium
An overview of selenium webdriver
Test Automation Using Python | Edureka
Test Automation and Selenium
Introduction to Selenium Web Driver
QSpiders - Automation using Selenium
Automated Web Testing Using Selenium
Selenium Presentation at Engineering Colleges

What's hot (20)

PPT
Selenium
PPT
Selenium Automation Framework
PPTX
Selenium
PPTX
Automation Testing by Selenium Web Driver
PPTX
Selenium test automation
PPT
Selenium Concepts
PDF
Selenium IDE LOCATORS
PPTX
Selenium WebDriver training
PPTX
Selenium- A Software Testing Tool
PDF
Automation Testing using Selenium Webdriver
PPTX
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
PPTX
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
PPT
Introduction to the Web API
ODP
Selenium ppt
PPTX
Selenium ppt
PPT
Ppt of soap ui
PDF
Selenium with Cucumber
PDF
Web automation using selenium.ppt
PPTX
Selenium WebDriver
PDF
SELENIUM PPT.pdf
Selenium
Selenium Automation Framework
Selenium
Automation Testing by Selenium Web Driver
Selenium test automation
Selenium Concepts
Selenium IDE LOCATORS
Selenium WebDriver training
Selenium- A Software Testing Tool
Automation Testing using Selenium Webdriver
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Introduction to the Web API
Selenium ppt
Selenium ppt
Ppt of soap ui
Selenium with Cucumber
Web automation using selenium.ppt
Selenium WebDriver
SELENIUM PPT.pdf
Ad

Similar to Python selenium (20)

PPTX
Test Automation Using Selenium
PDF
Introduction to Selenium Webdriver - SpringPeople
PDF
Selenium Automation Testing - A Complete Guide
PPTX
test-automation-selenium-160216124839.pptx
PPTX
What is Selenium Introduction to Selenium Testing.pptx
PPTX
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
PDF
Selenium Automation Testing - A Complete Guide.pdf
PDF
Selenium Automation Testing - A Complete Guide.pdf
PPTX
A Simple Guide to Selenium Software Testing
PDF
Learn Selenium - Online Guide
PDF
An Overview of Selenium Grid and Its Benefits
PPTX
Selenium
PDF
white and grey modern website application education project group school pres...
PDF
selenium
PPTX
Introduction to the Selenium_Session1.pptx
PPTX
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
PPTX
A Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptx
PDF
Testing world selenium_start_chapter1 (1)
PPTX
Test automation using selenium
PPTX
Selenium
Test Automation Using Selenium
Introduction to Selenium Webdriver - SpringPeople
Selenium Automation Testing - A Complete Guide
test-automation-selenium-160216124839.pptx
What is Selenium Introduction to Selenium Testing.pptx
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
Selenium Automation Testing - A Complete Guide.pdf
Selenium Automation Testing - A Complete Guide.pdf
A Simple Guide to Selenium Software Testing
Learn Selenium - Online Guide
An Overview of Selenium Grid and Its Benefits
Selenium
white and grey modern website application education project group school pres...
selenium
Introduction to the Selenium_Session1.pptx
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
A Definitive Guide to Mastering Selenium WebDriver Automation Effectively.pptx
Testing world selenium_start_chapter1 (1)
Test automation using selenium
Selenium
Ad

More from Ducat (20)

PPTX
Dot net training institute
PPTX
Mis certification
PDF
Devops certification
PDF
Best ethical hacking course online
PPTX
React js training course in noida
PPTX
Java for beginners
PPTX
Benfits of python
PPTX
Interactive reports development
PPTX
Abap report
PPTX
Sap abap database table
PPTX
Sap s4 hana saps next generation business suite
PPTX
Connect dashboard designer
PPTX
Major components of sap hana
PPTX
Schema in sap hana
PPTX
Sap hana attribute view
PPTX
Sap hana studio administration console
PPTX
What is ebs
PPTX
Introduction to mern
PPTX
Selenium tutorials
PPTX
Waits alerts and switch windows
Dot net training institute
Mis certification
Devops certification
Best ethical hacking course online
React js training course in noida
Java for beginners
Benfits of python
Interactive reports development
Abap report
Sap abap database table
Sap s4 hana saps next generation business suite
Connect dashboard designer
Major components of sap hana
Schema in sap hana
Sap hana attribute view
Sap hana studio administration console
What is ebs
Introduction to mern
Selenium tutorials
Waits alerts and switch windows

Recently uploaded (20)

PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Institutional Correction lecture only . . .
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Complications of Minimal Access Surgery at WLH
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPH.pptx obstetrics and gynecology in nursing
O7-L3 Supply Chain Operations - ICLT Program
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Final Presentation General Medicine 03-08-2024.pptx
Institutional Correction lecture only . . .
O5-L3 Freight Transport Ops (International) V1.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
STATICS OF THE RIGID BODIES Hibbelers.pdf
Renaissance Architecture: A Journey from Faith to Humanism
Complications of Minimal Access Surgery at WLH
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Supply Chain Operations Speaking Notes -ICLT Program
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Anesthesia in Laparoscopic Surgery in India
Abdominal Access Techniques with Prof. Dr. R K Mishra

Python selenium

  • 1. WELCOME TO DUCAT INDIA CONTACT:- 70-70-90-50-90 EMAIL:- INFO@DUCATINDIA.COM
  • 2. Selenium is a powerful tool that manages web browsers by programs and automates browsers. It runs on all popular Operating System browsers, and its scripts are written in different languages, such as Python, Java, C#, Java etc. Selenium Basics
  • 3. . Selenium IDE The main instrument in the Selenium Suite is the Selenium IDE. For Selenium testing, it is a full integrated production environment. It is introduced as a Chrome Plugin and as a Firefox Add-On. It allows for practical checks to be registered, edited and debugged. It was once named the Selenium Recorder. Shinya Kasatani originally developed Selenium-IDE and donated it to the Selenium project in 2006. Selenium IDE was little-maintained previously. In 2018, Selenium IDE started being actively managed. Selenium is a versatile program-based web browser management tool. For all browsers, it runs on all big OSs and the scripts are written in different languages, Python, C#. We’re going to deal with Python. There are four key components of selenium: Selenium IDE, Selenium RC, Selenium Web engine, Selenium GRID
  • 4. Scripts can be manually registered and modified automatically, giving support for autocompletion and the ability to pass commands around quickly. Scripts are written in Selenian, Selenium’s special test scripting language. Selenese offers commands to execute browser actions and to extract data from the resulting pages.
  • 5. Selenium Grid is a server for experiments to use instances of a web browser operating on remote computers. One node, with Selenium Grid, serves as the hub. To gain access to browser instances, the tests touch the centre. The centre maintains a list of servers providing access to instances of a browser and requires experiments to use those instances. Selenium Grid helps several computers to perform parallel experiments and to centrally control various browser versions and browser configurations. The ability to run tests on remote browser instances is helpful in distributing the test load over several computers and performing tests on various devices or operating systems running browsers. This is especially helpful in situations where not all browsers will run on the same platform to be used for testing. Selenium GRID
  • 6. Selenium Remote Control is a server that accepts browser commands via HTTP and is written in Java. RC makes it easy to write automated tests in any programming language for a web application, which helps Selenium to be further implemented with current unit test systems. The Selenium project currently offers client drivers for PHP, Python, Ruby to make writing tests simpler. It is also possible to use the Java driver using JavaScript. To start the html test case, an instance of selenium RC server is required, which means that the port should be different for each parallel run. However, only one Selenium RC instance needs to run continuously for Java and PHP test file. Selenium(RC) Remote Control
  • 7. The successor to Selenium RC is Selenium WebDriver. Selenium WebDriver accepts and transfers commands to a server. This is achieved by a browser-specific browser driver that sends commands and retrieves results to a browser. For most browser drivers, there is also a HtmlUnit browser driver which simulates a search engine using the headless HtmlUnit browser to start and open a browser application directly. Selenium WebDriver does not require a special server in order to run tests. The WebDriver, instead, begins a browser instance directly and manages it. With WebDriver, however, Selenium Grid can be used to run experiments on remote devices. Instead of browser-based JavaScript instructions, WebDriver uses native operating system level features where possible to drive the browser. This bypasses concerns with minor differences, including security limitations, between native and JavaScript commands. Selenium Web Driver
  • 8. •Easier to understand and implement: •Selenium commands are listed in terms of multiple classes, making it easy to recognize and execute them. •Open Source and Portable: •Selenium is a Web testing application that is open source and scalable. •Lesser resources required: •Compared to its rivals like UFT, RFT, etc., Selenium needs fewer energy. •Reduce test execution time: •Selenium supports the execution of parallel tests, which decreases the time needed to perform parallel tests. •Parallel Test Execution: •It also encourages the execution of concurrent experiments, which decreases time and improves test performance. Features of Selenium Python
  • 9. •Maintenance and Scalability: •Selenium is a maintenance-heavy structure and it is difficult to scale as one grows. •No support for REST and SOAP Platforms: •On web resources like SOAP or REST, we can’t run automation tests using Selenium. •Image Testing: •Testing should not be carried out on photos. For image testing, one needs to combine Selenium with Sikuli. •No Reporting capability: •Selenium does not have any inbuilt self regulation, for test reports one has to rely on plug-ins such as JUnit and TestNG. •No support for desktop applications: •For desktop software, Selenium does not allow research. •Expertise: •Selenium wants the team’s experience and management tools. Limitations
  • 10. In order to check that it functions as intended, Selenium WebDriver is used to simplify web application testing. Most browsers, such as Firefox, Chrome, IE, and Safari, support it. However, by using the Selenium WebDriver, we can simplify checking only for web applications. •Less burden and stress for testers: •As described above, the amount of time required for evaluating repeated test scenarios on and and every new build is virtually reduced to nothing. The tester’s stress is thus minimized. •Open Source and Portable: •Selenium is a Web testing application that is open source and scalable. •Cost reduction for the Business Clients: •The organization has to pay a salary to the testers, which is avoided by using the automation testing tool. Not only does technology save time, but the enterprise still benefits from cost advantages. •Reduce test execution time: •Selenium supports the execution of parallel tests, which decreases the time needed to perform parallel tests. •Increased test coverage: •Testing time is shortened with the use of Selenium, meaning the tester can perform further testing on other test scenarios at the same time. Applications