Forum Discussion
rraghvani
Champion Level 3
3 years agoIn TC, you can use SQL, see for example ADO.CreateConnection.
You need to somehow wait until your SQL process has finished before proceeding.
Marsha_R
Champion Level 3
3 years agoOnce the database script is added to the top of your test cases, then add a loop right after it to look for the last record in the database. If it is not there, wait some more and let the loop check again. If it is there, then fall through the loop and start the actual test cases.