You are on page 1of 21

Selenium IDE Contents

Installing Selenium IDE


Recording Script
Running, Pausing and debugging Script
Running a script line by line
Inserting commands in between script
XPATHS and installing firebug to get XPATHS
Wait Commands
Verification and Assertions
Should I use verify or assertion
Echo, StoreEval and StoredVars Demystified
Creating your own user extensions.
Making a function in user extension to generate random email address.
Extracting all values of dropdown.
Handling JavaScript Alerts
Capturing screenshots from Selenium IDE
Topic Covered Date Status
Covered
Covered
Covered
Covered
Covered
Covered
Covered
Covered
Covered
Covered
Covered
Covered
Covered
Covered
Java Course Content Topic Covered Date
Selenium Overview Covered
Installing Java Covered
Installing Eclipse Covered
Features of Java Covered
Why Java for Selenium Covered
First Eclipse Project Covered
First Java program Covered
Concept of class file Covered
Platform independence Covered
Data types in Java Covered
String class Covered
If statements Covered
Loops, Arrays and Functions
Conditional and concatenation operators Covered
While Loop Covered
For Loops Covered
Practical Examples with loops Covered
Usage of loops in Selenium Covered
Single Dimensional Arrays Covered
Two Dimensional arrays Covered
Practical usage of arrays in Selenium Covered
Drawbacks of arrays
What are Functions? Covered
Function Input Parameters
Function Return Types Covered
Object Oriented Programming- 1
Local Variables Covered
Global Variables Covered
Static and Non-Static Variables
Static and Non-Static Functions
Creating Objects in Java
Meaning of static
Why is main method static?
Object and Object References
Call by reference and Value
Constructors
Usage of Objects in Selenium
Object Oriented Programming -2
Concept of Inheritance
Interface
Overloading and Overriding Functions
Example on inheritance
Object Class
Usage of Inheritance in Selenium
Packages, Access Modifiers/ Exception Handling
Relevance of Packages
Creating Packages
Accessing Classes Across Packages
Good Features of eclipse
Accessing modifiers - Public, Private, Default, Protected
Exception hiding with try catch block
Importance of exception handling
Exception and Error
Throwable Class
Final and Finally
Throw and Throws
Different Types of Exceptions
Need of exception handling in Selenium framework Covered
String, File Handling, Log4j, /Handling XLS files
String class and functions Covered
Reading/Writing Text Files
Reading Properties File in Java Covered
Concept of jar file Covered
POI API in java Covered
Reading/Writing Microsoft XLS Files Covered
Log4j API for Logging
Usage of Log4J in Selenium
For the advance level JAVA I clearly mentioned that we will
Only teach you JAVA that will be only helpful as per the
Selenium purpose as Ideally JAVA is prerequistie to learn
selenium though I have shared this URL to you.(For
Advance Level JAVA like OOPS) http://www.tutorialspoint.com/java/
Status
Refer PPT Test automation Using Selenium
We have used array in Frameworks with Looping
of I and J
We have used return type double to store the
data in double instead of string in orbitz example
http://hmsinghselenium.blogspot.in/2013/02/inheritance-java.html
Packages, Access Modifiers/ Exception Handling
Throws statement used in every code for exception
String, File Handling, Log4j, /Handling XLS files
Used this to store Price in program by orbitz
example
http://hmsinghselenium.blogspot.in/2013/02/java-
string-fundamentals.html
http://hmsinghselenium.blogspot.in/2013/02/java-reading-and-writing-in-file.html
Excelread.java code
We have only used POI API to read the data as per
part of our course.
Log4j is for advance USERs who are frequent
coders in selenium
http://www.tutorialspoint.com/log4j/log4j_quick_
http://www.tutorialspoint.com/log4j/log4j_quick_guide.htm
http://www.tutorialspoint.com/java/
Java Cource Content
What is Selenium RC?
Difference between Selenium IDE and Selenium RC
Difference between Webdriver(2.x) and Selenium RC(1.x)
Configuring Selenium RC in Eclipse
Javadocs for Selenium RC
Selenium Interface
Starting and Stopping Selenium Server
Running Sample Selenium code using SeleneseTestCase class
Running Sample Selenium code using DefaultSelenium class
Browsers supported by RC
FireBug and Firepath
XPATHS and their usage with Selenium RC
Full and partial Xpaths
Selenium RC Features
Handling HTML components like Links, Buttons, Input box, Radio buttons,
Checkbox
Handling a dropdown list
Reading title of page using Selenium RC
Closing brosers and killing sessions
Slowing down the script execution speed
Capturing Screenshots with Selenium RC
Extracting Data from Webtable cells
Checking if an element/object is present on the page or not
Checking if text is present in the application
Handling javascript alert message boxes
Full and partial Xpaths
Handling Buttons,Edit boxes, Radio buttons, Checkboxes
Topic Covered Date Status
Covered
Covered
Covered
Covered
Covered
Covered
Covered
Covered
The main class in code is the same thing refer Demo.java code find
flight in orbitz by selenium RC code where you can find Junit
annotations as well
Covered
The main class in code is the same thing refer Demo.java code and
compare first method with
http://massapi.com/class/de/DefaultSelenium.html
Covered
Covered
Covered
Covered Absolute VS Reateive Xpath
Covered
Covered
Covered
Covered
http://hmsinghselenium.blogspot.in/2013/02/pausing-execution-threadsleeptime.html
Covered
We can use any locators to extract data from any area if you are good at
xpath and css selector methods as taught to you
Covered
Covered
I have taught to you the same for IDE you can convert and modify and
do some practices by your own if you want to go with it.
Covered Relative VS Absolute path - Refer PPT Selenium webdriver locators
Covered Check Demo.java written in Selenium RC script for this
http://hmsinghselenium.blogspot.in/2013/02/pausing-execution-threadsleeptime.html
Selenium WebDriver Contents
Why WebDriver?
Selenium RC and Webdriver
Downloading and configuring webdriver in eclipse
WebDriver Interface
Drivers for Firefox, IE, chrome, Iphone, Android etc
First Selenium WebDriver Code
Opening multiple browsers at one time
Close and Quit methods in Webdriver
What is Firefox profile
Creating own Firefox profile
Selenium WebDriver 2
Installing Firebug and FirePath Add-ons in Firefox
Using Firebug and Firepath
HTML language tags
Handling Links with WebDriver
Extracting Xpaths and relevance of Xpaths
Identifying WebElements using id, name, linkname, class, xpath, tagname etc
Handling Input Box/Buttons
Handling WebList
Handling Radio Buttons, CheckBoxes
Selenium Webdriver 3
Dynamic objects
Extracting links and other webelements
Capturing screenshots with WebDriver
Window handles
Tabbed browsing with Selenium
Example of Tabbed browsing
Pop up handling in Selenium
Example of Pop up handling
Managing variable xpaths
Certificate error handling using WebDriver
Selenium WebDriver 4
Pausing execution for sometime
Introducing wait for sometime
Handling JavaScript alert messages with Selenium
Simulating the Keyboard Keypress event
Simulating Pressing Enter Button of Keyboard
Selenium 2.0 Features 3
Extracting Data From WebTable
Attaching files with Selenium
Mouse movement with Selenium- Mouse Interface
Working with Caleder using Selenium
Handling AjaxAutosuggests
Working with ChromeDriver
Configuring chromderiver.exe
Uploading files in Chrome
Tabbed browsing and Popup handling in Chrome
Certificate handling in Chrome
Moving mouse in Chrome
Selenium 2.0 Features 5
Simulaing front and back button click on Browser using selenium
Assigning Firefox profile parameters
Downloading files using selenium
Selenium Javadocs
Moving a mouse on a Object and right clicking on it
Finding Coordinates of a Web Object
Actions class in Webdriver
Topic Covered Date Status
Covered
Covered
Covered
Covered
Covered
Covered
I have given example in Selenium IDE you can
convert the existing script and make it run in
Covered
Covered
Covered
Covered
Covered
Covered
Covered
Covered use locators simly to do identification of amy of the element
Covered use locators simly to do identification of amy of the element
Covered use locators simly to do identification of amy of the element
Covered use locators simly to do identification of amy of the element
Covered use locators simly to do identification of amy of the element
Covered Runtime Elements ID Change Dynamically
http://hmsinghselenium.blogspot.in/2013/02/takinng-screenshot-webdriver.html
I have given example in Selenium IDE you can
convert the existing script and make it run in
selenium webdriver (Multiple Window example)
I have given example in Selenium IDE you can
convert the existing script and make it run in
selenium webdriver
I have given example in Selenium IDE you can
convert the existing script and make it run in
selenium webdriver
Covered
Covered
I have given example in Selenium IDE you can
convert the existing script and make it run in
selenium webdriver http://hmsinghselenium.blogspot.in/2013/02/handling-alert-in-java-selenium.html
Covered
http://hmsinghselenium.blogspot.in/2013/02/simulating-keyboard-keypress-event.html
http://hmsinghselenium.blogspot.in/2013/02/handling-dynamic-webtable.html
http://hmsinghselenium.blogspot.in/2013/02/calender-selecting-dates.html
Covered
http://hmsinghselenium.blogspot.in/2013/02/handling-tabbed-window-and-pop-ups.html
http://hmsinghselenium.blogspot.in/2013/02/handling-alert-in-java-selenium.html
http://hmsinghselenium.blogspot.in/2013/02/simulating-keyboard-keypress-event.html
http://hmsinghselenium.blogspot.in/2013/02/handling-tabbed-window-and-pop-ups.html
Framework Contents Topic Covered Date
Overview of Data driven framework Covered
Building the Test Base Class Covered
Using Annotations of TestNG
Reading XPATHS, Configuration from properties file Covered
Initialize the Webdriver Covered
Building the Test Base Class Covered
Implementing WebDriver Implicit Wait Covered
Implementing tests and batch running them Covered
Repeating a test with different Data Covered
Building utility functions Covered
Parameterizing tests using XL Files Covered
Controlling Execution order from XL Files Covered
Assertions and Reporting Errors / ErrorCollector Covered
Storing Screenshots of errors
Running the framework through ANT
Generating the HTML reports
Emailing test reports
Creating a BAT file for project execution
Junit and Hybrid (Keyword+Data) Driven Framework
Overview of Hybrid(Keyword+Data Driven) Framework Covered
Building XLS File Having Test Cases and Keywords Covered
Building XLS File Having Test Data Covered
Building Base class Covered
Reading XPATHS, Configuration from properties file Covered
Implementing ImplicitWait Covered
Implementing the keywords using the reflection API
We have covered
simple ROBOT example
to make you understand
the keyword driven
Implementing tests Covered
Assertions and Reporting Errors Covered
Parameterizing tests using DataProvider and XL Files Covered
Repeating a test with different Data Covered
Running the framework through ANT
Generating the reports
Emailing test reports
Creating a BAT file for project execution
TestNg and Hybrid (Keyword+Data) Framework
Overview of Hybrid Framework Covered
Building XLS File Having Test Cases and Keywords Covered
Building XLS File Having Test Data Covered
Building Base class Covered
Reading XPATHS, Configuration from properties file Covered
Implementing WebdriverWait Covered
Implementing the keywords using the reflection API Covered
Implementing tests Covered
Assertions and Reporting Errors Covered
Parameterizing tests using DataProvider and XL Files Covered
Repeating a test with different Data Covered
Running the framework through ANT
Generating the reports
Emailing test reports
Creating a BAT file for project execution
Highlighted RED marks are ADVANCE SELENIUM first grasp how to create
frameworks then after enough frequency in code we can move on those areas.
Status
We have used Junit so we have not included TestNG annotations
I have shown you how we can set Flag by "Y" and
"N" to control the execution in one of the example
of keyword.xls file.
http://hmsinghselenium.blogspot.in/2013/02/refle
ction-api.html
Junit /TestNG Ant Contents Topic Covered Date
What is JUNIT and Test NG
Configuring Junit 4 in Project/EclipseCovered
Junit 4 annotation Covered
Running Test in Junit Covered
Batch Running of tests in TestNg
Skipping Tests
parameterizing Tests DataProviderCovered
Assertions/Reporting Errors
TestNg Reports
Advantages over Junit
Using TestNg in Selenium Covered
What is Ant
Downloading and configuring Ant
Build.xml configuration
XSLT report generation generation using TestNg and Ant
Building a BAT file to run tests using ANT
Highlighted RED marks are ADVANCE SELENIUM first
grasp how to create frameworks then after enough
frequency in code we can move on those areas.
Status
http://www.tutorialspoint.com/testng/index.htm
http://www.tutorialspoint.com/junit/
As a part of Training we have covered only Junit as I have notified as
TestNG is alternative of Junit as we need to install it seperately we will
http://hmsinghselenium.blogspot.in/2013/03/junit-4-vs-testng-comparison.html
http://www.tutorialspoint.com/testng/index.htm
Check the same in frameworks
I have already guided you how to do installation
ANT wil be explained to you whenever we will use GRID so keep some
patiences.
http://hmsinghselenium.blogspot.in/2013/02/testng-tutorial-i.html
http://hmsinghselenium.blogspot.in/2013/02/testng-tutorial.html