How create a single test suite to support multiple environment with assertion
Hi all, I am new to API automation with ReadyAPI. Great if anyone could advice me on below scenario with the industry best practices.
I have a requirement to create an API regression test suite which will supports multiple environments(Dev, UAT, Pre-Prod etc).
My question is, is that possible to create a single test suite which can be executed in different environments with assertions according to the environment if not what is the best approach?
Ex: There is an API to retrieve person data. I want same to be executed in different environments and also assert the data based on the environment and also change the request data automatically when the environment is changed.
Thanks in advanced 🙂
Hi MereMortal47 ,
if you don't want to use the "Expected Result" fields in a step-by-step test script, you can always go and add a custom field to your test cases.
https://support.smartbear.com/zephyr-scale-server/docs/configuration/about.html (under "Customize Fields") <-- Server Doc
https://support.smartbear.com/zephyr-scale-cloud/docs/configuration/customizing-fields-for-test-cases-cycles-plans-steps-and-executions.html <-- Cloud Doc (though the feature is the same for both).
Cheers
Josh