SlideShare a Scribd company logo
2
Most read
8
Most read
LENIUM
AGENDA:
❖ What is Selenium?
❖ Selenium features comparing to QTP
.
❖ Components of Selenium.
❖ Selenium IDE
❖ Selenium RC
❖ Selenium Grid
❖ Selenese
❖ Testing with Selenium
FEATURES OF SELENIUM:
➢ Selenium is a Functional Automation tool for Web applications.
➢ Selenium is an open source tool (No cost involved in it).
➢ Selenium supports the languages like HTML, Java, PHP
, Perl, Python,Ruby and
C#.
➢ It supports the browsers like IE, Mozilla Firefox, Safari, Google Chrome and
Opera.
➢ It supports the operating systems like Windows, Linux and Mac.
➢ It is very flexible when compared to QTP and other functional tools, because
it supports multiple languages.
COMPONENTS OF SELENIUM:
➢ Selenium is mainly bulit on 3 components.
1. Selenium IDE
2. Selenium RC
3. Selenium Grid
SELENIUM IDE:
➢ IDE stands for Integrated Development Environment.
➢ Which is used for Record and Play back the scripts.
➢ It is an Acid on for Mozilla Firefox, which means we can download the
Selenium IDE from Mozilla Firefox and we can Record and Run the scripts in
Mozilla Firefox only.
➢ Selenium IDE is accountable for user actions.
➢ We can Run the Recorded scripts against other browsers by using Selenium RC.
SELENIUM RC:
➢ RC stands for Remote Control.
➢ It is a Server and launches the Browser.
➢ It acts as a API and Library of Selenium.
➢ We need to configure the Selenium RC with the supported language, then we
can automate the application.
SELENIUM GRID:
➢ Selenium Grid is used for launching the multiple browsers with supported
operating system in parallel.
➢ We can run the scripts on different browsers in parallel.
➢ It allows you to easily run multiple tests in parallel, on multiple machines, in
a heterogeneous environment.
SELENESE:
➢ Selenium commands, often called selenese. The set of these commands are
nothing but test script.
➢ If you want to write test scripts for any application, initially you need to
integrate Selenium with Java by using Eclipse. (check the Integration doc).
➢ After completion of the integration, First we need to create the selenium
object as below.
DefaultSelenium selenium= new DefaultSelenium(“System address”,”Port no
of selenium”, ”Browser to launch”, “url”).
SELENESE:
Generally we use the below selenium commands to work on any application:
➢ Start(): To launch the Browser.
➢ Open():To open the url.
➢ Close():To kill or close the Browser.
➢ windowMaximize():To maximize the window.
➢ Type():To enter some text into a text box.
➢ Click():To click on Button, Radio button and Link.
➢ Select():To select a value or label from combo box or list box or Drop down.
SELENESE:
➢ Check(): To check the check box.
➢ selectPopUp(): To identify the pop up window.
➢ selectWindow(): To identify the child window.
➢ selectFrame(): To identify the frame.
➢ getAlert(): To click ok on alert box.
➢ getConfirmation(): To click ok on confirmation message.
➢ chooseCancelOnNetConfirmation(): To click Cancel on next displayed
confirmation message.
➢ chooseOkNextConfirmation(): To click Cancel on next displayed confirmation
message.
TESTING WITH SELENIUM:
➢ We can perform Regression testing with selenium by writing Reusable Scripts
in the form of Functions or Methods.
➢ We can perform Retesting with looping concepts.
➢ We can validate the application using conditional statements.
➢ We can perform Database Testing.
➢ Reporting of the test results.
➢ Error handling, particularly unexpected errors.
➢ Test case grouping.
➢ Re-execution of failed test cases.
➢ Screenshot capture of test failures.
THANK YOU

More Related Content

PPT
Selenium ppt
PPTX
Selenium institute in bangalore
PPT
Selenium ppt
PPT
Selenium Basics by Quontra Solutions
PPT
Selenium
PPTX
Selenium online training nareshit
PDF
Selenium Handbook
PPTX
Basics of selenium containing features of selenium
Selenium ppt
Selenium institute in bangalore
Selenium ppt
Selenium Basics by Quontra Solutions
Selenium
Selenium online training nareshit
Selenium Handbook
Basics of selenium containing features of selenium

Similar to SELENIUM PPT.pdf (20)

PPT
Automation using Selenium Your score increases as you pick a category, fill o...
PPTX
Selenium
DOCX
Selenium introduction and some feautures
PPT
Test_Automation using Selenium.ppt
PPTX
Selenium overview ppt by quontra solutions
PPTX
Demystifying Selenium framework
PPTX
PPTX
Selenium
PPTX
Selenium
PPTX
Selenium
PPTX
Selenium
PPT
Selenium (1) (1)
ODP
Introduction to Selenium
PPT
Selenium
PPT
Karate _Framework.ppt
PPTX
Selenium Introduction and IDE
PPTX
A Simple Guide to Selenium Software Testing
PPTX
Selenium using Java
 
