小编Muz*_*asi的帖子

有没有办法在testng.xml并行运行两个.xml文件?

我目前有两个不同的TestSuite(SUITE1.XML和SUITE2.xml),配置不同(例如浏览器,Os)......

我把testng.xml里面的两个SUIT调用在saucelabs上运行......它运行良好......只有我关心的是,我希望这些套件能够并行而不是顺序运行...

我得到的输出是

[TestNG] Running:
  /Users/muzamilabbasi/Automation/BaublebarTest/Suite1.xml

This is Browser String FIREFOX
This is Platform String WIN8
This is Version String 25
This is Browser String FIREFOX
This is Platform String WIN8
This is Version String 25
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
Page Title isGoogle
Page Title isGoogle

===============================================
mysuite1
Total tests run: 2, …

java testng saucelabs

2
推荐指数
1
解决办法
1万
查看次数

标签 统计

java ×1

saucelabs ×1

testng ×1