Easy Learning with C# Test Automation Engineer - from Zero to Hero
Development > Software Testing
21 h
£44.99 £12.99
4.4
24959 students

Enroll Now

Language: English

Master C# Test Automation: From Beginner to Expert

What you will learn:

  • C# Test Automation
  • Selenium WebDriver
  • API Testing with RestSharp
  • Page Object Model (POM)
  • Test Automation Frameworks
  • NUnit
  • REST APIs
  • HTTP Methods
  • JSON Schema Validation
  • BDD with SpecFlow
  • Clean Code Principles
  • Visual Studio
  • Postman
  • Software Testing Best Practices

Description

Transform your career with our comprehensive C# test automation training! Whether you're a coding novice or have some experience, this course provides a rapid path to mastering C# for software testing. High demand awaits skilled automation engineers, and this program equips you with the in-demand skills to excel.

This isn't just one course; it's four rolled into one! We cover the fundamentals of C# programming, building a robust foundation for your automation journey. You'll then delve into Selenium WebDriver for efficient web application testing, learn the essential Page Object Model (POM) for maintainable frameworks, and construct your own adaptable test automation frameworks from the ground up. We even explore advanced API testing using RestSharp.

What you'll achieve:

  • Solid grasp of C# programming fundamentals.
  • Proficiency in Selenium WebDriver for web automation.
  • Mastery of the Page Object Model (POM) for robust test design.
  • Ability to build custom test automation frameworks.
  • Experience in API testing with RestSharp.
  • Confidence tackling real-world automation challenges through practical projects.
  • Best practices for efficient and maintainable automation code.

Why Choose This Course?

  • Hands-on Projects: Learn by doing with engaging exercises and realistic projects.
  • Expert Guidance: Benefit from the experience of seasoned instructors.
  • Career Boost: Gain in-demand skills for top tech companies.
  • Lifetime Access: Enjoy unlimited access to course materials and community support.

Start your journey to becoming a sought-after C# Test Automation Engineer. Enroll now and unlock your potential!

Curriculum

Introduction

This introductory section sets the stage for your learning journey. Lectures cover course introductions, communication plans, effective resource utilization, and tips for maximizing your learning experience. The lectures are concise and action-oriented, preparing you for the technical content ahead.

API Basics

This section provides a foundational understanding of APIs and web services. Topics covered include an overview of API types, a deep dive into REST APIs, explanations of HTTP methods (GET, POST, PUT, DELETE), and a comprehensive review of HTTP status codes. You will gain a practical understanding of how APIs work.

Test Environment Setup

This section guides you through setting up your testing environment. You'll learn about Postman, a powerful tool for API testing, and its installation. You'll also learn how to create a Trello account and generate authorization tokens, which are essential steps in many automation scenarios.

HTTP Method GET - Postman

This section uses Postman to demonstrate the GET method for API calls. You will learn to use GET requests in Postman, validate responses using JSON Schema, and complete hands-on exercises to reinforce your knowledge. JSON Schema validation is a key aspect of ensuring data integrity in your tests.

HTTP Method POST - Postman

Similar to the GET method section, this section demonstrates the POST method in Postman. You will practice sending POST requests, handling responses, and validating them. The practical exercises ensure you become comfortable with this crucial HTTP method.

HTTP Method PUT - Postman

This section focuses on the PUT method, crucial for updating data through APIs. You'll learn to use the PUT method in Postman, validate the responses, and complete hands-on tasks to master this fundamental HTTP method.

HTTP Method DELETE - Postman

Here, you'll learn about the DELETE method, used for removing data. You'll practice using DELETE methods in Postman, validating responses, and completing exercises for practical application and comprehension.

Postman Tips

This section delves into advanced Postman techniques, including the use of variables to make your tests more flexible and reusable.

Automated Test in Postman

This section shows you how to create and run your first automated test within the Postman environment. You will learn the basic concepts of test automation within this popular API testing tool.

