Hi,
I have a question about the process used to restore a project from a backup. When I update my TS installation, the first step is that it creates a backup of my project. When I navigate to the folder where the backup is stored, I see a .zip file, but I don't see a method from within TS that would allow me to open and use this back up.
I found a post in this forum from 2013 which described where backups are found, but no mention of how to use them.
Do I simply need to unzip the backup file and open the project file from within Test Studio?
If so, would I be correct in assuming the file I'd need to open is Pages.g.cs?
Thanks, in advance.
Dan
Unfortunately, Test Studio does not provide a built-in feature or dedicated method to directly restore and open a backup project from within the UI. Your assumption is correct: the backup is simply a compressed copy of your project.
How to Restore and Open the Backup
1) Unzip the Backup File
- Navigate to the folder where the backup .zip file is stored.
- Extract its contents to a location of your choice.
2) Open the Project in Test Studio
You can open the project in one of two ways:
- From Test Studio: Go to TestStudio→ Open → Project and select the extracted project folder.
- From the Welcome View: Use the Open Local Project option and browse to the extracted folder.
(Refer to the attached screenshots for guidance.)
Please note: The file you need to open is not Pages.g.cs. That file is an auto-generated code-behind file for page objects. Instead, you should select the project folder itself, which contains the .tstest files and the .aii project configuration file.
Once opened, the project will behave like any other Test Studio project.
If you have any further questions or run into issues while restoring, feel free to let us know.