-
Notifications
You must be signed in to change notification settings - Fork 0
/
MobileTestNG-3.xml
55 lines (50 loc) · 1.72 KB
/
MobileTestNG-3.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8"?>
<suite name="Suite" verbose="10" parallel="tests" thread-count="4">
<!-- 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="OnePlus_1+_Index">
<!-- 手机的platformVersion -->
<parameter name="platformVersion" value="6.0.1" />
<!-- appium端口号 -->
<parameter name="port" value="6667" />
<!-- 手机的udid -->
<parameter name="udid" value="9ef118a2" />
<!-- 手机的deviceName -->
<parameter name="deviceName" value="OnePlus_1+" />
<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="6668" />
<!-- 手机的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>