Sahi pro测试套件只运行一个测试用例

时间:2012-10-12 10:00:36

标签: javascript sahi

我是sahi pro的新手我想用两个测试用例运行测试套件。

我在Test2.suite中给出了两个测试用例,并通过给出命令testrunner.bat <sahi suite file name> <start url> <browser type>

开始运行

问题是它只运行第二种情况。请任何人帮忙吗?

1 个答案:

答案 0 :(得分:1)

你如何在套件中提供两个测试用例?我希望你的Test2.suite是这样的:

test_script1.sah // script for first test case
test_script2.sah // script for second test case

当您使用testrunner运行时,您的报告将显示Test2.suite的结果。单击名称时,可以单独查看两个脚本的结果。

另外,如果你能提到你正在使用的Sahi OS或Sahi Pro的版本,我可以查看该特定版本。

感谢, 的Vivek