test automation-selenium C#


1. Selenium Overview

Selenium Components and Architecture
Why C# for Selenium
Installing C#, Microsoft Visual Studio
First Visual Studio Project and C# program

2. C# Programming Basics

Creating Namespaces
Variables, Data Types
Conditional statements
Call by reference and Value
Arrays, List
Global, Static and local Variables
Creating Objects and Object References
Accessing modifiers
Constructors, Destructors
Concept of Encapsulation
Concept of Inheritance
Overloading and Overriding Functions
Debugging with visual studio
Operator Overloading
Exception handing

3. Selenium IDE

Installing Selenium IDE
Recording Script
Running, Pausing and debugging Script
Verification and Assertions
Inserting commands in between script
Wait Commands

4. Selenium WebDriver

Selenium RC Vs Web driver
Downloading and configuring web driver in Visual Studio
First Selenium Web Driver Code
Operating with multiple browsers
Handling webdriver execptions
Introduction to Web driver Methods
Handling Dropdowns, Radio Buttons, Checkboxes
Handling Input Box/Buttons/ Links
Using By – id, name, linktext, class, XPath, CSS
Using Firebug and FirePath
Making your own XPath without firebug
Making your own CSS selector
Dynamic objects and count of objects
Capturing screenshots with WebDriver
Handling windows and switching windows
Handling iframes in web pages
Pop-up and alert handling
Certificate error handling using WebDriver
Explicit Vs Implicit waits
Keyboard and Mouse event handling
Handling webdriver timeout

5. Selenium Grid

Introduction to hub, driver
Approaches to start/stop hub and driver

Configuring node parameters and timeouts

Using grid to run tests using RemoteWebDriver

Setting desired & Fetching actual capabilities

6. Automation Frameworks

Modular Driven Framework
Data Driven Framework

Page Object Model

Hybrid Automation Framework

7. Other Topics

Generating Test Reports
Tips and tricks with Selenium

Creating Template project

Helper Function Project

After the course, you will be able to know:

Understand Selenium Architecture and its components
Work with Selenium RC using Java and C#

Automate windows applications with AutoI

Execute Different Locator Techniques e.g by link, by text, by id, by css, by xpath etc.

Understand Selenium WebDriver/ Selenium 2.0

Perform Cross browser testing with Mozilla Firefox, Google Chrome, Safari and Opera

Use WebDriver advanced features e.g. taking screenshots, handling cookies and managing exceptions

Validate page content using Selenium WebDriver API

Create Data driven, Keyword driven and Hybrid test framework

Record and importing tests with Selenium IDE

Perform unit testing with JUnit

Apply Test Driven Development(TDD) approach

Code coverage report using Java Code Coverage(JaCoCo) to evaluate code execution

Perform distributed testing using Selenium GRID

Interact with images present on the web page with Sikuli

Write Test cases using TestNG

Leave A Comment

error: Content is protected !!