Downloading and reusing recorded tests from Test Studio
First, we’ll describe how to generally download a YAML file from Test Studio and adapt it for use in Test Engine. Then, we’ll examine how to download and adapt the specific sample we created in Test Studio in Chapter 5.
To download a YAML test file from Test Studio for use in Test Engine, follow these steps:
- In Test Studio, download recorded tests using the Download suite button. Choose the desired test suite if you have multiple. Alternatively, use the Download button under each test suite.
- In the Test Engine
config.dev.json
file, update thetestPlanFile
parameter to point to the downloaded YAML file (for example,../../samples/basicgallery/Gallery Navigation.fx.yaml
). Also, update the user credentials in theenvironmentVariables
section if using a different tenant or environment. - Run the test in Test Engine using the
dotnet
run
command.
By following these general steps, you can download...