select/run test by test item using command line
In the same fashion that you can select and then run a test item or test item group while viewing the project in TestComplete, it would similarly be useful to be able to select a project test item or test item group and run it with the TestComplete or TestExecute using the command line. So if the project items look like this:
So we might run some tests like this:
TestExecute.exe TestProject14.pjs /run /project:TestProject14 /projectitem: Group1
TestExecute.exe TestProject14.pjs /run /project:TestProject14 /projectitem: ProjectTestItem2
TestExecute.exe TestProject14.pjs /run /project:TestProject14 /projectitem: Group2
Perhaps overloading the /projectitem flag is not a good idea? Then use a new flag, say, ... "/item".
TestExecute.exe TestProject14.pjs /run /project:TestProject14 /item: Group1
TestExecute.exe TestProject14.pjs /run /project:TestProject14 /item: ProjectTestItem2
TestExecute.exe TestProject14.pjs /run /project:TestProject14 /item: Group2
Should we honor or disregard the Enabled selection for the items and groups in the project? Or perhaps honor it by default, and force execution if a "/force" flag is used? For example, where TestItem2 is not enabled:
TestExecute.exe TestProject14.pjs /run /project:TestProject14 /item: ProjectTestItem2 /force