Current Environment setup for a customer facing website that retrieves data from our internal application with proper permissions.
Dev site connected to Dev database
QA site connected to QA database
UAT site connected to UAT site
Each of the above sites are connected to our internal site and all have different data. No data base shares the same data.
We've just started using Test Studio and I've created a few tests for just navigating through the site to verify pages are all loading. Now it's time to do something a little more complex like searching for an item in a specific status.
So there is a single test case currently - 'Batch cancelled status'
I have it connected to the QA SQL data base so that when the test runs it will find a set of items that I want per the TSQL written. Works great, no issues.
Now I want to use that same test for Dev and UAT, preferably without having to create two more test that are identical other than the database connections. I don't want to have to maintain 3 sets of tests for each of the many situations we have for various scenarios in many different status. This could become a nightmare when changes to the site will eventually be made.
Any advice on this topic would be greatly appreciated. Thanks!