0
I have a testng.xml like this :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite verbose="0" name="Selenium Parallel Aim Suite" parallel="tests" >
  <test name="FB login and Screen capture" parallel="true">

    <classes>

    <class name="com.jm.webdriver.JTest1"/>
    </classes>
  </test>
    <test name="Google Search" parallel="true">

    <classes>
      <class name="com.jm.webdriver.JTest2"/>
    </classes>
  </test>
</suite>

我想在三台机器上启动这两个测试用例 1. Windows,2 linux 3. Mac 并行,怎么做?

4

1 回答 1

0

套件标签应该是 parallel = "true",而测试标签不需要并行属性。如果您正在寻找网格设置,请参阅 seleniumhq.org 文档。

于 2013-11-10T14:04:16.423 回答