-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTestNG4.java
More file actions
46 lines (36 loc) · 757 Bytes
/
TestNG4.java
File metadata and controls
46 lines (36 loc) · 757 Bytes
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
package selenium;
import org.testng.annotations.Test;
public class TestNG4 {
@Test (priority = -20)
public void a() {
System.out.println("a test method");
}
@Test (priority = 2)
public void d() {
System.out.println("d test method");
}
@Test (priority = -10)
public void b() {
System.out.println("b test method");
}
@Test (priority = 0)
public void z() {
System.out.println("z test method");
}
@Test
public void s() {
System.out.println("s test method");
}
@Test
public void e() {
System.out.println("e test method");
}
@Test (priority = 1)
public void f() {
System.out.println("f test method");
}
@Test
public void a3() {
System.out.println("a3 test method");
}
}