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

Test item or test item group start from commandline in TestExecute

是否可以从 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'. 

测试项目结构如下所示:

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

不可能从命令行运行特定的测试项目。您尝试为此使用的 /projectitem 参数 运行 是项目项(例如 Network Suite 作业或特定关键字测试),而不是测试项。

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