SlideShare une entreprise Scribd logo
1  sur  14
Télécharger pour lire hors ligne
Selenium IDE
 Performs automated testing
Selenium, itself
Selenium is a suite of tools used to automate
browsers for testing and other tasks.

Selenium runs in many browsers and
operating systems, and can be controlled by
many programming languages and testing
frameworks.
http://seleniumhq.org/about/platforms.jsp
The part I'm going to focus on is Selenium IDE which is a
Firefox add-on that performs simple record-and-playback of
interactions with the browser.
This complete IDE allows you to record, edit, and
debug tests. You can then run the perfected tests
repeatedly, or a series of tests.
More Features:
●   Easy record and playback
●   Intelligent field selection will use IDs,
    names, or XPath as needed
●   Autocomplete for all common Selenium
    commands
●   Walk through tests
●   Debug and set breakpoints
●   Save tests as HTML, Ruby scripts, or
    any other format
●   Support for Selenium user-extensions.js
    file
●   Option to automatically assert the title
    of every page
●   Easy customization through plugins
A good time to use it would be...
As an example to
start, I am going to
create a simple test
of logging in.

Step 1: Click record
button
Step 2: Perform actions normally

                         Navigate to site



                             Login


                                            Success!
You can also edit
the command,
target, and value
fields if they
weren't captured
correctly, but
most of the time
we won't have to
use too many
manual
commands.
An easy way to
confirm you're
at the place you
expect is to add
a verify
TextPresent
command.
You can create
multiple tests, such as
login, add single
award, and then sign
out-- all automated!

This is known as a test
suite.
Make sure the tests are in
order, then click run all tests.




                 If all goes smoothly,
               everything will appear green!
  The idea is to build large test suites to make sure
  everything still works. We will save test suites in project
  repository.
Install the add-on:
http://seleniumhq.org/download/


Links to tutorials I used:
http://www.codediesel.com/php/selenium-
ide-tutorial-part-1/

