We deliver whatever we promise, Automation is an art, Feel the difference with us.

Enroll Today!

Course Overview   Live Training at $399 Videos at $29

In this course we Selenium web Driver with C# along with Core features of Selenium Automation. The main focus of the course is to build an automation Testing solution by utilizing capabilities of Selenium with C#. Key point covered but not limited to:

  • Automation Fundamentals              
  • C # Programming
  • Selenium IDE
  • MSTest and NUnit Framework
  • Selenium Web Driver With C#                                          Scroll Down for Demo Video
  • Selenium RC and Grid
  • Framework Development
  • Test Management thru MTM and TFS
  • Result Reporting 

Syllabus

                                                                                    MODULE 1 – Selenium Web Driver with C# Automation – Perquisite

Topic - 1: Application Life Cycle Management ALM (Selenium/TFS/MTM)

  • Selenium Web Driver Automation  with C#  Course Overview
  • Application Life Cycle in Microsoft Visual Studio
  • Microsoft Test Manager (MTM) and its role in End to End Test Management
  • Test Framework in Visual Studio (Unit Test, Selenium, NUnit)
  • Big Picture of  Selenium API, TFS and MTM and its integration
  • Selenium Components, Platform and Language support
  • Selenium Web Driver overview & its configuration

Topic - 2: C# Programming - Part I (Basics)

  • Getting started with C# Programming
  • Operators in C# (Arithmetic, Logical operator, Unary operator etc..)
  • Decision Control Statements in C# (if, if-else, switch, ternary operator)
  • Loops in C# Programming (While loop, for loop, foreach loop)
  • Collections in C# and its usage in Selenium testing
  • Arrays, ArrayList, Hashtable and Dictionary in C#
  • Real time examples of arrays in Automation Testing

Topic - 3: C# Programming – Part II (Programming in Detail)

  • User Defined Function or Method and its importance in CodedUI Test
  • Different types of Functions depending upon need
  • Working with Function arguments and return type
  • Scope of Variable( Local, Global, Static)
  • Call by Value and Call by reference
  • Function Overloading
  • Static Function and static variable

Topic - 4: C# Programming – Part III (Object Oriented Programming)

  • OOps and implementation of Classes and Objects in C#
  • Constructor/ Destructor and its types
  • Understanding Encapsulation (Data Hiding)
  • Inheritance, its types and implementation in C#
  • Polymorphism, its types and implementation in C#
  • Abstract classes and Interfaces in C#
  • Creating Namespaces and benefits in CodedUI testing

Topic - 5: C# Programming – Part III (Properties & Exception Handling)

  • Why to use Properties, getter and setter Methods to implement Property
  • Implementation of Properties in C# ( Read Only, Write Only, Read/Write)
  • Understanding Exception Handling and importance in Selenium
  • Creating and throwing Exceptions in C#
  • Compiler generated Exceptions
  • Handling Exceptions using TRY - CATCH Block
  • FINALLY block and its role in exception handling

Topic - 6: C# Programming – Part IV (Database Connections - ADO.Net)

  • What is ADO.NET and SQLConnection objects
  • Understanding System.Data, .SqlClient and .Configuration namespaces
  • Opening/closing database connection and best practices
  • usage of USING in the closing database connections
  • Establishing connections from web.config and App.config
  • SqlCommand,SqlDataReader,SqlDataAdapter,DataSet in ado.net
  • Writing SQL Queries to perform CRUD operations in database

Topic - 7: HyperText Markup Language (HTML)

  • HTML Introduction and its basics
  • HTML Elements and HTML Attributes
  • HTML Links, Input Button, List, Image, Iframes etc
  • Usage of HTML attributes in Selenium Automation

Topic - 8: CSS and Xpath

  • CSS Introduction and its basics
  • CSS Selector and Forming custom CSS Selector
  • Xpath introduction and its basics
  • Creating Custom Xpath and its usage in Selenium

 

                                                                                    MODULE 2 – Testing Framework for Selenium (NUnit and MSTest)

 

Topic - 09: MSTest Framework in Visual Studio for Selenium

  • Default Unit Test Framework in Visual Studio (MSTest)
  • Creating Basic Test in MSTest – Demo
  • [Test Initialize] and [Test Cleanup] Attributes
  • [Class Initialize] and [Class Cleanup] Attributes
  • [Assembly Initialize] and [Assembly Cleanup] Attributes
  • Obsolete  Attribute and usage in Automation Framework
  • Different Test Attributes in MS Test for decorating Test
  • Assertion in MSTest for validation
  • Test Context Property in MSTest
  • Overview of Data Driven Development in MSTest
  • Data Driven Testing in MSTest using CSV
  • Data Driven Development in MSTest using XML
  • Data Driven Testing in MSTest using SQL Server
  • Debugging & Configuring Test Run in MSTest
  • Running MSTests from Command Line

 

