0.selenium CourseContent
0.selenium CourseContent
Introduction to Selenium What is Selenium Use of selenium When selenium can be useful in testing Features of Selenium Differences between Selenium and QTP/Test Complete Selenium Components Selenium IDE Selenium RC Selenium Grid Selenium 2- Web Driver Configuration of IDE & Dev Scripts Recording the script Running the script How to Save the recording script Object Identification Difference between Testcase and test suit Languages supported while Recording Synchronization in Selenium IDE Testing Vs Selenium IDE When to use Selenium IDE How to run the recorded script against other browsers Why companies are not using recording tools Creating the Environment for Selenium RC Creating generic scripts in selenium Creating scripts by using functions Running the scripts in Eclipse Inheritance Browser commands with examples Interactive commands wi th examples Information commands with examples Validation commands with examples How to take data from excel sheets Why should we use excel sheets How to take large no of data from excel sheets How to export data to an excel sheets Export large no of data to an excel sheet How to export results after completion of execution the script
How to use Eclipse Debugging the script Maintaining synchronization points How to handle Popups and alert messages Recognizing Similar Elements Working with Table Elements Connecting to Database Developing reusable script Validations What is validation What is the use of validation in Automation testing When to use validation in real time How to use validations Core Java Fundamentals Language Fundamentals Java Programming Language Keywords Class and Object Data Types Array Declaration, Construction and Initialization Flow Control, Exceptions, and Assertions Writing Code Using If and Switch Statements Writing Code using Loops Handling Exceptions Working with the Assertion Mechanism Object Orientation, Overloading and Overriding, Constructors Benefits of Encapsulation Overridden and Overloaded Methods Using the java.lang.String Class Using the java.lang.Math Class Using Wrapper Classes Using the equals() Method with Strings, Wrappers and Objects Defining, Instantiating, and Starting Threads Preventing Thread Execution Synchronizing Code Thread Interaction
JUnit Introduction Proving it works Starting from scratch Understanding unit testing frameworks Setting up JUnit Testing with JUnit Object repository What is object repository How to use object repository in framework What is the use of maintain Object repository Types of creating object repository Additional concepts How to use XPath How to use DOM How to use KeyCommands Selenium 2 / Web Driver Selenium 2.0 Features The Selenium Server When to Use it Setting up a Selenium Web Driver Project Migrating from Selenium 1.0 Getting Started with Selenium Web Driver Introducing Web Drivers Drivers Commands & Operation Web Driver backed Selenium RC Programs on Web Driver Programs on Web Driver Backed Selenium RC TestNG Framework What is TestNG Create TestNG.xml file Integrate the Selenium Scripts and Run from TestNG Reporting Results & Analyze Run Scripts from Multiple Browsers
Automation Life Cycle What is a Framework Types of Frameworks Modular framework Data Driven framework Keyword driven framework Hybrid framework Use of Framework How develop the framework Integration of the framework How execute the scripts from framework
Contents
Day - 1 1. Introducing Selenium To Automate or Not to Automate? That is the Question! Test Automation for Web Applications Introducing Selenium Selenium Components Supported Browsers Flexibility and Extensibility 2. Selenium Basics Getting Started Choosing Your Selenium Tool Introducing Selenium Commands Test Suites Commonly Used Selenium Commands 3. Developing Test Cases With Selenium-IDE Introduction Installing the IDE Opening the IDE IDE Features Building Test Cases Running Test Cases Debugging Writing a Test Suite
Executing Selenium-IDE Tests on Different Browsers Troubleshooting 4. Building Test Suites Creating a test suite Creating tests in a test suite Adding a new test, in a test suite Deleting a test from a test suite Running a test suite from IDE Running the test suite from Selenium Core Analyzing the results Day - 2 5. Selenese Selenium Commands Verifying Page Elements Introduction to Locating Elements Locating elements by identifiers Locating elements by xPath Locating elements by DOM Introduction Matching Text Patterns Matching Text Patterns - Regular expressions Matching Text Patterns Glob Matching Text Patterns - exact The AndWait Commands Sequence of Evaluation and Flow Control Store Commands and Selenium Variables JavaScript and Selenese Parameters echo - The Selenese Print Command 6. Selenium-RC Introduction How It Works Installation From Selenese to a Program Programming Your Test Learning the API Retrieving and Reporting Results Adding Some Spice to Your Tests How the Server Works Server Command Line options Troubleshooting 7. Selenium-RC, JUnit with Eclipse Configuring JUnit with eclipse Setting up eclipse Setting up Selenium cline drivers
Starting Selenium RC Server Building the test scripts using eclipse Configuring eclipse to run the tests Running the test scripts from eclipse Understanding the test run from eclise Generating the test log and understanding 8. Selenium Grid Setting up the Selenium Grid Ensuring the validity of ant build Starting the hub Starting the Selenium Remote controls on different platforms Running the tests parallel Running the tests sequential Analyzing the results Day 3 9. Selenium-RC, JUnit, TestNG with Eclipse Installing the TestNG on eclipse Configuring TestNG libraries with Eclipse Understanding the Scripts in TestNG format Exporting the Tests from SeleniumIDE Adding the necessary methods to work with TestNG Running the tests with TestNG Understanding the reports generated by TestNG Creating a XML file for running the tests though TestNG Working on a case study 10. Working with user extensions Understanding the significance of adding the user extensions Working with user extensions Adding function libraries to user extensions Configuring the user extensions Accessing the function libraries from Selenium IDE Running the tests with extended functions from Selenium IDE 11. Working with Selenium IDE extensions Understanding the significance of Selenium IDE extensions Working with Selenium IDE extensions Configuring the Selenium IDE extensions Recording the new script with new Selenium IDE extensions Running the test with new Selenium IDE extensions Converting the tests to Java or other languages Running the tests from Selenium RC Generating the reports Working on a sample case study
12. Selenium Test Design Considerations Web Page Content Static vs. Dynamic Pages UI Mapping with Selenium Creating a shared object repository with Selenium Writing a frame work