Monday, 21 April 2014

Agenda

Core Java:
1.       What is Java?
2.       Why java required for Selenium?
3.       Brief introduction of java and features of java.
4.       Installation of java.
5.       Introduction to Eclipse.
6.       Eclipse installation and different perspectives.
7.       Creation of projects and working with projects.
8.       Brief explanation about projects structure and .class(dot class)  file
9.       Creation of classes and working with sample program.
10.   Working with variables and data types in java.
11.   Brief introduction in String class and String operations
12.   Access specifies , static and final keywords.
13.   Conditions and Loops
a.       Using IF, IF-Else and Switch
b.      While, do-while,  For and For each
c.       Sample programs
d.      Usage of loops in selenium
14.   Arrays
a.       Use of Arrays
b.      Types of Arrays
c.       Sample programs and limitations
d.      Usage of Arrays in Selenium
15.   Functions (Methods in java)
16.   Constructors in Java
17.   Working with objects and usage in selenium
18.   Over loading  and overriding of methods
19.   Inheritance in Java
a.       Example of Inheritance
b.      Usage in selenium
20.   Packages
a.       Creation of packages
b.      Working with multiple packages
c.       Usage of package in selenium
21.   Exception handling
a.       Importance
b.      Types of Exceptions
c.       Usage in selenium
22.   Collections
a.       Array List
b.      Hash map and Hash table
c.       Usage in selenium
23.   File Input and output operations(IO)
24.   Working with Excel file.



JUnit Framework
·         Brief introduction to JUnit framework
·         Junit configuration in Eclipse project
·         What is annotation and working with types of annotations
·         Analyze the Junit results
·         Running scripts using Junit
·         Skipping scripts using JUnit
·         Working with JUnit Assertions
·         Data driven using JUnit
·         Suite Runner using Junit
·         Use of Junit in selenium
TestNG Framework
·         Brief introduction to JUnit framework
·         TestNg configuration in Eclipse project
·         working with TestNg annotations
·         Running a Test in TestNg
·         Batch Running of tests in TestNg
·         Skipping Tests
·         Working with Data Provider annotation for Data Driven
·         Working with assertions and Reporting in TestNG
·         Running testes with xml file
·         Setting priority of tests
·         Re Run the failed testes
·         Grouping of tests and skipping of testes
·         Use of TestNg in Selenium
Selenium Course content
·         Brief introduction to Selenium?
·         What are Advantages and Dis advantages?
·         What id difference between Selenium and QTP?
·         Selenium Tool kit or Components in Selenium.
Ø  Selenium IDE
Ø  Selenium Remote Control (RC)
Ø  Selenium Web Driver
Ø  Selenium Grid
Selenium IDE
·         Brief introduction to Selenium IDE
·         Brief introduction to Selenium IDE
·         Install Add on IDE
·         Using Selenium IDE to Record and Replay
·         Extending Default Recording Script
·          XPATHS and installing firebug to get XPATHS
·          Wait Commands
·          Verification and Assertions
·          Should I use verify or assertion
·         User-extension.js in Selenium IDE          
·          Using if statements and loops in IDE.
·          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.
·         Parameterize your IDE test cases with customized use extension and XML.
·          Regular Expressions in Selenium IDE.
·          Handling JavaScript Alerts
·          Capturing screenshots from Selenium IDE
 Selenium RC(Old version of Selenium)
·         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

WebDriver
·         Selenium Web Driver Overview
·         Why Web Driver for Selenium
·         Configuring Web Driver in eclipse
·         Web Driver Drivers
·         Identify Objects using Web Driver
·         Handling Web elements
·         Close and Quit -Difference
·         WebDriver DesiredCapabilities Class
·         HTMLUnit driver and desired capabilities
·         Mouse movement with Selenium- Mouse Interface
·         Handling Ajax Autosuggests Handling Google Ajax Autosuggests
·         Handling Frames in Web Page
·         Handling cookies
·         Web Driver Pop up handling
·         Handling Multiple windows
·         Synchronization
·         Capturing screenshots
·         Simulating front and back button click on Browser using selenium
·         Handling hover menus
·         Printing all links from a webpage
·         Handling Web Tables
·         Downloading files using selenium
·         Listeners- Using WebDriverEventListener
·         Practical usage of Listeners in Selenium
·         Moving a mouse on a Object and right clicking on it
·         JavaScriptExecutor example
·         Drag, drop events
Maven
·         What is Maven and Why Maven?
·         Installing/Configuring Maven
·         POM.xml
·         Eclipse plugin for maven
·         Using the maven plugin to execute phases - compile, clean, package etc
·         Running the ant tasks through the Eclipse maven plugin

Data Base Testing
·         Installing MySQL Database and making some tables in it
·         java.sql package
·         JDBC Drivers
·         Connection Interface
·         Statement and PreparedStatement Interfaces
·         ResultSet Interface
·         Firing select, insert, update and delete queries with database using Java JDBC
·         Looping the ResultSet
·         Using Annotations of Junit/TestNg to establish connection with database when Using Selenium
Selenium Grid
·         Brief introduction about selenium grid
·         Configuration of grid
·         Running the tests using CI tool like Jenkins
Frameworks
·         What is framework
·         Types of frameworks
·         Keyword Driven framework
·         Hybrid driven framework