Skip to main content

SeeTestAutomation- Executing Tests In MSTest From Visual Studio

info

Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .

Example: Integrate SeeTestAutomation into C# MSTest

Step 1: In C#, create a C# test project

Step 2: In the project select 'Add Reference…'

Step 3: Select 'Browse' and navigate to the clients\C# directory in the SeeTestAutomation installation folder (C:\Program Files\Experitest\SeeTest). Select the 2 dlls and approve it.

Step 4: In SeeTestAutomation, go to the "Code" tab and select from the drop-down menu the C# MSTest. Copy the code that appears.

Step 5: then paste it into a project test. You can now run the test by right clicking on the test and selecting 'Run Tests'