Pre requisites/ Assumptions •Manual Testing Skills
•Software Development Life Cycle
•Basic Programming
Selenium Introduction & History
Selenium: What & Why •Selenium automates browser.
•Open Source Tool primarily used for automating Web
Applications
•Supports Multiple Languages (Java, C++, Ruby, Python)
•Supports multiple browsers
•Supports various testing frameworks like Junit, TestNG, etc.
Selenium Test Suite 1.Selenium IDE
2.Selenium RC
3.Selenium WebDriver
4.Selenium Grid
Selenium IDE An integrated Development environment for Selenium scripts. A
Firefox extension that allows you to record, edit and debug tests
Features •Easy Record and Playback Tool
•Create quick bug reproduction scripts
•Create scripts to aid in automation
•Easy debugging
Installation SELENIUM & FIREBUG
DEMO - I Record and Playback for a Login Page
Firebug & FirePath:
Used to inspect an Element Inspect me
Features •Record and Playback
•Test Scheduling
•Add commands Manually: Autocomplete for all common Selenium
commands
•Tests can be exported to different Languages like Ruby, Python,
Perl.
•Option to automatically assert the title of the page
•Intelligent field selection will use ID’s, Name’s, XPath’s as needed
HANDS ON Insert Commands Manually
Schedule a Test Case
Export a Test Case
Must Know •Selenium IDE is just intended as a rapid Prototyping
Tool
•Doesn’t provide iteration or conditional statements.
•Not designed to run test passes or build entire
automated test suite
•Limited to Firefox; plugin not available for other
browsers