-
Notifications
You must be signed in to change notification settings - Fork 0
/
testng.xml
36 lines (30 loc) · 1.2 KB
/
testng.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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="Suite" parallel="methods" thread-count="1"
verbose="10" data-provider-thread-count="6">
<listeners>
<listener class-name="org.automation.listeners.Listener" />
<!-- Below is custom annotation listener -->
<!-- <listener class-name="org.automation.listeners.AnnotationTransformer"/> -->
</listeners>
<test name="chrome">
<parameter name="Browser" value="Chrome" />
<classes>
<class name="org.automation.tests.TestRunner" />
</classes>
</test>
<test name="firefox">
<parameter name="Browser" value="Firefox" />
<classes>
<class name="org.automation.tests.TestRunner" />
</classes>
</test>
</suite>
<!-- data-provider-thread-count="2" to limit the parallel execution of data
provider -->
<!-- <suite name="Suite" verbose="10" parallel="classes" thread-count="2"
preserve-order="true" data-provider-thread-count="1"> -->
<!-- <suite name="Suite" verbose="10" parallel="tests" thread-count="2" preserve-order="true"
data-provider-thread-count="1"> -->
<!-- <suite name="Suite" verbose="10" parallel="false" thread-count="2" preserve-order="true"
data-provider-thread-count="1"> -->