I know you can source control the coded tests in your local environment, and can export the recorded tests to code and then put in source control, but then to “reload from an earlier state” you would have to add them back in as coded tests. For our purposes we want as much to stay recorded as possible. This could even just be a history within TestProject of changes made to a test.
Currently, there is no official feature of Source Control, but there is an option to control your test versions by doing the following steps:
- Enter your project.
- Mark all the tests related to your work.
- Click on the three dots from one of the tests you marked.
- Click on “Duplicate X tests” (X = sum of the test you marked).
- Click on “+ new folder”.
- Fill the name and the description of your folder (Date and time for example).
- Mark the duplicated tests, click on the three dots and click on “Move X tests to folder”.
This way, you actually created a version that you can always go back to.
**Remember that all the Elements you are creating are saved per Application, once you will change some created element in some test, it will change in all the tests that use the same application/website.