ajohnson2020
13 years agoContributor
Multi-operation SQL testing in TestComplete
Hello all,
I have been using TestComplete a long time to test our Delphi application with an MS SQL database. I have quite a few SQL validation tests, but they're all in the nature of building an individual query, updating an individual piece of data, or validating data in a table after performing an operation in the main application.
I would like to use TestComplete to implement some more complex dedicated SQL tests, requiring a minimum of : (1) Execute one or more commands or procedures, (2) validate resulting data, and (3) rollback the entire test sequence so data is not affected for subsequent tests.
Any suggestions on the best way to accomplish this? Can it all be done in one long ADO session somehow?
Thanks.
Allen
I have been using TestComplete a long time to test our Delphi application with an MS SQL database. I have quite a few SQL validation tests, but they're all in the nature of building an individual query, updating an individual piece of data, or validating data in a table after performing an operation in the main application.
I would like to use TestComplete to implement some more complex dedicated SQL tests, requiring a minimum of : (1) Execute one or more commands or procedures, (2) validate resulting data, and (3) rollback the entire test sequence so data is not affected for subsequent tests.
Any suggestions on the best way to accomplish this? Can it all be done in one long ADO session somehow?
Thanks.
Allen