Selenium C# Test Automation Training Course

Introduction

  • Overview of Selenium automated web application testing
  • Overview of C# and .NET

Getting Started

  • Installing and configuring WebDriver with C#
  • Using NuGet, libraries, and extensions
  • Preparing Visual Studio
  • Identifying UI elements

Using Selenium WebDriver

  • Performing user actions in WebDriver
  • Capturing and validating data from web page
  • Using frames, alerts, and multiple browser windows

Using C#’s Built-in Functions

  • Handling exceptions
  • Synchronizing
  • Working with Page Objects (POM)
  • Testing structure
  • Using helper libraries

Using C# Selenium Test Automation

  • Setting up a project for Selenium automation framework in C#
  • Creating a C# Selenium automation framework .NET Core 5.0 from scratch
  • Writing a test using Selenium, C#, and Nunit with Visual Studio IDE
  • Running a C# Selenium test
  • Executing C# Selenium tests on a browser

Troubleshooting

Summary and Next Steps

Selenium Webdriver – How to Do Mouse and Keyboard Actions

Drag and drop with Selenium Webdriver

Resize objects using Selenium Webdriver

draw on a canvas using Webdriver

perform a click and hold

perform a double click

work with HTML 5 for drag and drops

pass different keys to the application

Requirements

  • Basics of Selenium Webdriver API
  • Basic understanding of C# and Visual Studio

Description

Are you working on automating mobile or tablet testing? Do you have an application developed in Angular JS that has a lot of complicated user interactions? Do you need to perform actions like drag n drop, resizing, and drawing? Do you know how to open the developer toolbar so that you can monitor network traffic of your application? If you want to learn all this, then this is the perfect course for you.

Even if you are not working with these actions yet, you will need to know them in the future as mobile and other complicated frameworks grow.

“The best tutorials I have ever seen, simply awesome. I take off my hat in front of you, you are an gorgeous professor, I am speechless to express how satisfied I am with these tutorials.” -Lisbey

  What will you learn?               

– Drag and drop with Selenium Webdriver

– Open developer tools to monitor traffic during your automated tests

– Resizing objects using Selenium Webdriver

– How to draw on a canvas using Webdriver

– How to perform a click and hold

– How to perform a double click

– How to work with HTML 5 for drag and drops

– How to pass different keys to the application

– So much more…

What my students are saying:

“It’s so good! Instructor was quick on the point, he really knows how to capture people’s attention by having short videos and demos!.” -Johnny

“Great Video I have ever seen on YouTube. You are so so clear and honest in presenting the material. I had no idea how important it is to use QTP from different angle, that is via scripting. Great Work and Thank You so so so much!” -Mohammed

Who this course is for:

  • Students seeking to learn how to work with mouse and keyboard in Selenium
  • Students attempting to perform complicated actions using Selenium Webdriver
  • Students interested in drastically improving their Selenium Webdriver knowledge

Course content

3 sections • 24 lectures • 1h 8m total lengthExpand all sections

Introduction4 lectures • 7min

  • Course Introduction02:09
  • Course Resources00:01
  • What are user interactions in Selenium Webdriver?02:11
  • What are the different kind of user interactions02:26

Performing a drag and drop with Selenium Webdriver10 lectures • 32min

  • How to create an Actions class in Webdriver03:20
  • Analyzing our application under test03:42
  • Writing the drag and drop test04:40
  • Finishing the first drag and drop test03:15
  • Executing the first drag and drop test03:32
  • Starting to write the 2nd drag and drop example03:47
  • Writing a 2nd drag and drop example02:57
  • Running a 2nd drag and drop example02:03
  • Drag and drop quiz question01:06
  • Drag and drop quiz answer03:38

Open Developer Toolbar, Resizing, and Drawing with Selenium Webdriver10 lectures • 29min

  • How to do a resize action with selenium webdriver04:35
  • How to open developer tools with selenium webdriver05:27
  • Running a test that opens a network tab in firefox01:59
  • Drag and drop with html 5 quiz question00:57
  • Drag and drop with html 5 answer part 104:31
  • Drag and drop with html 5 answer part 202:47
  • How to draw on a canvas with selenium quiz00:32
  • How to draw on a canvas with selenium quiz answer04:06
  • Conclusions for course03:37
  • BONUS LECTURE!!!00:50

Using UFT Developer for Web Apps (Visual Studio and Csharp)

UI Testautomation with UFT Developer

Building Basic Test Scripts

Working with Object Identification Center

Working with Application Models

Using Reporter Object

Define Custom Checkpoints

Screen Recording

Parametrization

Data Driven Testing

Reusable Functions

Requirements

  • Visual Studio 2019 Installation
  • C# Basic Knowledge
  • .NET Basic Knowledge
  • MsTest Installation

Description

UFT Developer helps you develop automated tests for a wide range of technologies, using standard IDEs with modern programming languages. UFT Developer requires familiarity with the basics of programming in the language you use to develop your tests.

Requirements prior course:

  • Install the UFT Developer runtime engine on any machine where you want to run UFT Developer tests.
  • Install one or more supported IDEs and the relevant UFT Developer plugins on any machine where you want to write and edit UFT Developer tests.

In this course, you will learn how to use UFT Developer for Csharp (C#) using Visual Studio and MsTest as testing framework.

In the IDE of your choice, create a UFT Developer testing project, use UFT Developer to create test object descriptions and write tests that can perform operations on your applications.

Create a testing project

Create a UFT Developer testing project in the IDE of your choice, using the project templates provided with the UFT Developer plugins or use your own custom framework.

Customize your test settings

Customize the UFT Developer runtime server settings and report options.

Define test objects

Create test object descriptions that enable UFT Developer to identify the objects in your application and can withstand changes in the application you’re testing.

Write programmatic descriptions or use the visually oriented tools that UFT Developer offers to provide an interface to the tested application and its objects.

Write tests

After you create test object descriptions, write automated tests whose steps call the methods and properties of these UFT Developer test objects.

Add code to verify application behavior

Verify that the objects in your application look and behave as you expect.

When these special steps return false results, the step and test fail, but no exception is thrown and your test continues to run.

This course will cover the following:

  • Build Application Models
  • Create Test Scripts
  • Running Test Scripts
  • Calculation and custom checkpoints
  • Output Values and Parametrization
  • Data Driven Testing
  • Screen Recorder
  • Using Reporter Object
  • Working with Test Recorder
  • Summary

Upon successful completion of this course, you will be eligible to:

  • be more productive
  • better collaborate
  • use agile methodologies in a smarter way
  • support the software delivery lifecycle
  • take on lead roles in your projects and advance in your career

Who this course is for:

  • Developer
  • Tester
  • Automation Engineer

Course content

1 section • 11 lectures • 1h 59m total length

UFT Developer for Web App Testing (Visual Studio and C#)11 lectures • 1hr 59min

  • Introduction to UFT Developer Automation for Web Applications (Basic Course)03:01
  • Build Application Models for Web App21:25
  • Build Basic Test for Web App22:56
  • Calculation, output and custom checkpoints19:33
  • Parametrization and Data Driven Testing11:54
  • Working with Native Object Properties08:42
  • Working with the Reporter Object10:11
  • Using the Test Recorder06:21
  • RunJavaScript on BrowserPage02:51
  • Utilizing ScreenCapture03:37
  • Additional Settings & Summary08:38