Selenium WebDriver Using CSharp

C# Introduction

Installing Visual Studio
Features of C#
Why C# for Selenium
First C# Project
First C# program
Concept of Assembly file
Datatypes in C#
String class

LOOPS, ARRAYS AND FUNCTIONS

Conditional and concatenation operators
If statements
While Loop
For Loops
Practical Examples with loops
Usage of loops in Selenium
Single Dimensional Arrays
Two Dimensional arrays
Practical usage of arrays in Selenium
Drawbacks of arrays
What are Functions?

OBJECT ORIENTED PROGRAMMING – 1

Local Variables
Global Variables
Creating Objects in C#
Object and Object References
Call by reference and Value
Constructors

OBJECT ORIENTED PROGRAMMING - 2

Concept of Inheritance
Interface
Overloading and Overriding Functions
Example on inheritance
Object Class
Usage of Inheritance in Selenium

ACCESS MODIFIERS/EXCEPTION HANDLING

Accessing modifiers - Public, Private, Default, Protected
Exception handling with try catch block
Importance of exception handling
Application Exception and System Exception
Exception Class
Final and Finally
Throw and Throws
Different Types of Exception

COLLECTION API/REFLECTION API

Read Only Collection Class
List and Dictionary Class
Reflection API usage and importance

NUNIT AND REPORTING

Why Nunit
Installing Nunit
Nunit annotations
Running a test in Nunit
Parallel execution
Skipping tests
Parameterizing tests
Assertions
Extent Reports




SELENIUM WEB DRIVER PART-1

Why WebDriver?
Downloading WebDriver dlls and configuring in visual studio
The architecture of selenium webdriver
Drivers for Firefox, IE, chrome 
Usage of webdriver interface
First Selenium Code
Working with chrome and IE


SELENIUM WEBDRIVER PART-2

Inspecting elements in Mozilla, Chrome, and IE
Concept of firefox profile
What is Firefox profile
Why we need firefox Profile
HTML language tags and attributes
Various locator strategies
WebElement Interface
Identifying Web Elements using id, name, class
Finding Xpaths to identify
Implicit Wait
Absolute and partial Xpaths
CSS Selectors
Generating own CSS Selectors
Performance of CSS Selectors as compared to Xpaths
What is a class attribute?
Handling Dynamic objects/ids on the page
Working with different browsers without changing code

SELENIUM WEBDRIVER PART-3

Managing Input fields, Buttons
Managing/Identifying Links with xpaths/CSS selectors
Get Attribute Function
Finding whether the object is present on-page or not
Hidden components - isDisplayed function
Clicking and checking links

SELENIUM WEBDRIVER PART-4

Handling drop-down list
Managing radio buttons and Checkboxes
Explicit wait
Alert management
Taking Screenshots of the web pages

SELENIUM WEBDRIVER PART-5

Popup Handling
Managing different Windows
Close and Quit -Difference
Data-Driven Testing
Extracting Data From Excel

SELENIUM WEBDRIVER PART-6

Mouse movement with Selenium - Actions class
Randomly clicking/selecting Objects - Randomising
Dragging dropping by offset
Handling Frames in Web Page


Framework

What is the framework?
different types of frameworks?
what is the data-driven framework?
Data-Driven Framework
Hybrid Driven Framework

Behavioral Driven Development (BDD)

Introduction to BDD and Specflow

What are we going to discuss

Specflow Installation and getting started

Adding Step definitions and creating BaseStep class

Adding additional steps for step definitions

Adding additional Scenario and reusing existing step definitions

Creating Extended Steps in step definitions to empower step reuse

Resolving the problem with CurrentPage property across different steps

Database Testing with Specflow




Get in touch

Copyright ©SoftwareTestingExperts All rights reserved