Automation Syllabus
Automation Syllabus
Topics:
3rd Floor, above Airtel Showroom, Beside Mangalya Shopping Mall, Near JNTU Signal, Kukatpally Housing
Board Colony, Kukatpally, Hyderabad, Telangana 500072 - 8712186898 [Type here]
Exception Handling
Exception handing with try-catch block
Importance of exception handling
Exception and Error
Throwable Class
Final and Finally
Throw and Throws
Different Types of Exceptions
Need of exception handling in the Selenium framework
Collection
List, Set, Map, SortedSet, SortedMap, Queue, Vector, NavigableSet, NavigableMap
ArrayList, LinkedList
HashSet, LinkedHashSet, TreeSet
Stack
HashMap, LinkedHashMap, TreeMap
Iterator, ListIterator, Enumeration
Collections, Arrays
Selenium
Introduction
What is Selenium?
Who developed Selenium?
Selenium Components
Selenium IDE
Installing Selenium IDE
Creating your First Selenium IDE script
How to use Locators in Selenium IDE
How to enhance a script using Selenium IDE
Creating and Running Tests
Creating and Running Test Suite
3rd Floor, above Airtel Showroom, Beside Mangalya Shopping Mall, Near JNTU Signal, Kukatpally Housing
Board Colony, Kukatpally, Hyderabad, Telangana 500072 - 8712186898 [Type here]
WebDriver Introduction
Introduction to WebDriver & Comparison with Selenium RC
Installing Selenium WebDriver
The architecture of selenium webdriver
Creating your First Script in Webdriver
Launching AUT and Inspecting properties of Elements
Launching AUT in Firefox
Launching AUT in Internet Explorer
Launching AUT in Chrome
Launching AUT in Safari
Inspecting properties of Elements on different Browsers
Installing Firebug and Fire Path
Creating Firefox Profile
Automating Operations on various Elements
Browser
Textbox
List Box
Links
Check Box
Radio Button
HTML Tables
Calendars
Automating Keyboard and Mouse Events
Action Class
KeyBoard Events
Drag & Drop Actions
Mouse Hover Action
RightClick, Double Click & Tool Tip
Handling multiple Windows
getwindowHandle()
getwindowHandles()
Switching between windows
Handling elements present in different windows
Handling Alerts
accept()
dismiss()
getText()
sendKeys()
Handling Frames
What is iFrame?
Locating Frames
Switching between Frames
Handling Frames
3rd Floor, above Airtel Showroom, Beside Mangalya Shopping Mall, Near JNTU Signal, Kukatpally Housing
Board Colony, Kukatpally, Hyderabad, Telangana 500072 - 8712186898 [Type here]
Creating Customize XPath/CSS Selectors
What is XPath
When to Use XPath
Absolute XPath/Relative XPath
Specifying conditions with XPath
CSS Selectors
Customizing CSS Selector
20 ways to write the XPath
Synchronization
ImplicitlyWait
PageLoadTimeout
SetScriptTimeOut
WebDriverWait
FluentWait
Database Testing using Selenium
JDBC (Java Database Connectivity)
Driver Manager
Driver
Connection
Statement
ResultSet
SQLException
Connecting to DataBases
Sending SQL Queries to Database
Processing Results
Real-time examples of Database Testing with Selenium
AutoIT
Installing AutoIT
Components of AutoIT
Using FinderTool
AutoIT commands
Creating Scripts in AutoIT
Creating executable files
Running AutoIT Scripts from Selenium
Selenium GRID
What is Selenium Grid?
When to Use Selenium Grid?
What is a Hub and Node?
How to Install and Use Grid 2.0?
Designing Test Scripts That Can Run on the Grid
3rd Floor, above Airtel Showroom, Beside Mangalya Shopping Mall, Near JNTU Signal, Kukatpally Housing
Board Colony, Kukatpally, Hyderabad, Telangana 500072 - 8712186898 [Type here]
Using the DesiredCapabilites Object
Using the RemoteWebDriver Object
Running a Sample Test Case on the Grid
Sequential and Parallel Test Execution
Running Tests on different Operating Systems
Running Tests on different Browsers
MAVEN
What is Maven and Why Maven?
Installing/Configuring Maven
Creating Maven Project
Importing Maven Project into Eclipse
What is POM.xml?
Adding Dependencies to POM.xml
JENKINS
Installing/Configuring Jenkins
Scheduling Test Execution in Jenkins
Auto mail configuration in Jenkins
What is continues integration?
Continues integration with JENKINS
GIT
LOG4J
Introduction about Logging
Logging problems without Log4J
How to solve Logging problem with Log4J
What is Layout?
Different types of Layouts in Log4J
What is Appender?
Different types of Appenders
TestNG (TDD):
1 - Introduction
2 - Annotations
3 - testng.xml
4 - Running TestNG
5 - Test methods, Test classes and Test groups
5.1 - Test methods
5.2 - Test groups
5.3 - Groups of groups
5.4 - Exclusion groups
5.5 - Partial groups
5.6 - Parameters
5.6.1 - Parameters from testng.xml
5.6.2 - Parameters with DataProviders
5.6.3 - Parameters from System Properties
5.6.4 - Parameters in reports
5.7 - Dependencies
5.7.1 - Dependencies with annotations
5.7.2 - Dependencies in XML
5.8 - Factories
5.9 - Class level annotations
5.10 - Ignoring tests
5.11 - Parallelism and time-outs
5.11.1 - Parallel suites
5.11.2 - Parallel tests, classes and methods
5.12 - Rerunning failed tests
5.13 - JUnit tests
3rd Floor, above Airtel Showroom, Beside Mangalya Shopping Mall, Near JNTU Signal, Kukatpally Housing
Board Colony, Kukatpally, Hyderabad, Telangana 500072 - 8712186898 [Type here]
5.14 - Running TestNG programmatically
5.15 - BeanShell and advanced group selection
5.16 - Annotation Transformers
5.17 - Method Interceptors
5.18 - TestNG Listeners
5.18.1 - Specifying listeners with testng.xml or in Java
5.18.2 - Specifying listeners with ServiceLoader
5.19 - Dependency injection
5.19.1 - Native dependency injection
5.19.2 - Guice dependency injection
5.20 - Listening to method invocations
5.21 - Overriding test methods
5.22 - Altering suites (or) tests
6 - Test results
6.1 - Success, failure and assert
6.2 - Logging and results
6.2.1 - Logging Listeners
6.2.2 - Logging Reporters
6.2.3 – Junit Reports
6.2.4 - Reporter API
6.2.5 - XML Reports
6.2.6 - TestNG Exit Codes
7 - YAML
8 - Dry Run for your tests
9 - JVM Arguments in TestNG
10 - Logging framework integration in TestNG
Cucumber (BDD):
1. BDD introduction
2. Cucumber Introduction
3. Cucumber Rules
4. Cucumber configuration at Project level
5. Cucumber configuration at IDE level
6. Convert Maven project into pure Cucumber Project
7. Gherkin language introduction
a. What is Given
b. What is When
c. What is Then
d. What is And
3rd Floor, above Airtel Showroom, Beside Mangalya Shopping Mall, Near JNTU Signal, Kukatpally Housing
Board Colony, Kukatpally, Hyderabad, Telangana 500072 - 8712186898 [Type here]
e. What is But
8. Create First feature file on Live Project
9. Approaches for feature files generation
a. What is Feature:
b. What is Scenario:
c. What is Scenario Outline:
d. What is Example:
e. What is Background
10. Glue code introduction
11. Step-Definition concept
12. Ways to generate/write the step-definition
13. Data driven testing with Cucumber.
a. Using Scenario Outline with Example keyword
b. Using datatable
i. Datatable approach one using List
ii. Datatable approach two using Map
c. Using Excel file
14. Hooks in Cucumber
a. @Before
b. @After
c. @BeforeStep
d. @AfterStep
15. Tags in Cucumber
16. Tagged Hooks or Hooks with Tags in Cucumber
17. Runner Class In Cucumber
a. Use of @Runwith annotation
b. Use of “Cucumber.class” argument in @Runwith annotation
c. @CucumberOptions annotation.
i. Feature
ii. Glue
iii. StepNotification
iv. Monochrome
v. Plugin
vi. DruRun
vii. Strict
viii. Tags
1. Condition based tags
2. Tags with “And” operator
3. Tags with “OR” operator.
18. Batch Execution.
3rd Floor, above Airtel Showroom, Beside Mangalya Shopping Mall, Near JNTU Signal, Kukatpally Housing
Board Colony, Kukatpally, Hyderabad, Telangana 500072 - 8712186898 [Type here]