Forum Discussion
4 Replies
- ArtemS
Alumni
Hi, Raghavendra
If all your projects are stored in one project suite, then you can specify and configure test items for each project and then run the entire project suite. See Tests and Test Items and Creating Batch Test Runs - googleid_109910Occasional ContributorThank you Artem for the reply. But i want to control which projects to be run from an excel sheet.
For ex: There are 10 projects in my project suite, i want to run selected 5 projects which are mentioned in my excel sheet. Can i do that using a batch file or any other method?
Thanks
Rags - ArtemS
Alumni
Well... in the project suite's Test Items editor you can include/exclude separate projects for running with just a single click on the Enabled setting.
Controlling which projects to be run from an Excel sheet, seems to be much more complicated task. Just a few ideas:
Insert links to TestComplete projects into an Excel sheet. Clicking this link in Excel would open the project in TestComplete IDE, but will not start it automatically.
Use Excel's macro to launch TestComplete projects via command-line or via COM
Read Excel sheet data from within TestComplete project(using one of these methods) and then execute only those projects that were somehow selected for the run
- googleid_109910Occasional ContributorThank you Artem. Looks like there are quite a few options. Will work on them and get back with the results.