Selenium Web Driver Course Content - headlessTesting

bookmarkalikeInternet and Web Development

Dec 14, 2013 (3 years and 7 months ago)

188 views

Selenium WebDriver Course Content by

Sriram

1


Java

Selenium Overview, Features of Java, Installing Java , Understanding about Classpath

and Path, Data types in
Java, String API in Java, Loops, Conditions, Arrays, Functions, OOPS, static and non
-
static variables, methods,
constructors, Exception Handling, Understanding Interface, Inheritance in Java, Packages, Access Modifiers,
Collections

API, Java IO


File Handling (Read and Write to File),

Eclipse

Installing Eclipse, Working with Eclipse


Understanding about eclipse views, perspectives
etc, and all

the
above mentioned Java concepts we would be learning in Eclipse IDE

XPath

& CSS

Under
standing XPath, Learn writing XPath Expression, Install Firebug and Firepath.

Understanding CSS, and
Learning writing CSS expression.

Selenium

Installing Selenium RC, Understanding Selenium RC Architecture, How Selenium overcome with same origin
policy
,
St
art Selenium Server through command line, Getting started with Hand’s on Selenium 1.

Learning how to automate different HTML Controls

using Selenium (input, check box, radio button, drop
down, multi select control, Spinner, Date control,
Alerts, Prompts,
Confirmations and Ajax

Controls etc.),
Understanding Frames and how to automate w
hen HTML controls are in frames, Executing Java Script

Exercises:

Start automating Facebook Login Page, Gmail Login Page and Yahoo Login Page using Java


Learning launching Se
lenium Server with various options like Specific Port, Custom Firefox Profile, proxy,
Logging etc.

Exercises
with

Complex and Ajax Based UI:
Install ExtJS

UI

Framework and Starting Automating Forms,
Dynamic Grids, Sliding Pagers
, Grid Filtering, Progress
Bar Pager,
Drag and Drop
, Trees


Check Tree, Drag
and Drop on Trees, Drag and drop when frames, Tool Bars and Menus, Custom Drag and Drop, Animated
Data View, Handling multiple Tabs, Sliders
, Handling

mouse and keyboard actions etc..

JUnit

JUnit

3
:

Understanding JUnit,

Configuring JUnit
, Why JUnit for Selenium, Start writing sample program in
JUni
t, Understanding Test Fixtures., Running Test in JUnit, Analyze the Errors, Understanding Assertions and
Start Using Assertions. Test Suites.

Selenium WebDriver Course Content by

Sriram

2


JUnit 4:

Unde
rstanding the difference between JUnit 3 with suitable examples,
starting

writing sample

programs in JUnit. Understanding Annotations, Running Test in Junit 4, Skipping Tests, Parameterizing Tests,
Understanding new Assertions, Test Execution Order, Test W
atcher, Method Rule, Testing Exceptions,
Hamcrest Matchers and

Data Points and Theories and DDSteps for JUnit

Exercises:

Converting the Selenium Examples (EXtJS UI) into JUnit 4 and Running them.

Selenium WebDriver.

Getting Started with Selenium WebDriver,

Advantages

over Selenium RC, Architectural Overview and Design
Principles
, Downloading Selenium WebDriver, Configuring Selenium WebDriver in Eclipse, Understanding
Selenium WebDriver Interface and Implementation Drivers


Firefox
Driver
, Chrome
Driver
,
InternetExplorer
Driver, AndroidDriver etc..,

Learning how to automate different HTML Controls using
Sel
enium WebDriver (input, check box, radio button, drop down, multi select control, S
pinner, Date control,
Handling Popup’s


Alerts, Prompts, Confirmation and

Ajax Contr
ols etc.)
. Finding WebElements using
different ways based on XPath, LinkText, Name, ID, PartialLinkText, tagName and more….

Understanding
Frames and how to automate when HTML controls are in frames
, Starting

Automating using FireFoxDriver,
InternetExplorer
Driver and ChromeDriver
, Understanding waits in WebDriver (Implict Wait, Explict Wait and
FluentWait).

C
onverting the Selenium RC 1 Examples or Rewriting the below mentioned

Exercise.

Exercises with Complex and Ajax Based UI: Install ExtJS UI Framework an
d Starting Automating Forms,
Dynamic Grids, Sliding Pagers, Grid Filtering, Progress Bar Pager, Drag and Drop, Trees


Check Tree, Drag
and Drop on Trees, Drag and drop when frames, Tool Bars and Menus, Custom Drag and Drop, Animated
Data View, Handling mu
ltiple Tabs, Sliders, Handling mouse and keyboard actions etc..

Advanced WebDrivers API’s :

Handling File Upload, Screen Capture, Handle Certificate Errors, Actions


Keyboard and Mouse, Handling Time out Exceptions, Handling Iframes, Working with Cookies,

Working
with Proxy Servers, Finding the Coordinates of Page,

Executing JavaScript through

JavaScriptExecutor,
Handling and reporting Java Script Errors, TakeScreenShot,
Understanding FirefoxDriver anonymous Profile
and Starting WebDriver with a specific F
irefox Profile, Installing required add
-
ons on runtime, Setting up the
Firefox

preference,

Working with Firefox Driver properties,
Working with WebDriverEventListenerInterface,
AbstractWebDriverEven
tListener, EventFiringWebDri
ver,

Understanding Remote Web
Drivers, Running
Selenium RC scripts in WebDriver using Selenium WebDriverBackedSelenium, Chrome, Star
ting Chrome
with specific flags, Chrome Extensions, Chrome Options

Ex
ercises:

Measuring web page
performance

Using NetExport and Selenium Firefox
driver,

Capturing
JavaScript Errors, Setting UserAgents for Firefox, Executing JavaScript for Highlighting elements
,
Stroller
.

TestNG

Selenium WebDriver Course Content by

Sriram

3


Why TestNG, JUnit Pain, Installing TestNG in Eclipse, Annotations, Configuration file testing.xml, Working
with Test Method, Test
Classes and Test Groups, Assertions, Hemcrest Matchers, Including/excluding groups
in configuration file, Dependency


Hard Dependencies and Soft Dependences, Parameters, DataDriven
Testing
,

Class Level Annotations, Rerunning filed test case, TestNG Reports
, TestNG Listeners, Migrating
from JUnit.

Frameworks /Design Patterns

Data Driven Framework Using Excel, Understanding Page Objects Framework, Understanding Page Factory,
BotStyleTests, Keyword

driven
.

Selenium Grid

Introduction to Selenium Grid,
Understanding about Selenium Hub and Node and Running Sample Test
Cases in Grid.

Ant

Introduction to Apache Ant, Writing Ant targets and task, Running Ant Script files in Eclipse, Writing Ant
Script for Running Selenium Test Cases or Test Suites, Writing Ant Script for Generating JUnit Reports,
Running TestNG Test Cases using Ant,
Generati
ng TestNG Reports, and Schedule ant scripts.

Automating
Live Examples

/ Applications:


Sugar CRM, Orange HRM and PrestaShop using PageObject Design Pattern.

Implementing Selenium 1 frameworks through Selenium WebDriver.

In the above mentioned Exercises few

complex would be taught and few exercise has to be performed by the
Students and code need to be submit either to Trainer or Course coordinator.