Saturday, January 11, 2014

Selenium Syllabus

Session 1:
Selenium Introduction:
  • What is automation testing?
  • What is the use of automation testing?
  • What we need to Automate
  • What is Selenium
  • Advantages of Selenium
  •  
Session 2:
Selenium IDE and RC Introduction
  • How Selenium IDE works
  • Installing Selenium IDE
  • “Selenese” – Selenium Commands
  • Actions, Asserts, Assesors
  • Developing Test Cases & Test Suites With Selenium-IDE
  • Introduction to Selenium RC
  • Handing of ajax contorls

Selenium – Different Components of Selenium
  • IDE
  • Selenium-RC
  • Selenium-Grid
  • Selenium Web Driver/Selenium 2.0

  • How to identify elements in webpage using Selenium
  • Tools to identify elements/objects
  • Firebug
  • IE Developer tools
  • Google Chrome Developer tools Locating elements by ID
  • Finding elements by name
  • Finding elements by link text
  • Finding elements by XPath
  • Finding Elements by using CSS
  • Summary

Selenium – IDE features:
  • Features of  Selenium IDE
  • Installing Selenium IDE
  • Selenium IDE icons
  • ecording your first test with Selenium IDE

Selenium – IDE Concepts:
  • IDE Context Menu
  • Asserting the elements
  • Verifying the elements
  • WaitFor elements
  • Storing the elements
  • Adding Selenium IDE comments
  • Building Test cases using Selenium IDE
  • Synchronization commands
  • Creating test suites
  • What you cannot record
Selenium – Special IDE commands:
  • goBack
  • refresh
  • keys simulation
  • mouseOver
  • Highlight


Session 3:
Selenium – WebDriver:
WebDriver – IDE – Java
  • Drivers for Firefox, IE and HTML Unit driver
  • Running Selenium script in Different Browsers with Eclipse
  • Debugging Scripts in Eclipse
  • First Selenium WebDriver Code
Parameterization:
Writing WebDriver Code for different elements:
  • Text box
  • Link
  • Button
  • Checkbox
  • Radio Button
Drop Down Box
a) Select value
b) Display all values
c) Write all values into NotePad/Excel.

  • Introduction to Selenium Webdriver
  • Setting Up Eclipse
  • Downloading and configuring webdriver in eclipse
  • Converting Selenium IDE tests to a programming language(JAVA)
  • Handling scenarios using Javascript
  • Selenium WebDriver Introduction
  • WebDriver Vs RC
  • Download and Configure WebDriver with Eclipse
  • Simple Testcase
  • Open and Close Browser
  • Cross Browser Testing – Firefox, IE ,Chrome, HtmlUnitDriver
  • UI elements ,Locators
  • Identifying WebElement using id, name, link text, class, xpath, css
  • Handling various WebElement using WebDriver
  • Handling Mouse movements and keyboard Events

Selenium – Java Language:
  • Introduction
  • Java variables
  • Java Modifier
  • Comments in Java
  • Java Basic Syntax
·         Classes
·         Method
  • Writing Common Functions/Method:
  • What is function/Method
  • What is the use of function/Method
  • How to reuse
  • Writing Web driver Functions/Method
·         Packages
·         Objects
·         Instance
·         Inheritance
·         System.out.println
  • Constructors
  • Creating an Object
  • Accessing Instance Variable and Methods
       AND
  • OOPs concepts
  • Setup Java environment – Download JDK and Setup eclipse
  • Java programming concepts
  • Class, Object ,variables, methods, Packages
  • Conditions and loops
  • Access and non-access modifiers
  • Advanced Java Programming
  • Interfaces, Inheritance
  • Collections, Exceptions


Session 4:
Automation Characteristics:
  • Reading Data/ Writing Excel
  • Synchronization
  • Capture screenshot(positive)
  • Capture screenshot(with failure)
  • Handling On load alerts
  • Page scroll down using Java script
  • HTML Unit Driver
  • Handling Multiple Windows
  • Handling Ajax Auto suggests
  • Handling web tables
  • Actions Class:
  • Introduction to Framework
·         What is frame work?
·         What is the use of Framework?
·         Frame work using Object repository and Functions
What are different types of packages in Frame work

Session 5:
Testing Framework and Tools
·         Introduction of Testing framework
·         Types of frameworks
·         Tools for developing Test Framework
·         TestNG introduction and Configuration with eclipse
·         TestNG Annotations and Data Providers
·         Creating Test Suit with TestNG

Session 6:
 Develop Hybrid Framework
·         Developing Hybrid Framework for Web Application using WebDriver /TestNG
·         Use external Data for Testing (Excel sheet , xml files, Property file )
·         Reading and understanding reports

·         Screenshots for failed Test case