Email:info@araniconsulting.com
Basic
JUnit 4 Framework / ANT
- JUnit – What is it?
- JUnit 4 configuration in Project/Eclipse.
- Annotation – JUnit 4.
- Running Test in Junit
- Skipping Tests
- Parameterizing Tests
- Using Assertions
- Reporting Errors / ErrorCollector
- Batch Running – Custom Runners
- ANT – What is it?
- Build.xml configuration
- HTML Report generation using Ant
- Building a BAT file to run tests using ANT
TestNg Framework / ANT
- TestNg – What is it?
- Installing TestNg in Eclipse
- Understanding usage of annotations
- Running a Test in TestNg
- Batch Running of tests in TestNg
- Skipping Tests
- Parameterizing Tests – DataProvider
- Assertions/Reporting Errors
- TestNg Reports
- Advantages over Junit
- Using TestNg in Selenium
- What is Ant
- Downloading and configuring Ant
- Build.xml configuration
- XSLT report generation using TestNg and Ant
- Building a BAT file to run tests using ANT
Selenium IDE
- Selenium IDE – Installation
- Recording Script
- Script – Running, Pausing and debugging
- Running a script line by line
- Inserting commands in between script
- XPATHS and installing firebug to get XPATHS
- Wait Commands
- Verification and Assertions
- Using verify or assertion
- JavaScript
- User-extension.js in Selenium IDE
- Using if statements and loops in IDE
- Echo, StoreEval and StoredVars
- Creating your own user extensions
- Making a function in user extension to generate random email address.
- Extracting all values of dropdown
- Reading XML from JavaScript using DOM
- Building Test Cases – Example
- Parameterize your IDE test cases with customized use extension and XML
- Regular Expressions in Selenium IDE
- Handling JavaScript Alerts
- Capturing screenshots – Selenium IDE
- Testing Flash applications with IDE – Selenium Flex API
- Capturing screenshots from Selenium IDE
Selenium WebDriver
- WebDriver – Why?
- Downloading WebDriver Jars and configuring in eclipse
- Architecture of selenium webdriver
- Drivers for Firefox, IE, chrome, IPhone, Android etc.
- First Selenium Code
- Working with Internet Explorer and Chrome
- Selenium Web Driver and RC
- Concept of Firefox profile
- Firefox profile – What is it?
- Firefox Profile – Why required?
- Close and Quit -Difference
- Importing webdriver documentation in eclipse
- WebDriver Desired Capabilities Class
- Proxy settings with webdriver/Working with proxy Servers
- HTMLUnit driver and desired capabilities
Selenium WebDriver – 2
- Fire path and firebug Add-ons installation in Mozilla
- Inspecting elements in Mozilla, Chrome and IE
- HTML language tags and attributes
- Various locator strategies
- WebDriver Interface
- WebElement Interface
- Identifying WebElements using id, name, class
- Finding Xpaths to identify
- Absolute and complete Xpaths
- Creating customized Xpaths without firebug
- Css Selectors
- Generating own Css Selectors
- Performance of Css Selectors as compared to Xpaths
- Finding xpaths/css selectors in different browsers – Mozilla, Chrome and IE
- Objects with same id/xpath/css selector
- Class attribute – What is it?
- Handling Dynamic objects/ids on the page
- Working with different browsers without changing code
Selenium WebDriver – 3
- Managing Input fields, Buttons and creating custom xpaths
- Managing/Identifying Links with xpaths/css selectors
- Extracting More than one object from a page
- Extracting all links of a page/Bulk extraction of objects
- Extracting Objects from a specific area of a web page
- Various strategies to test Links on a page by clicking on them one by one.
- Finding response Headers/ response code
- Finding whether object is present on page or not.
- Handling drop down list
- Select Class in Selenium API
- Managing radio buttons and Checkboxes
- Hidden components
- isDisplayed function
- Taking Screenshots of the web pages
- How to Google out errors-Self sufficiency
- Exercises
Selenium WebDriver – 4
- Implicit and Explicit waits
- Best Practices
- Distributed installations
- PageLoadTimeout Property
- WebDriverWait Class
- WebDriver .Timeout Interface
- ExpectedCondition interface and ExpectedConditions class
- WaitUntil Condition
- Fluent Wait
- Managing Ajax based components
- Concepts of Set Interface in Java
- Window Handles
- Managing tabbed windows in IE, Chrome and Mozilla
- Managing popups in IE, Chrome and Mozilla
- Closing windows
- Default Popups
- Testing https websites / Managing certificate errors in https websites in IE, Chrome and Mozilla
Selenium 2.0 Features – 3
- Extracting Data From WebTable
- Dynamic WebTable Handling
- Attaching files with Selenium
- Changing your Facebook profile picture by attaching new picture
- Mouse movement with Selenium- Mouse Interface
- Handling Ajax Autosuggests
- Handling Google Ajax Autosuggests
- Handling Frames in Web Page
- Handling cookies
- More Examples on Webtables
- Webtables and css Selectors
- Building custom functions for Webtables
- Managing JavaScript alerts
Selenium 2.0 Features – 5
- Simulating front and back button click on Browser using selenium
- Assigning Firefox profile parameters
- Downloading files using selenium
- Selenium Javadocs
- Listeners- Using WebDriverEventListener
- Practical usage of Listeners in Selenium
- Moving a mouse on a Object and right clicking on it
- Finding Coordinates of a Web Object
- Actions class in Webdriver
- Handling CSS menu with Action class
- Handling CSS menu with JavaScriptExecutor
- JavaScriptExecutor example
- Drag, drop, native events
Selenium 2.0 – Exercises
- JAD Session, Verifying Requirements after a JAD Session. One-on-One Meetings for Requirements: JAD Session Homework, Writing a JAD Session Agenda, JAD session inputs, Conducting a JAD Session, JAD Session Outputs, Recording draft requirements in Requirements management tool.
Advance
JUnit and Data Driven Framework
- Building the Test Base Class
- Using Annotations of Junit
- Reading XPATHS, Configuration from properties file
- Initialize the Webdriver
- Building the Test Base Class
- Implementing WebDriver Implicit Wait
- Implementing tests and batch running them
- Repeating a test with different Data
- Building utility functions
- Parameterizing tests using XL Files
- Controlling Execution order from XL Files
- Assertions and Reporting Errors / ErrorCollector
- Storing Screenshots of errors
- Running the framework through ANT
- Generating the HTML reports
- Emailing test reports
- Creating a BAT file for project execution
JUnit and Hybrid (Keyword+FunctionalDecomposition) Framework
- verview of Hybrid(Keyword+Data Driven) Framework
- Building XLS File Having Test Cases and Keywords
- Building XLS File Having Test Data
- Building Base class
- Reading XPATHS, Configuration from properties file
- Implementing ImplicitWait
- Implementing the keywords using the reflection API
- Implementing tests
- Assertions and Reporting Errors
- Parameterizing tests using DataProvider and XL Files
- Repeating a test with different Data
- Running the framework through ANT
- Generating the reports
- Emailing test reports
- Creating a BAT file for project execution
TestNg ,Functional Decomposition & PageObject Model Framework
- Overview of Data driven framework
- Building the Test Base Class
- Using Annotations of TestNg
- Reading XPATHS, Configuration from properties file
- Initialize the Webdriver
- Implementing WebDriver Implicit Wait
- Implementing tests and batch running them
- Repeating a test with different Data
- Implement logging with Log4J API
- Building utility functions
- Parameterizing tests using XL Files
- Controlling Execution order from XL Files
- Assertions and Reporting Errors
- Storing Screenshots of errors
- Running the framework through ANT
- Generating the XSLT reports
- Creating a BAT file for project execution
- Emailing Test Reports
TestNg and Hybrid (Keyword+Data Driven) Framework
- Overview of Hybrid Framework
- Building XLS File Having Test Cases and Keywords
- Building XLS File Having Test Data
- Building Base class
- Reading XPATHS, Configuration from properties file
- Implementing WebdriverWait
- Implementing the keywords using the reflection API
- Implementing tests
- Assertions and Reporting Errors
- Parameterizing tests using DataProvider and XL Files
- Repeating a test with different Data
- Running the framework through ANT
- Generating the reports
- Emailing test reports
- Creating a BAT file for project execution