PPT
Selenium
PPTX
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
Automation using Selenium Your score increases as you pick a category, fill o...
Selenium
Selenium introduction and some feautures
Test_Automation using Selenium.ppt
Selenium overview ppt by quontra solutions
Demystifying Selenium framework
Selenium
Selenium
Selenium
Selenium
Selenium (1) (1)
Introduction to Selenium
Selenium
Karate _Framework.ppt
Selenium Introduction and IDE
A Simple Guide to Selenium Software Testing
Selenium using Java
 
Selenium
Selenium.pptxgsjdxhasdjhckcjjkdcbdcbvdciosdc
Ad

Recently uploaded (20)

PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
DOCX
573137875-Attendance-Management-System-original
PPTX
Welding lecture in detail for understanding
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
Construction Project Organization Group 2.pptx
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Digital Logic Computer Design lecture notes
PPTX
OOP with Java - Java Introduction (Basics)
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Lecture Notes Electrical Wiring System Components
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
573137875-Attendance-Management-System-original
Welding lecture in detail for understanding
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
CH1 Production IntroductoryConcepts.pptx
Internet of Things (IOT) - A guide to understanding
Model Code of Practice - Construction Work - 21102022 .pdf
R24 SURVEYING LAB MANUAL for civil enggi
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Construction Project Organization Group 2.pptx
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Digital Logic Computer Design lecture notes
OOP with Java - Java Introduction (Basics)
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Lecture Notes Electrical Wiring System Components
Ad

SELENIUM PPT.pdf

  • 2. AGENDA: ❖ What is Selenium? ❖ Selenium features comparing to QTP . ❖ Components of Selenium. ❖ Selenium IDE ❖ Selenium RC ❖ Selenium Grid ❖ Selenese ❖ Testing with Selenium
  • 3. FEATURES OF SELENIUM: ➢ Selenium is a Functional Automation tool for Web applications. ➢ Selenium is an open source tool (No cost involved in it). ➢ Selenium supports the languages like HTML, Java, PHP , Perl, Python,Ruby and C#. ➢ It supports the browsers like IE, Mozilla Firefox, Safari, Google Chrome and Opera. ➢ It supports the operating systems like Windows, Linux and Mac. ➢ It is very flexible when compared to QTP and other functional tools, because it supports multiple languages.
  • 4. COMPONENTS OF SELENIUM: ➢ Selenium is mainly bulit on 3 components. 1. Selenium IDE 2. Selenium RC 3. Selenium Grid
  • 5. SELENIUM IDE: ➢ IDE stands for Integrated Development Environment. ➢ Which is used for Record and Play back the scripts. ➢ It is an Acid on for Mozilla Firefox, which means we can download the Selenium IDE from Mozilla Firefox and we can Record and Run the scripts in Mozilla Firefox only. ➢ Selenium IDE is accountable for user actions. ➢ We can Run the Recorded scripts against other browsers by using Selenium RC.
  • 6. SELENIUM RC: ➢ RC stands for Remote Control. ➢ It is a Server and launches the Browser. ➢ It acts as a API and Library of Selenium. ➢ We need to configure the Selenium RC with the supported language, then we can automate the application.
  • 7. SELENIUM GRID: ➢ Selenium Grid is used for launching the multiple browsers with supported operating system in parallel. ➢ We can run the scripts on different browsers in parallel. ➢ It allows you to easily run multiple tests in parallel, on multiple machines, in a heterogeneous environment.
  • 8. SELENESE: ➢ Selenium commands, often called selenese. The set of these commands are nothing but test script. ➢ If you want to write test scripts for any application, initially you need to integrate Selenium with Java by using Eclipse. (check the Integration doc). ➢ After completion of the integration, First we need to create the selenium object as below. DefaultSelenium selenium= new DefaultSelenium(“System address”,”Port no of selenium”, ”Browser to launch”, “url”).
  • 9. SELENESE: Generally we use the below selenium commands to work on any application: ➢ Start(): To launch the Browser. ➢ Open():To open the url. ➢ Close():To kill or close the Browser. ➢ windowMaximize():To maximize the window. ➢ Type():To enter some text into a text box. ➢ Click():To click on Button, Radio button and Link. ➢ Select():To select a value or label from combo box or list box or Drop down.
  • 10. SELENESE: ➢ Check(): To check the check box. ➢ selectPopUp(): To identify the pop up window. ➢ selectWindow(): To identify the child window. ➢ selectFrame(): To identify the frame. ➢ getAlert(): To click ok on alert box. ➢ getConfirmation(): To click ok on confirmation message. ➢ chooseCancelOnNetConfirmation(): To click Cancel on next displayed confirmation message. ➢ chooseOkNextConfirmation(): To click Cancel on next displayed confirmation message.
  • 11. TESTING WITH SELENIUM: ➢ We can perform Regression testing with selenium by writing Reusable Scripts in the form of Functions or Methods. ➢ We can perform Retesting with looping concepts. ➢ We can validate the application using conditional statements. ➢ We can perform Database Testing. ➢ Reporting of the test results. ➢ Error handling, particularly unexpected errors. ➢ Test case grouping. ➢ Re-execution of failed test cases. ➢ Screenshot capture of test failures.