Following technologies/ tools were used .
- Telerik Testing Framework from Progress Inc - this is the tool used for writing the UI tests.
- Visual Studio 2013 or above with C#
- Python scripting language - DO automate soem background tasks like mail sending, cleanup etc
- DOS batch files- To initiate the test building and running
- SMTP Server - I used free version of MailEnable - This is to send out the status mail that iis composed at the end of the test run 6 . Windows Task Scheduler _To schedule test runs
- Command line tools - MSBuild.exe, MSTest.exe - This is to build and run the tests in 'Test Runner' machine
- Dedicated VM for running the tests- Which I call it the 'Test Runner'
- Github repository to version controlling and pushing the tests to 'Test Runner' after they are being developed and tested locally.
The project is organised in the following manner
-
References
- all the dll references required to run the project including telerik files
-
common methods
- c# classes that are shared by the unit tests
-
object repo
- all the page oblect elements/locators are stoed as class properties
-
Tests
- VsUnit tests- actual test cases
-
app config
- values like db provider string, credentials etc are stored
-
Supporting Scripts to achive the background automatoin tasks
- Install Telerik test framework.
- Create a new VS project select “Unit test project” from “Test” under Template.
- Use VsUnit test to write the tests.