際際滷

際際滷Share a Scribd company logo
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.
Selenium IDE
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)

More Related Content

What's hot (20)

Selenium
SeleniumSelenium
Selenium
guest5800577
Selenium ide made easy
Selenium ide made easySelenium ide made easy
Selenium ide made easy
Narayanan Palani
Selenium
SeleniumSelenium
Selenium
Adam Goucher
Setting UIAutomation free with Appium
Setting UIAutomation free with AppiumSetting UIAutomation free with Appium
Setting UIAutomation free with Appium
Dan Cuellar
Selenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and WorkingSelenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and Working
Disha Srivastava
QSpiders - Automation using Selenium
QSpiders - Automation using SeleniumQSpiders - Automation using Selenium
QSpiders - Automation using Selenium
Qspiders - Software Testing Training Institute
Automated UI testing done right (DDDSydney)
Automated UI testing done right (DDDSydney)Automated UI testing done right (DDDSydney)
Automated UI testing done right (DDDSydney)
Mehdi Khalili
Automated ui testing with selenium. drupal con london 2011
Automated ui testing with selenium. drupal con london 2011Automated ui testing with selenium. drupal con london 2011
Automated ui testing with selenium. drupal con london 2011
Yuriy Gerasimov
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
Tzirla Rozental
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
Karapet Sarkisyan
Frontend testing of (legacy) websites
Frontend testing of (legacy) websitesFrontend testing of (legacy) websites
Frontend testing of (legacy) websites
Michael Kubovic
Selenium introduction and some feautures
Selenium introduction and some feauturesSelenium introduction and some feautures
Selenium introduction and some feautures
zahid32
QSpiders - Selenium Webdriver
QSpiders - Selenium WebdriverQSpiders - Selenium Webdriver
QSpiders - Selenium Webdriver
Qspiders - Software Testing Training Institute
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
gueste1e4db
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Naga Dinesh
Selenium Demo
Selenium DemoSelenium Demo
Selenium Demo
ankitslide
Web Test Automation with Selenium
Web Test Automation with SeleniumWeb Test Automation with Selenium
Web Test Automation with Selenium
vivek_prahlad
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
Archana Krushnan
Selenium
SeleniumSelenium
Selenium
Kalyan ch
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Pavan Kumar
Setting UIAutomation free with Appium
Setting UIAutomation free with AppiumSetting UIAutomation free with Appium
Setting UIAutomation free with Appium
Dan Cuellar
Selenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and WorkingSelenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and Working
Disha Srivastava
Automated UI testing done right (DDDSydney)
Automated UI testing done right (DDDSydney)Automated UI testing done right (DDDSydney)
Automated UI testing done right (DDDSydney)
Mehdi Khalili
Automated ui testing with selenium. drupal con london 2011
Automated ui testing with selenium. drupal con london 2011Automated ui testing with selenium. drupal con london 2011
Automated ui testing with selenium. drupal con london 2011
Yuriy Gerasimov
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
Tzirla Rozental
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
Karapet Sarkisyan
Frontend testing of (legacy) websites
Frontend testing of (legacy) websitesFrontend testing of (legacy) websites
Frontend testing of (legacy) websites
Michael Kubovic
Selenium introduction and some feautures
Selenium introduction and some feauturesSelenium introduction and some feautures
Selenium introduction and some feautures
zahid32
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
gueste1e4db
Selenium Demo
Selenium DemoSelenium Demo
Selenium Demo
ankitslide
Web Test Automation with Selenium
Web Test Automation with SeleniumWeb Test Automation with Selenium
Web Test Automation with Selenium
vivek_prahlad
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
Archana Krushnan

Similar to Selenium IDE (20)

Selenium testing IDE 101
Selenium testing IDE 101Selenium testing IDE 101
Selenium testing IDE 101
Adam Culp
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
Aneesh Rangarajan
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorial
prad_123
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With Selenium
Jodie Miners
Selenium Open Source Tool
Selenium Open Source ToolSelenium Open Source Tool
Selenium Open Source Tool
onlinemindq
Selenium.ppt
Selenium.pptSelenium.ppt
Selenium.ppt
onlinemindq
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVA
mahirayavarapu
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
What is selenium
What is seleniumWhat is selenium
What is selenium
Pesara Swamy
Selenium training
Selenium trainingSelenium training
Selenium training
Robin0590
Selenium tutorial
Selenium tutorialSelenium tutorial
Selenium tutorial
mindqqa
Selenium By Pravin Mishra
Selenium By Pravin MishraSelenium By Pravin Mishra
Selenium By Pravin Mishra
Pravin 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
SeleniumSelenium
Selenium
jagdishdevabhaipatel
Selenium: What Is It Good For
Selenium: What Is It Good ForSelenium: What Is It Good For
Selenium: What Is It Good For
Allan Chappell
Selenium
SeleniumSelenium
Selenium
shrialinda
Improving Software Quality- 2-day Tester Training
Improving Software Quality- 2-day Tester TrainingImproving Software Quality- 2-day Tester Training
Improving Software Quality- 2-day Tester Training
Anna Russo
Selenium tutorial
Selenium tutorialSelenium tutorial
Selenium tutorial
Mayank Pande
Selenium
SeleniumSelenium
Selenium
nil65
Selenium testing IDE 101
Selenium testing IDE 101Selenium testing IDE 101
Selenium testing IDE 101
Adam Culp
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorial
prad_123
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With Selenium
Jodie Miners
Selenium Open Source Tool
Selenium Open Source ToolSelenium Open Source Tool
Selenium Open Source Tool
onlinemindq
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVA
mahirayavarapu
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
What is selenium
What is seleniumWhat is selenium
What is selenium
Pesara Swamy
Selenium training
Selenium trainingSelenium training
Selenium training
Robin0590
Selenium tutorial
Selenium tutorialSelenium tutorial
Selenium tutorial
mindqqa
Selenium By Pravin Mishra
Selenium By Pravin MishraSelenium By Pravin Mishra
Selenium By Pravin Mishra
Pravin 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 For
Allan Chappell
Improving Software Quality- 2-day Tester Training
Improving Software Quality- 2-day Tester TrainingImproving Software Quality- 2-day Tester Training
Improving Software Quality- 2-day Tester Training
Anna Russo
Selenium tutorial
Selenium tutorialSelenium tutorial
Selenium tutorial
Mayank Pande
Selenium
SeleniumSelenium
Selenium
nil65

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.
  • 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)