SlideShare a Scribd company logo
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

Similar to SELENIUM PPT.pdf

Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorial
prad_123
 
BCS Selenium Workshop
BCS Selenium WorkshopBCS Selenium Workshop
BCS Selenium Workshop
Colin McDonald
 
Selenium
SeleniumSelenium
Selenium
SeleniumSelenium
Selenium
Kalyan ch
 
Selenium Introduction and IDE
Selenium Introduction and IDESelenium Introduction and IDE
Selenium Introduction and IDE
Murageppa-QA
 
Automation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverAutomation Testing using Selenium Webdriver
Automation Testing using Selenium Webdriver
Pankaj Biswas
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introduction
Pankaj Dubey
 
Selenium
SeleniumSelenium
Selenium
tanvir afzal
 
Tanvir Afzal: Selenium
Tanvir Afzal: SeleniumTanvir Afzal: Selenium
Tanvir Afzal: Selenium
SQABD
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - Introduction
Sachin-QA
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - Introduction
ANKUR-BA
 
Sel
SelSel
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Aravindharamanan S
 
Software testing tools (free and open source)
Software testing tools (free and open source)Software testing tools (free and open source)
Software testing tools (free and open source)
Wael Mansour
 
Learn SELENIUM at ASIT
Learn SELENIUM at ASITLearn SELENIUM at ASIT
Learn SELENIUM at ASIT
ASIT
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
gueste1e4db
 
Selenium Testing
Selenium Testing Selenium Testing
Selenium Testing
Shreshtt Bhatt
 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
Archana Krushnan
 
Basics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote ControlBasics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote Control
usha kannappan
 
Selenium IDE
Selenium IDESelenium IDE
Selenium IDE
b4usolution .
 

Similar to SELENIUM PPT.pdf (20)

Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorial
 
BCS Selenium Workshop
BCS Selenium WorkshopBCS Selenium Workshop
BCS Selenium Workshop
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Selenium Introduction and IDE
Selenium Introduction and IDESelenium Introduction and IDE
Selenium Introduction and IDE
 
Automation Testing using Selenium Webdriver
Automation Testing using Selenium WebdriverAutomation Testing using Selenium Webdriver
Automation Testing using Selenium Webdriver
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introduction
 
Selenium
SeleniumSelenium
Selenium
 
Tanvir Afzal: Selenium
Tanvir Afzal: SeleniumTanvir Afzal: Selenium
Tanvir Afzal: Selenium
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - Introduction
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - Introduction
 
Sel
SelSel
Sel
 
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
 
Software testing tools (free and open source)
Software testing tools (free and open source)Software testing tools (free and open source)
Software testing tools (free and open source)
 
Learn SELENIUM at ASIT
Learn SELENIUM at ASITLearn SELENIUM at ASIT
Learn SELENIUM at ASIT
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
Selenium Testing
Selenium Testing Selenium Testing
Selenium Testing
 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
 
Basics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote ControlBasics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote Control
 
Selenium IDE
Selenium IDESelenium IDE
Selenium IDE
 

Recently uploaded

Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
enizeyimana36
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
HODECEDSIET
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 

Recently uploaded (20)

Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 

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.