-
Notifications
You must be signed in to change notification settings - Fork 0
/
MobileTestNG-2.xml
40 lines (36 loc) · 1.25 KB
/
MobileTestNG-2.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8"?>
<suite name="Suite" verbose="10" parallel="tests" thread-count="2">
<!-- Reportng的监听器 -->
<listeners>
<listener class-name="org.uncommons.reportng.HTMLReporter" />
<listener class-name="org.uncommons.reportng.JUnitXMLReporter" />
</listeners>
<!-- 第一个手机的测试用例 -->
<test name="SAMSUNG_Note4_Index">
<!-- 手机的platformVersion -->
<parameter name="platformVersion" value="6.0.1" />
<!-- appium端口号 -->
<parameter name="port" value="6666" />
<!-- 手机的udid -->
<parameter name="udid" value="56fc6425" />
<!-- 手机的deviceName -->
<parameter name="deviceName" value="SAMSUNG_Note4" />
<classes>
<class name="jiankun.com.xiaoyou.cases.XiaoYouIndex" />
</classes>
</test>
<!-- 第二个手机的测试用例 -->
<test name="SAMSUNG_Galaxy_A8_Index">
<!-- 手机的platformVersion -->
<parameter name="platformVersion" value="6.0.1" />
<!-- appium端口号 -->
<parameter name="port" value="6667" />
<!-- 手机的udid -->
<parameter name="udid" value="baacc6e9" />
<!-- 手机的deviceName -->
<parameter name="deviceName" value="SAMSUNG_Galaxy_A8" />
<classes>
<class name="jiankun.com.xiaoyou.cases.XiaoYouIndex" />
</classes>
</test>
</suite>