Forum Discussion
lakshmi_veerapp wrote:
We have created a Keyword test with Data driven loop added to it in TestComplete. Just wanted to know if this can test be executed with TestExecute. Also, is it possible to map new spreadsheet to this data driven loop using TestExecute
As has already been mentioned, the answer to your first question is "Yes"... The answer to your second question is more on the lines of "it depends". Any code, tests, etc., that you create in TestComplete can then be executed in TestExecute. So, if you create your testing code/keyword test in TestComplete with sufficient conditionals, etc., you can dynamically change the source of the data driven loop.
The way we used to do things "back in the day" was that we would have (as Colin_McCrae mentioned) different folders for different sets of tests. We would also have a "current" folder that, whatever set of tests we wanted to run, we'd copy into that folder. For a test run, we had a simple batch file that would copy the desired test set from it's storage folder into the "current" folder and then run TestExecute via command line for our project. So, the spreadsheet you have on your DDT loop on your keyword test is pointing to a specific file in a specific folder... You can't necessarily "map" a new spreadsheet dynamically in TestExecute but what you CAN do is copy a different Excel sheet with the same name into that folder to get a different test run.
Related Content
- 2 months agoasantev2
- 3 years agoMarkSchofer
- 3 years agotestbogus
- 2 years agozokirsalomov
Recent Discussions
- 4 hours agoashly