测试项目或测试项目组从TestExecute中的命令行开始

时间:2015-01-09 19:00:22

标签: command-line-arguments testcomplete

是否可以从TestExecute命令行启动子组测试?

我希望能够启动Emulators或SemiReal子组(图像上带有文件夹图标)或Emulators或SemiReal测试。 我尝试了描述中的不同组合:http://support.smartbear.com/viewarticle/54705/

这是最后一个结果,但仍无效:

"%PROGRAM_FILES%\SmartBear\TestExecute 10\Bin\TestExecute.exe"
"C:\TestProject\LraTestProjectSuite.pjs" 
/r /p:EpicIteration /projectitem:SemiReal /e 

结果是:

The project item 'SemiReal' was not found in the project 'EpicIteration'. 

测试项目结构如下所示:

Test project structure

从命令行启动不同子测试组的正确方法是什么?

1 个答案:

答案 0 :(得分:2)

无法从命令行运行特定的测试项。您尝试使用的 / projectitem 参数会运行项目项目(例如Network Suite作业或特定关键字测试),但不会运行测试项目。

您可以找到一个解决方案,允许您在SmartBear网站上的this article中运行单个测试项目。