Building Test Automation Framework - Selenium, C# & NUnit

Offered By
Coursera Project Network
In this Guided Project, you will:

Understanding test automation frameworks

Writing reusable components and utilities

Creating layered and structured code

Clock3 hours
AdvancedAdvanced
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

Selenium is one of the most widely used functional UI automation testing tools and integrates brilliantly with testing frameworks like NUnit. Test automation frameworks are a set of guidelines or rules for writing test cases. They can reduce maintenance costs and testing efforts and will provide a higher return on investment (ROI) for teams looking to optimize their processes. Testing guidelines include coding standards, test-data management, defining object repositories, reporting guidelines, and logging strategies. Through hands-on, practical experience, you will go through concepts writing reusable and structure code which is easy to maintain and understand, creating helper classes or utilities, write effective test cases, and generating reports and logs.

Skills you will develop

Functional TestingFramework DevelopmentSeleniumTest AutomationNunit

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Understanding Test Automation Framework and creating a directory structure

  2. Creating an automation layer and writing a generic method to invoke a browser and navigate to a URL

  3. Writing wrapper methods to perform user actions

  4. Creating an application layer - using POM as a design pattern

  5. Adding logic to the application layer

  6. Writing test cases in the test layer

  7. Adding screenshots to failed test cases and attaching to the report

  8. Marking a test fail and taking screenshots of failed test cases

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.