Forum Discussion

cdouglas's avatar
cdouglas
Occasional Contributor
14 years ago

Data driven loop performed through DBTable?

I'm writing a test using a DBtable checkpoint through a data driven loop. Everything I can find indicates I can only loop through an application but I need to loop through another database table. Can anyone point me in th right direction?

5 Replies

  • scsvel's avatar
    scsvel
    Frequent Contributor
    You can use ADODriver from DDT object of TestComplete and connect to another database and loop through.
  • cdouglas's avatar
    cdouglas
    Occasional Contributor
    I've created the loop and the DB table checkpoint. As a test run I only stored 10 records (There's thousands of lines in the table). When I run the loop the entire table is cycled. Ideas?
  • Hello Courtney,



    Could you please describe your initial task and the scenario you are trying to apply? Also, please describe the difference between the expected and actual behavior in detail (a simple example would be appreciated).
  • cdouglas's avatar
    cdouglas
    Occasional Contributor
    Thank you, but I was able to figure out why the cycle kept repeating itself.