Development Environment Setup

Set up your development environment using Visual Studio Community Edition and .NET 6. This section provides step-by-step instructions to ensure you have the right tools ready to start coding your test automation frameworks.

Simple application with Rest Sharp

This section introduces RestSharp, a popular C# library for API testing. You’ll create your first RestSharp application, learn about NUnit for assertions, and build your first test using RestSharp. Hands-on exercises are included to build your skills.

HTTP Method GET - Rest Sharp

This section focuses on implementing the GET method using RestSharp. You will learn to perform GET requests, validate responses using Newtonsoft JSON, and complete associated homework tasks.

Test Framework Refactoring

This section improves the structure of your test framework through refactoring techniques. Topics include inheritance, creating a BaseTest class, parameterized NUnit tests, and improving code structure for better maintainability. Practical exercises will help you implement these techniques.

HTTP Method POST - Rest Sharp

This section demonstrates the POST method with RestSharp. You'll practice sending POST requests, validating responses, and completing related exercises to solidify your understanding.

HTTP Method PUT - Rest Sharp

This section focuses on the PUT method using RestSharp for updating data, including practical exercises and validations.

HTTP Method DELETE - Rest Sharp

This section covers the DELETE method in RestSharp, focusing on deleting data and validating results with hands-on activities.

Run Rest Sharp Tests via CMD

This section teaches you how to execute your RestSharp tests directly from the command line, making your testing process more efficient.

Rest Sharp Version Update

This section covers upgrading your RestSharp library to the latest version. You’ll learn best practices for managing updates in your project. This is practical and crucial for staying current with technology.

Selenium simple application

This section introduces Selenium WebDriver for web UI testing. You'll set up a simple application with Selenium 4 and learn how to add basic UI interactions. Practical exercises help you gain hands-on experience.

First Selenium test with NUnit

This section combines Selenium with NUnit for creating your first automated UI tests, integrating assertions and learning to run Selenium tests within the NUnit framework.

Waits in Selenium

This section covers crucial aspects of Selenium testing: implicit and explicit waits. You'll learn to add waits to your tests to handle asynchronous operations and improve test stability. Hands-on exercises are crucial here to build your skills.

Test Automation Patterns - overview

This section explores fundamental test automation design patterns like the Page Object Model (POM) and Web Component concepts. You’ll learn how to apply these patterns to make your tests more maintainable and scalable. Data Transfer Objects (DTOs) are also covered.

Run Selenium tests via Command Line

This section explains how to run Selenium tests via the command line, a vital step in incorporating your tests into a Continuous Integration/Continuous Deployment (CI/CD) pipeline.

CSS and XPath Selectors

This section provides detailed instruction in using CSS and XPath selectors for locating web elements, crucial for efficient and robust Selenium testing.

SpecFlow Course Materials

This section provides an overview of the project you will work on using SpecFlow and its objectives.

BDD Overview

This section introduces Behavior-Driven Development (BDD) and its principles, highlighting real-world application and practical examples. You'll gain an understanding of BDD and its implementation using SpecFlow.

Test migration from NUnit to SpecFlow

This section shows how to migrate existing NUnit tests to the SpecFlow BDD framework, effectively transitioning your testing approach to BDD principles.

C# SpecFlow Basics

This section covers the fundamental aspects of SpecFlow in C#, including step arguments, data tables, outlines, and background scenarios. The lectures are practical and include real-world applications.

C# SpecFlow Advanced

This section delves into advanced SpecFlow concepts such as sharing data between steps, step argument transformers, hooks, and tags. You'll learn advanced techniques to create highly efficient and scalable tests.

Extra: Cmd Tests Run and Reports for SpecFlow

This section shows you how to run SpecFlow tests from the command line and generate reports using Extent Reports. This will assist in automated testing integration into a CI/CD environment.

Bonus section

A bonus lecture providing additional valuable insights.