Produce Functional Test Automation in Visual Studio 2017 (Note for extension in VS 2017 please refer here to download the extension) Introduction: This project template once installed in Visual Studio will provide you a single source for producing your test automation for your Web Application, your UWP Apps and Mobile Apps on Android by just writing 2-3 reusable lines of code. It also provides the capability of executing the tests on different platforms e.g. Windows machine, mobile devices (Windows and Android). Targeted Audience: QA team members and DevOps team members who wanted to generate their automated tests for their regression suites and Continuous Integration in their Application life cycle. Pre-Requites: Please refer here to my blog for more details on configuring and running Web, UWP and Android testing using Visual Studio. Running First Automated Test: Once you install the extension, create a new project using the template "Develop_Automated_Tests". Once project is ready compile the project and correct if any error appears. After this please follow following quick steps to develop and run your first automated test:
Result for a passed test case: Creating new test cases: Please refer here to my blog for more details on configuring and running Web, UWP and Android testing using Visual Studio. Trobleshooting: If you encounter error(s) related to "cannot get automation extension from unknown error". Please download the latest Drivers from respective providers e.g. Chrome from Google, IEDriver from Github etc. in your Drivers folder and run the tests again. |