Forum Discussion
When creating a data driven loop in a keyword test, you get the following dialog.
Database query is the option that I selected... and it makes better sense with needing to do a custom query.
As for scripting... a skill worth learning and I'd highly recommend doing so. As useful and functional as Keyword Tests are, they are lacking in the flexibility of being able to do all sorts of custom things that the world of Scripting provides. You will run into situations (and you just did :) ) where GUI wizards and such run their course and you need to do something more advanced. I'd definitely see about taking some online tutorials or courses in getting some training in scripting. I'd start https://www.w3schools.com/js/ for JavaScripting... well worth the time.
For me, when I select Database Query, and complete the setup, when I go back into the variables tab:
I see the following:
Thank you for the information about JavaScripting. Looks like, I need to start looking into some classes.
- tristaanogre7 years agoEsteemed Contributor
DB Table is correct. I was more interested as to where things went through in the Wizard.
And yes, definitely look into scripting.
The other place to look is in the operating system side of things and the drivers being used there. TestComplete uses the drivers built into windows to do the SQL connection so it's possible that something there can be adjusted for query timeouts.
Related Content
- 6 years agorizzomeister
- 2 years agomattb
Recent Discussions
- 19 seconds agoGill