0% found this document useful (0 votes)
165 views

Selenium and Webdriver

The document provides an overview of automation testing concepts including Selenium and Java. It discusses Selenium IDE, WebDriver, different automation tools like TestNG and JUnit, and programming languages like Java. It also covers debugging, handling windows, frames and controls, and building test frameworks using ANT and Maven.

Uploaded by

Sangeetha Bc
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
165 views

Selenium and Webdriver

The document provides an overview of automation testing concepts including Selenium and Java. It discusses Selenium IDE, WebDriver, different automation tools like TestNG and JUnit, and programming languages like Java. It also covers debugging, handling windows, frames and controls, and building test frameworks using ANT and Maven.

Uploaded by

Sangeetha Bc
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Introduction to Automation

selenium online training

 What is Automation testing?


 Drawbacks of Manual Testing
 Advantage and disadvantage of Automation testing
 Types of Testing can be done by Automation Testing
 What test cases can be converted into automation?
 What test cases cannot convert into automation?
 Things to be done before automation testing
 Automation testing process
 Types of Automation Tools
 Difference between Selenium training and QTP

Different flavors of Selenium training

 Selenium IDE
 Selenium-RC
 Selenium-Grid
 Selenium 3.0 &WebDriver

Selenium IDE training Introduction:

 Introduction to Selenium IDE


 Installing Selenium IDE training
 Selenium IDE icons
 Create and Execute Basic Scripts
 Recording Tests
 Running a Test
 Selenium Concepts
 Element Locators
 Selenium Commands
 Actions
 Asserts
 Accessors
 Pattern Matches
 Element Locators
 Locating elements by ID
 Locating elements by name
 Locating elements by link text
 Locating elements by XPath
 Locating Elements by using CSS
 Summary
 Useful Selenium Tools
 Firebug for Firefox & Chrome
 Firepath for xpath generation
 IE developer tool bar
 TestSuite
 What is Test suite?
 Creating Test Suite Using Selenium IDE
 Selenium IDE Overview
 Selenium IDE General Options
 Selenium Menu Items
 Format

Core Java

 Introduction To Core Java


 Environment variable configuration
 What is oops?
 What is a class and object?
 What is a main method?
 Basic Example
 Datatypes
 variables
 Operators
 Arrays
 Collections
 Conditions
 If
 If-else
 If –else –If
 Nested If
 Select Case
 Looping Conditions
 For – Next
 Do – loop
 While –loop
 For Each loop
 Branching statements
 Break Statement
 Return Statement
 Continue statement
 Java Built in methods
 String Methods
 Math object methods
 Date & time methods
 Oops Concepts
 Introduction
 Class
 Object
 Static Methods
 Overloading Methods
 Overriding Methods
 Constructors
 Inheritance
 Polymorphism
 Encapsulation
 interfaces
 Abstraction
 Working with regular expressions
 What is regular expression
 Where we will use
 Regular expression syntax
 Examples on regular expression
 Working with files
 Working with Files and I/O
 Working with Excel files
 Working with data base.
 Working with Property files
 Exception handling
 try block
 catch
 final
 finally

WebDriver (Selenium)

 Web Driver Introduction


 What is Web Driver?
 Why Web Driver?
 Difference between WebDriver and Selenium RC
 Architecture of selenium webDriver
 Configuring WebDriver in Eclipse
 Downloading WebDriver Jars and configuring in eclipse
 WebDriverDrivers introduction
 HTML Driver
 Firefox Driver
 IE Driver
 Chrome Driver
 Safari Driver
 Iphone driver
 Android etc
 Basic WebDriver Example
 Web Driver Concepts
 WebDriver Locators
 Locating elements by ID
 Locating elements by Class
 Locating elements by Tag
 Locating elements by Name
 Locating elements by Link Text
 Locating elements by Partial Link Text
 Locating elements by XPath
 Locating Elements by using CSS
 Working with web page elements using WebDriver
 Textbox
 Links
 Buttons
 Check Box
 Radio Button
 List Box
 Drop Down
 Selenium-WebDriver API Commands and Operations
 Driver commands like
 get(“url”);
 getTitle();
 getWindowHandle();
 getWindowHandles();
 close();
 quit(); ..etc
 Child element commands like
 clear();
 sendKeys(“Data”);
 click();
 getAttribute(“arg”);
 getTagName();
 getText();
 isDisplayed();
 isEnabled();
 isSelected(); ….etc.
 Webdriver all other commands.
 Working with IE Driver
 Downloading IE driver Server
 Configuring IE Driver Server
 Basic Example on IE Browser
 Working with Chrome Driver
 Downloading Chrome driver Server
 Configuring Chrome Driver Server
 Basic Example on Chrome Browser
 Concept of firefox profile
 What is Firefox profile
 Why we need firefox Profile
 Importing webDriver documentation in eclipse
 WebDriverDesiredCapabilities Class
 Proxy settings with webdriver/Working with proxy Servers
 HTMLUnit driver and desired capabilities
 Handling Links with WebDriver
 Handling WebList
 Dynamic objects
 Extracting links and other webelements
 Capturing screenshots with WebDriver
 Window handles
 Tabbed browsing with WebDriver
 Example of Tabbed browsing
 Pop up handling in Selenium
 Example of Pop up handling
 Secure Certificate error handling using WebDriver
 Synchronization
 Introducing Implicit wait and Explicit wait commands
 WebDriverWait Class
 sleep
 Handling JavaScript alert messages with Selenium
 Introducing Actions class Usage
 Simulating the Keyboard Keypress event
 Simulating Pressing Enter Button of Keyboard
 Simulating ClickAndHold event
 Simulating MoveToElement/Mouse Over event
 Simulating Doubleclickevent ..etc
 Simulating Drag and Drop event
 Working withWebTable
 How to get row count
 How to get data from specific cell
 Dynamic WebTable Handling
 Attaching files with Selenium
 Working with Calender using Selenium
 Handling Ajax Autosuggests
 Handling Google Ajax Autosuggests
 Setting the page load timeout- WebDriver.Timeout Interface
 Handling Frames in Web Page
 Simulaing front and back button click on
 Downloading files using webDriver
 Moving a mouse on a Object and right clicking on it
 Remote webdriver
 WebDriver support Javascript alerts and prompts
 Handle popup windows
 Handle authentication