http://www.codediesel.com/php/selenium-
ide-tutorial-part-2/
There is lots more to it
(that I don't understand)...


And you might have questions
(that I don't have answers to)...


But we will figure out as we go what it is most
useful for
(or you can experiment further on your own)

Contenu connexe

Tendances

Python selenium
Python seleniumPython selenium
Python seleniumDucat
 
Selenoid: browsers in containers
Selenoid: browsers in containersSelenoid: browsers in containers
Selenoid: browsers in containersIvan Krutov
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introductionPankaj Dubey
 
Selenium Maven With Eclipse | Edureka
Selenium Maven With Eclipse | EdurekaSelenium Maven With Eclipse | Edureka
Selenium Maven With Eclipse | EdurekaEdureka!
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using SeleniumWeifeng Zhang
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesVijay Rangaiah
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriverAnuraj S.L
 
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...Edureka!
 
Vulnerabilities in modern web applications
Vulnerabilities in modern web applicationsVulnerabilities in modern web applications
Vulnerabilities in modern web applicationsNiyas Nazar
 
Web application security
Web application securityWeb application security
Web application securityKapil Sharma
 
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Simplilearn
 
Secure code practices
Secure code practicesSecure code practices
Secure code practicesHina Rawal
 
Web automation using selenium.ppt
Web automation using selenium.pptWeb automation using selenium.ppt
Web automation using selenium.pptAna Sarbescu
 

Tendances (20)

Python selenium
Python seleniumPython selenium
Python selenium
 
Selenoid: browsers in containers
Selenoid: browsers in containersSelenoid: browsers in containers
Selenoid: browsers in containers
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introduction
 
Selenium Maven With Eclipse | Edureka
Selenium Maven With Eclipse | EdurekaSelenium Maven With Eclipse | Edureka
Selenium Maven With Eclipse | Edureka
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using Selenium
 
Introduction to Selenium Web Driver
Introduction to Selenium Web DriverIntroduction to Selenium Web Driver
Introduction to Selenium Web Driver
 
Selenium
SeleniumSelenium
Selenium
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriver
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
 
Vulnerabilities in modern web applications
Vulnerabilities in modern web applicationsVulnerabilities in modern web applications
Vulnerabilities in modern web applications
 
Selenium WebDriver FAQ's
Selenium WebDriver FAQ'sSelenium WebDriver FAQ's
Selenium WebDriver FAQ's
 
Web application security
Web application securityWeb application security
Web application security
 
Json Web Token - JWT
Json Web Token - JWTJson Web Token - JWT
Json Web Token - JWT
 
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
 
Secure code practices
Secure code practicesSecure code practices
Secure code practices
 
Selenium (1)
Selenium (1)Selenium (1)
Selenium (1)
 
Web automation using selenium.ppt
Web automation using selenium.pptWeb automation using selenium.ppt
Web automation using selenium.ppt
 

Similaire à Selenium IDE

Selenium testing IDE 101
Selenium testing IDE 101Selenium testing IDE 101
Selenium testing IDE 101Adam Culp
 
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorialprad_123
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With SeleniumJodie Miners
 
Selenium Open Source Tool
Selenium Open Source ToolSelenium Open Source Tool
Selenium Open Source Toolonlinemindq
 
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVAmahirayavarapu
 
Selenium introduction and some feautures
Selenium introduction and some feauturesSelenium introduction and some feautures
Selenium introduction and some feautureszahid32
 
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01Aravindharamanan 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
 
Selenium Ide Tutorial
Selenium Ide TutorialSelenium Ide Tutorial
Selenium Ide Tutorialmetapix
 
Selenium training
Selenium trainingSelenium training
Selenium trainingRobin0590
 
Selenium tutorial
Selenium tutorialSelenium tutorial
Selenium tutorialmindqqa
 
Selenium By Pravin Mishra
Selenium By Pravin MishraSelenium By Pravin Mishra
Selenium By Pravin MishraPravin Mishra
 
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!Puneet Kala
 
Selenium: What Is It Good For
Selenium: What Is It Good ForSelenium: What Is It Good For
Selenium: What Is It Good ForAllan Chappell
 

Similaire à Selenium IDE (20)

Selenium testing IDE 101
Selenium testing IDE 101Selenium testing IDE 101
Selenium testing IDE 101
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorial
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With Selenium
 
Selenium.ppt
Selenium.pptSelenium.ppt
Selenium.ppt
 
Selenium Open Source Tool
Selenium Open Source ToolSelenium Open Source Tool
Selenium Open Source Tool
 
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVA
 
Selenium introduction and some feautures
Selenium introduction and some feauturesSelenium introduction and some feautures
Selenium introduction and some feautures
 
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)
 
Selenium Ide Tutorial
Selenium Ide TutorialSelenium Ide Tutorial
Selenium Ide Tutorial
 
What is selenium
What is seleniumWhat is selenium
What is selenium
 
Selenium training
Selenium trainingSelenium training
Selenium training
 
Selenium tutorial
Selenium tutorialSelenium tutorial
Selenium tutorial
 
Selenium By Pravin Mishra
Selenium By Pravin MishraSelenium By Pravin Mishra
Selenium By Pravin Mishra
 
Selenium ide made easy
Selenium ide made easySelenium ide made easy
Selenium ide made easy
 
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!
 
Selenium
SeleniumSelenium
Selenium
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
Selenium: What Is It Good For
Selenium: What Is It Good ForSelenium: What Is It Good For
Selenium: What Is It Good For
 

Selenium IDE

  • 1. Selenium IDE Performs automated testing
  • 2. Selenium, itself Selenium is a suite of tools used to automate browsers for testing and other tasks. Selenium runs in many browsers and operating systems, and can be controlled by many programming languages and testing frameworks. http://seleniumhq.org/about/platforms.jsp
  • 3. The part I'm going to focus on is Selenium IDE which is a Firefox add-on that performs simple record-and-playback of interactions with the browser.
  • 4. This complete IDE allows you to record, edit, and debug tests. You can then run the perfected tests repeatedly, or a series of tests. More Features: ● Easy record and playback ● Intelligent field selection will use IDs, names, or XPath as needed ● Autocomplete for all common Selenium commands ● Walk through tests ● Debug and set breakpoints ● Save tests as HTML, Ruby scripts, or any other format ● Support for Selenium user-extensions.js file ● Option to automatically assert the title of every page ● Easy customization through plugins
  • 5. A good time to use it would be...
  • 6. As an example to start, I am going to create a simple test of logging in. Step 1: Click record button
  • 7. Step 2: Perform actions normally Navigate to site Login Success!
  • 8. You can also edit the command, target, and value fields if they weren't captured correctly, but most of the time we won't have to use too many manual commands.
  • 9. An easy way to confirm you're at the place you expect is to add a verify TextPresent command.
  • 10.
  • 11. You can create multiple tests, such as login, add single award, and then sign out-- all automated! This is known as a test suite.
  • 12. Make sure the tests are in order, then click run all tests. If all goes smoothly, everything will appear green! The idea is to build large test suites to make sure everything still works. We will save test suites in project repository.
  • 13. Install the add-on: http://seleniumhq.org/download/ Links to tutorials I used: http://www.codediesel.com/php/selenium- ide-tutorial-part-1/ http://www.codediesel.com/php/selenium- ide-tutorial-part-2/
  • 14. There is lots more to it (that I don't understand)... And you might have questions (that I don't have answers to)... But we will figure out as we go what it is most useful for (or you can experiment further on your own)