Professional Documents
Culture Documents
Agenda
Introduction to Selenium Different Components of Selenium Choosing the right Selenium tool Selenium IDE Installation Record and Play back using Selenium IDE tool Selenium RC Installation TestNG framework setup Running Test suites in TestNG framework Report generation using TestNG
Introduction to Selenium
Selenium is an open source tool It is used for testing Web based applications It can run in most of the Browsers and Operating systems Highly flexible and user friendly tool Test scripts can be written in many programming languages (C,C++, Java, Python,.Net, etc.,)
Selenium IDE
A simple Firefox plugin to record and playback tests
It doesnt require programming knowledge
Selenium Grid
Selenium Grid is used to run tests in parallel The tests that are run in parallel can be executed in
creating advanced, simple record and playback of test scripts, modularized test where the code doesnt scripts(eg., for Data need huge driven test, for customizations including loops, for It does support customized test runs) customization of code like add/edit/remove but not Needs knowledge on programming loops languages like Java, This can be used even .Net, C, C++, etc. without any knowledge of programming languages
Menu Bar
Can Create/Open Test cases and Test suites Test Cases could be exported to any language of our
Tool Bar
Play Test cases/ Test suite Control the speed of playing Test cases Pause and Replay the current running test case
Log/Reference/UI-Element/RollUp
The error messages and the information messages
Vertifytextpresent
Selenium RC Components
Selenium RC (Remote Control) is a combination of Selenium Server along with Client Libraries The Client Libraries could be any one of the following
Java .Net
Python
Ruby
Selenium RC Architecture
Selenium Server
Download Selenium server file
(selenium-server-standalone-<version-
number>.jar)
the same in a location Both the files could be downloaded from the following location http://seleniumhq.org/download/ Configure the Library files into the Java IDE(Eclipse, NetBeans,etc.,)
Selenium RC with Java client libraries are used in majority with following two Frameworks.
JUnit Framework TestNG Framework
? Questions