SELENIUM
The following topics will be covered in our SELENIUM Online Training:
Copyright @ 2015 Learntek. All Rights Reserved.
2
Selenium Overview • Selenium Components and Architecture • Why Java for Selenium
• “Installing Java, Eclipse” • First Eclipse Project and Java program • Platform Independence
Copyright @ 2015 Learntek. All Rights Reserved.
3
Object Oriented Programming “Class, Object, Method, Property” Concept of Inheritance Overloading and Overriding Functions Usage of Inheritance in Selenium Creating Packages Accessing Classes and Methods
Copyright @ 2015 Learntek. All Rights Reserved.
• Good Features of eclipse • “Accessing modifiers – Public, Private, Default, Protected” • Exception handing – try catch block and throwable class • Need of exception handling in Selenium framework
4
Java Basics ? Quick Reference • Conditional and concatenation operators • “Usage of loops – While Loop, For Loops” • “Data Types ? String, Integer, Arrays” • “Functions – Input Parameters, Return Types” • “Local, Global, Static and NonStatic Variables” Copyright @ 2015 Learntek. All Rights Reserved.
• Creating Objects and Object References • Call by reference and Value • Constructors • String class and functions • Concept of jar file • POI API in java • Reading/Writing Microsoft XLS Files
5
Selenium IDE • Installing Selenium IDE • Recording Script • “Running, Pausing and debugging Script” • Inserting commands in between script • XPATHS and installing firebug to get XPATHS • Wait Commands • Verification and Assertions Copyright @ 2015 Learntek. All Rights Reserved.
6
WebDriver Introduction • Why WebDriver? • Selenium RC Vs Webdriver
• Downloading and configuring webdriver in eclipse • WebDriver Interface • “Drivers for Firefox, IE, chrome, Opera, Safari”
Copyright @ 2015 Learntek. All Rights Reserved.
7
Script Development using WebDriver • First Selenium WebDriver Code • Operating with multiple browsers • Introduction to Webdriver Methods • Using Firebug and FirePath • Handling Links with WebDriver
Copyright @ 2015 Learntek. All Rights Reserved.
• Extracting XPath and relevance of XPath • “Using By – id, name, linktext, class, XPath, CSS” • Handling Input Box/Buttons • “Handling WebList, Radio Buttons, Checkboxes” • Making your own XPath without firebug 8
… Continues… • Dynamic objects and count of objects • Capturing screenshots with WebDriver • Handling windows and switching windows • Handling frames in web pages • Pop-up and alert handling • Proxy handling using WebDriver • Explicit Vs Implicit waits Copyright @ 2015 Learntek. All Rights Reserved.
• Keyboard and Mouse event handling • Handling webdriver timeout • Capturing screenshots • Identifying and Understanding the Elements using Sikuli IDE • Interacting with flash videos / Objects • TestNG – Unit Testing Framework
9
Selenium Grid • “Introduction to hub, driver” • Approaches to start/stop hub and driver
• Using grid to run tests using RemoteWebDriver • Setting desired & Fetching actual capabilities • Configuring node parameters and timeouts
Copyright @ 2015 Learntek. All Rights Reserved.
10
Framework Overview • Reading Configuration from properties • Initialize Web driver • Implementing tests and batch running them • Repeating a test with different Data • Building utility functions
Copyright @ 2015 Learntek. All Rights Reserved.
• Parameterization of tests using excel • Controlling Execution order from excel • Assertions and Reporting Errors • Generating the HTML reports • Emailing test reports
11
Copyright @ 2015 Learntek. All Rights Reserved.
12