Topic - 10: NUnit Framework in Visual Studio for Selenium

  • NUnit Test Framework and it’s structure
  • Integrating NUnit  in  Visual Studio
  • Creating Basic Test in NUnit – Demo
  • Running Method Before and After Each Test
  • Running Method Before and After Each Fixture
  • Running Method Before and After Assembly and Namespace
  • Ignoring Tests in NUnit
  • Different Test Attributes in MS Test for decorating Test
  • Assertion in NUnit  for validation
  • Running Test from the Command Line
  • Understanding Test Context
  • Data binding Test with External Source
  • Data binding Test with XML
  • Data binding Test with CSV
  • Data binding Test with Excel
  • Organizing and Managing Tests in NUnit

 

 

                                                                                        MODULE 3 -  Selenium WebDriver with C# - Core Concepts

 

Topic - 11: Selenium WebDriver with C# - Basics

  • Selenium Web driver and its Architecture
  • Integrating Selenium Web Driver in  Visual Studio
  • Configuring Firebug and Firepath for Firefox and Understanding HTML Tags
  • Firefox Binary and Firefox Profiler in Selenium Web Driver
  • Desired Capability Class in Selenium Web Driver with C#
  • Running Selenium Script through Proxy Server in Web Driver
  • Creating Web Elements in WebDriver using IwebElement Interface
  • BY Class Methods to locate Web Elements in a web page

Topic - 12: Selenium WebDriver with C# - Locator Strategies(Xpath/CSS Selector)

  • Xpath and its types(Absolute and Complete)
  • Finding WebElement using Xpath
  • Writing Custom Xpath to identify WebElement
  • Using CSS Selector for identifying Web Elements
  • Creating CSS Selector
  • CSS Selector Methods to optimize locator mechanism
  • Difference between Xpath and CSS Selector
  • Xpath and CSS Selector for different browsers

Topic - 13: Selenium WebDriver with C# – Advance Topics

  • Working with different Web Elements like Input, button, Text etc.
  • Extracting Web Elements in a page
  • Bulk extraction of web elements in a Page
  • Extracting Web Elements within a document or Div or Span
  • Handling DropDownList box and SelectElement API in Web Driver
  • Handling Radio button and Checkboxes in Selenium
  • Working with WebTables/HTML Tables in Selenium
  • Managing Data Time Picker or Calender controls
  • Handling Auto populated Input Box in Selenium
  • Different WebElement Interface Methods and Properties

Topic - 14: Selenium WebDriver with C# – Miscellaneous Topics

  • Implicit and Explicit waits
  • ITimeouts Interface in Web Driver
  • SetPageLoadTimeout and SetScriptTimeout Methods
  • Managing tabbed windows in different Browsers
  • Managing popups in different Browsers
  • Closing windows
  • Managing Default Popups
  • Managing certificate errors in https websites
  • Handling Cookies in Selenium Web Driver
  • Difference between Close and Quit

 

                                                                             MODULE 4 - Automation Framework Development in Selenium Test

 

Topic - 15: Framework Development in Selenium (3 - tier Architecture)

  • 3 – Tier Automation Framework architecture
  • Creating shared UI controls (Objects Library)
  • Designing Generic Functions and creating re-usable libraries
  • Recovery Scenarios and Safe Click
  • Test Execution (Batch Execution and Ordered Test)
  • Result Reporting and Sending email Alerts

 

Topic - 16: Framework Development in Selenium (Page Object Model)

  • Understanding Object Oriented Design
  • Page object Model (POM) and its benefits
  • Setting up Automation Framework Using PageObjects
  • Building Page Objects and Creating SharedActions class
  • Building Features/Actions using C# in OOD
  • Building End to End in Object Oriented Desgin and POM

Topic - 17: End to End Test Management (Microsoft Test Manager)

  • Test Automation Process in TFS, MTM, Selenium
  • Create and Configure Test Plan in Microsoft Test Manager
  • Building Test Suites in MTM (Static/Query Based and Requirement Based)
  • Optimal Test Case Development(Shared Steps/Parameters)
  • Adding Solution to TFS (Checkin/Checkout), Associating Selenium Test to MTM

 

Demo Video

  • 1. Application LifeCycle(VSTS/CodedUI/TFS/MTM)
  • 2A. C# Programming - Part I (Basics)
  • 11A.Setup and Configuration for Visual Studio
  • 11B. Configuring Firebug and Firepath
  • 11C. Firefox Binary and Firefox Profiler in Selenium
  • 11E. Running Selenium Script through Proxy Server
  • 17A. End to End Test Management (Microsoft Test Manager)
  • 17B. End to End Test Management (Microsoft Test Manager)
  • 17C. End to End Test Management (Microsoft Test Manager)
  • 17D. End to End Test Management (Microsoft Test Manager)