Cross Browser Testing In MSTest Framework Using Selenium C# | MSTest Tutorial | Part IV
In this part of the MSTest Tutorial, Karthik KK (@kartamd) helps you understand how to run the Selenium C# test with the MSTest framework using the TestMu AI platform. This video tutorial also guides you on how to configure your local Selenium tests to run it on TestMu AI platform. By the end of this video, you will also learn how to run the locally hosted application in the TestMu AI platform.
00:00 Introduction
00:40 Disadvantages of local Selenium Grid
01:11 Advantages of Online Selenium Grid by TestMu AI
02:48 What is TestMu AI platform
03:25 How to integrate or connect your MSTest automation script to run on TestMu AI’s cloud based Selenium Grid
04:47 How to get the Desired Capabilities to execute your test using RemoteDriver
05:38 How to write a test script using MSTest to perform automation testing with the help of TestMu AI
08:35 Viewing the test execution result of running automation tests using MSTest on TestMu AI platform
10:24 How to automate a localhost URL on the TestMu AI platform with the help of Lambda Tunnel
15:43 Conclusion of Session
Introduction to MSTest Framework and Selenium with C#: The video begins with an overview of the MSTest framework and its integration with Selenium for writing UI tests. It sets the stage for why running tests on a local grid can be limiting and introduces TestMu AI as a solution.
Limitations of Local Grid Testing: It highlights the challenges of maintaining a local Selenium grid, such as the need for an always-up infrastructure, the costs associated with setting up various browsers and operating systems, and the complexity of managing different nodes.
Introduction to TestMu AI Platform: TestMu AI is presented as a sophisticated platform that overcomes the limitations of local grid testing. It provides a secure, reliable, and scalable Selenium infrastructure for automated cross-browser testing across over 2000 browsers and operating systems. The platform also supports testing of locally hosted web applications via tunneling.
Configuring TestMu AI Integration: The video guides viewers on configuring their local Selenium C# code to integrate with TestMu AI. It covers setting up the necessary capabilities, including platform, browser versions, and names, as well as specifying the TestMu AI hub URL, username, and access key.
Running Tests on TestMu AI: The process of running parallel Selenium UI tests on TestMu AI's Selenium grid is demonstrated. The video explains how to perform cross-platform and cross-browser testing, highlighting the ability to test on multiple browsers, versions, and operating systems simultaneously.
TestMu AI Tunneling for Local Applications: An important feature discussed is TestMu AI Tunneling, which allows testers to run their locally hosted applications on TestMu AI's cloud infrastructure. The video demonstrates how to set up tunneling and modify the test code to use this feature, enabling testing of local applications in a cloud environment.
Practical Demonstration: Throughout the video, practical demonstrations are provided to show how to execute the discussed configurations and tests. The TestMu AI dashboard is showcased, highlighting its features and how it displays test results, including concurrent tests executed, screenshots, and videos of the tests.
Benefits of Using TestMu AI: The video concludes by emphasizing the benefits of using TestMu AI for Selenium testing with C# and MSTest. It mentions the ease of testing across a wide range of browser and OS combinations, the simplicity of testing locally hosted applications through tunneling, and how TestMu AI addresses the infrastructure maintenance challenges.
Most Complete MSTest Framework Tutorial Using .Net Core
MSTest Tutorial: Environment Setup For Selenium Testing
Selenium MSTest Tutorial: Setup Selenium WebDriver For MSTest Framework In C#
MSTest Tutorial: Running First Selenium Automation Script
MSTest Tutorial: Parameterized Tests For Selenium Testing
NUnit vs. XUnit vs. MSTest: Comparing Unit Testing Frameworks In C#

Karthik KK
Karthik is a seasoned professional currently based in Auckland, NZ, engaging in a multifaceted career that spans consulting, blogging, and extensive research on diverse tools and technologies. Karthik's passion for innovation and continuous learning is evident in his dynamic exploration of various domains that fuel his curiosity.