Forum Discussion
I'm not sure how you have configured your database connection string, but it might be worth having a project variable which holds your database connection string. Without making changes to your actual project, you can pass your database connection string to your project variable using TestComplete Command Line, see /PSVar and /PrjVar.
I've written my automation using scripts, and I use an ini file,
I have the ability to change the environment, database, browser, username and password
How would you pass that project variable into the database table check point server name field though?
When I set up a database checkpoint it requires me to enter the server name I want to run the query on so this corresponds to the environment I am running my test in. If I change environment I would need to change this server name on the database checkpoint so I'm not sure how I would go about adding a variable to be able to switch this.