Forum Discussion
Here you go: http://support.smartbear.com/viewarticle/54705/
/project:project_name /test:test_name
TestExecute will run the specified test. Project_name specifies the name of the project that holds the desired test (use the same name as the one shown in the Project Explorer panel). Test_name specifies the full name of the desired test. The full name should include the test name, the name of the parent project item and (for scripts) the unit name separated by the pipe character ( | ) and enclosed in quotation marks. For example,"KeywordTests|Test1" or "Script|Unit1|Main". The test name should not contain the name of the Advanced folder or the names of other logical project folders.
- javance11 years agoOccasional Contributor
Marsha_R wrote:Here you go: http://support.smartbear.com/viewarticle/54705/
/project:project_name /test:test_name
TestExecute will run the specified test. Project_name specifies the name of the project that holds the desired test (use the same name as the one shown in the Project Explorer panel). Test_name specifies the full name of the desired test. The full name should include the test name, the name of the parent project item and (for scripts) the unit name separated by the pipe character ( | ) and enclosed in quotation marks. For example,"KeywordTests|Test1" or "Script|Unit1|Main". The test name should not contain the name of the Advanced folder or the names of other logical project folders.
This does not appear to do what I want. I have my tests organized into groups, under Organize Tests. I want to run a group, not individual tests in the group. The groups appear to be test items and not project items, and I can only specify project items or single tests to run, according to the documentation above. I've tried most combinations of switches above, and TestExecute silently fails to run after loading the project suite.
- javance11 years agoOccasional Contributor
Apparently I have to write a script to do some COM magic. Which I'd rather not do, and I don't even know if this would work with a machine with just TestExecute installed.
This is just inexcusable. The more I work with TestComplete, the sadder I get.
- javance11 years agoOccasional Contributor
Further reading, I don't think this would work with TestExecute at all. This is using COM to drive TestComplete. OK fine, but the machine won't have TestComplete installed. I could use COM to drive TestExecute, but TestExecute has neither GUI functionality nor command line switches to run test items.
- mes607311 years agoContributor
If you have both TestCompelte and TestExecute, then you can leverage Distributed testing to 'control' the test run from TestComplete while it executes on the remote machine using TestExecute.