JustinL22
3 years agoContributor
Switching database connections based on environment
Hi,
I currently have a suite of keyword tests that have been built up to run on a specific test environment e.g. Environment A. If I want to run these same tests across different environments I understand there are some updated required to the object mapping urls to allow this to work such as wildcarding out the test environment name.
However within some of the tests there are database check points that when originally set up require the database connection to be specified. If I change the environment they are run on e.g. Environment A to Environment B then the database query will be looking in the wrong location. Is there a way the database connection for the checkpoint can be switched based on the environment the test is run in?
Thanks