ajohnson2020
15 years agoContributor
Changing DBTables database target without changing data
I am running TestComplete 7.51, and use some DBTables stores that reference data generated during some of my tests.
When we go into a new major software release I copy the database under a new name for subsequent development,
keeping the old database for testing of customer issues and service packs. My TestComplete project is copied to
the new code repository branch at the same time, and I want to point my new project to the data in the new database.
It's kind of a pain to have to step through the test that each DBTable store references to recapture the data that I know hasn't changed, just to change the database name. Is there a way to change just the connection data without forcing a new database query?
Even better would be a way to have a single connection string for the whole DBTables collection, which I guess is a feature wish for a later version.
Allen
When we go into a new major software release I copy the database under a new name for subsequent development,
keeping the old database for testing of customer issues and service packs. My TestComplete project is copied to
the new code repository branch at the same time, and I want to point my new project to the data in the new database.
It's kind of a pain to have to step through the test that each DBTable store references to recapture the data that I know hasn't changed, just to change the database name. Is there a way to change just the connection data without forcing a new database query?
Even better would be a way to have a single connection string for the whole DBTables collection, which I guess is a feature wish for a later version.
Allen