AWT

 AWT Basics
 How Handle window controls
 Examples for how to Handle window controls

AutoIT

 Installing Auto IT
 Auto IT Overview
 Why Auto IT?
 AutoIT components
 AutoIT commands
 Auto IT Script Examples
 Compiling Auto IT scripts
 How To Use Auto IT scripts in WebDriver
Sikuli

 Introduction of Sikuli
 Sikuli Overview
 Why Sikuli
 AutoIT and Sikuli differences
 Sikuli installation
 Record screen shot with sikuli
 Sikuli jar configuration in Eclipse
 Prepare scripts in eclipse using sikuli class files
 Use sikuli programs in Eclipse

Debugging the Scripts

 Inserting Break Points


 Watch variables
 Step Into
 Step Over
 Step Return
 Run To line
 Terminator

TestNG

 Introduction to TestNG
 Why TestNG
 InstallingTestNGin Eclipse
 Advantages of TestNG over Junit
 Exploring TestNG Features
 TestNG annotations
 How to Use TestNG Annotations for Selenium training programming.
 TestNG Annotations Complete Usage and Limitations
 TestNG Assert commands
 Automate tests using TestNG.
 xml file for suite.
 How to create testSuite for selenium tests.
 TestNG Execution Report
 TestNG Results output folder walkthrough
 TestNG Reporting features

Junit

 Introduction to Junit
 Configuration Junit in Eclipse
 Exploring Junit Features
 Junit annotations
 How to Use Junit Annotations for Selenium training programming.
 Junit Assert commands
 How to create testSuite for selenium tests.
ANT

 What is ANT
 Why ANT
 ANT installation
 Build.XML
 Dependencies
 Create builds using ANT

Maven

 What is Maven
 Difference between ANT and Maven
 Why Maven
 Maven installation
 Maven run commands
 POM XML
 Maven dependencies
 All plugins installations
 Create builds using Maven

Jenkins

 What is Jenkins
 Why Jenkins
 Jenkins installation
 How to execute ANT builds through Jenkins
 How to execute Maven builds through Jenkins
 How execute builds without ANT & Maven
 Continuous integration

Selenium Grid

 What is Selenium Grid?


 Use of Selenium Grid?
 When to Use It
 Selenium-Grid 2.0 training
 Selenium-Grid 1.0 training
 How Selenium-Grid Works–With a Hub and Nodes
 Installation
 Starting Selenium-Grid training
 Configuring Selenium-Grid
 Hub Configuration
 Node Configuration
 Timing Parameters
 Getting Command-Line Help
 Common Errors
 Troubleshooting
 Executing tests using Selenium- Grid.
SVN Integration

 What is SVN
 Use of SVN
 Installation
 Configure eclipse with SVN
 How to create SVN Project
 Check out process
 Check in Process
 How to see the differences

Chapter 17: GIT Integration

 What is GIT
 Use of GIT
 Configure eclipse with GIT
 How to create GIT Project
 How to maintain project in GIT.

Automation Framework

 What is Automation Framework


 Advantages of automation framework
 Types of automation framework
 Modular Driven Framework
 Data Driven Framework
 Hybrid driven framework
 Keyword driven framework

Modular Driven Framework

 What is modular driven framework


 Create reusable code as methods
 Create test scripts by importing methods

Data Driven Framework

 What is parameterization?
 Types of parameterization
 Parameterization using Excel
 Parameterization using DataBase
 Parameterization using Property files.
 Random number parameterization

Hybrid Framework (Page Object Model)

 What is Hybrid Framework


 Hybrid Framework Implementation
BDD Framework

 What is BDD Driven Framework


 What is Behavior Driven Development
 Cucumber instatllation
 What is @Given,@Then,@And ..etc
 BDD Driven Framework Implementation

Real Time Process for Automation Testing

 Introduction About Framework


 What is feasibility study
 Tool Selection criteria
 What is POC
 Automation Test Plan
 Automate Test Cases
 Name Conventions
 Local Scope Variables
 Global Scope Variables
 Constants variables
 General methods
 Object Repository Files
 Application methods
 Coding & Commenting Code
 Test Scripts Creation
 Test Suite Creation.
 Build generation

You might also like