Course Outline :
Selenium is a testing tool for web applications that automates browser actions, simulating user interactions with the web page. The Remote Control extension allows Selenium tests to be scripted and executed from common programming environments like Java and .NET.
This session introduces Selenium and the Remote Control, looking at how we can use Selenium to automate web application testing. It will also cover user interface testing practices and pitfalls.
Selenium tests run directly in a browser, just as real users do. And they run in Internet Explorer, Mozilla and Firefox on Windows, Linux, and Macintosh. No other test tool covers such a wide array of platforms.
Browser compatibility testing. Test your application to see if it works correctly on different browsers and operating systems. The same script can run on any Selenium platform. System functional testing. Create regression tests to verify application functionality and user acceptance.
Course Objectives:
On completion of this course, the delegates will be able to:
- Understand all about the Selenium web driver and Cucumber
- test applications with Selenium web driver and Cucumber
- design efficient and robust tests for both classic and Ajax applications
- integration of Selenium into your existing test infrastructure and use other tools
- prepare for web testing with Selenium 2 and Cucumber
Target Audience :
This course is designed for candidates having an interest in web-testing.
To get the best out of this course, the candidates must have at least a basic knowledge of web development concepts and languages like HTML and JavaScript.
Introduction and Overview of Selenium
- What is automation testing
- When best to go for automation
- Advantages of Automation
- Criteria for Automation
- Functional Automation VS Performance Automation
- Different Automation tools
- What is Selenium
- Use of selenium
- When selenium can be useful in testing
- Features of Selenium
- Differences between Selenium and QTP
Selenium Components
- Selenium IDE
- Selenium Web driver
- Selenium Web driver
Configuration of IDE & Dev. Scripts
- Recording the script
- Running the script
- How to Save the recording script
- Object Identification
- Difference between Test case and test suit
Core Java Fundamentals
Language Fundamentals
- Setting up eclipse
- Setting up environment for Java programming
- Creating Java project in Eclipse
- Java Programming Language Keywords
- Class and Object
- Data Types
- Array Declaration, Construction and Initialization
- Functions, creating functions
- Writing Code using Loops
- Handling Exceptions
- Creating and working with Objects
- Creating and reading property files
Cucumber Fundamentals
- What is cucumber
- How to configure cucumber
- Installing Cucumber in eclipse
- Creating Feature files
- Writing Features
- Writing Scenarios, Scenario outlines with examples
- Creating Step definition files
- Writing Step definitions
- Using Background
- What is runner class
- Creating runner class
Junit Introduction
- Proving it works
- Starting from scratch
Developing Reusable Script
- Validations
- What is validation
- What is the use of validation in Automation testing
- Understanding unit testing frameworks
- Setting up Junit
- Testing with Junit
TestNG Framework
- What is TestNG
- Create TestNG.xml file
- Reporting Results & Analyze
Objects 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
Flow Control, Exceptions and Assertions
- Writing Code Using Assertions
Additional Concepts
- How to use XPath
- What is Maven
- Creating Maven Project
Selenium 2/ Web Driver
- Selenium 2.0 Features
- The Selenium Server – When to Use it
- Setting up a Selenium – Web Driver Project
- Introducing Web Driver’s Drivers
- Commands & Operation
- Programs on Web Driver
Automation Life Cycle
- What is a Framework
- Types of Frameworks
- Data Driven framework
- Keyword driven framework
- Hybrid framework
- Page Object Model
- Use of Framework
- How to develop the framework
- Integration of the framework
- How to execute the scripts from framework