File tree Expand file tree Collapse file tree 8 files changed +35
-86
lines changed Expand file tree Collapse file tree 8 files changed +35
-86
lines changed Original file line number Diff line number Diff line change 8
8
</run >
9
9
</groups >
10
10
<classes >
11
- <class name =" LocalBrowsers .Chrome" />
12
- <class name =" LocalBrowsers .Edge" />
13
- <class name =" LocalBrowsers .Firefox" />
14
- <class name =" LocalBrowsers .PhantomJS" />
15
- <class name =" LocalBrowsers .Safari" />
11
+ <class name =" localbrowsers .Chrome" />
12
+ <class name =" localbrowsers .Edge" />
13
+ <class name =" localbrowsers .Firefox" />
14
+ <class name =" localbrowsers .PhantomJS" />
15
+ <class name =" localbrowsers .Safari" />
16
16
</classes >
17
17
</test > <!-- javajenkins -->
18
18
</suite > <!-- Custom suite -->
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- package LocalBrowsers ;
1
+ package localbrowsers ;
2
2
3
3
import org .openqa .selenium .WebDriver ;
4
4
import org .openqa .selenium .chrome .ChromeDriver ;
5
5
import org .openqa .selenium .chrome .ChromeOptions ;
6
6
import org .openqa .selenium .remote .DesiredCapabilities ;
7
7
import org .testng .Assert ;
8
- import org .testng .annotations .*;
8
+ import org .testng .annotations .AfterTest ;
9
+ import org .testng .annotations .BeforeTest ;
10
+ import org .testng .annotations .Test ;
9
11
10
12
/**
11
13
* Created by andrew on 12/3/16.
12
14
*/
13
15
@ Test (groups = {"mac" , "windows" })
14
16
public class Chrome {
15
- WebDriver driver ;
17
+ private WebDriver driver ;
16
18
17
19
@ BeforeTest
18
20
public void chromeSetup (){
Original file line number Diff line number Diff line change 1
- package LocalBrowsers ;
1
+ package localbrowsers ;
2
2
3
3
import org .openqa .selenium .WebDriver ;
4
- import org .openqa .selenium .chrome .ChromeDriver ;
5
4
import org .openqa .selenium .chrome .ChromeOptions ;
6
5
import org .openqa .selenium .edge .EdgeDriver ;
7
6
import org .openqa .selenium .edge .EdgeOptions ;
8
7
import org .openqa .selenium .remote .DesiredCapabilities ;
9
8
import org .testng .Assert ;
10
- import org .testng .annotations .*;
9
+ import org .testng .annotations .AfterTest ;
10
+ import org .testng .annotations .BeforeClass ;
11
+ import org .testng .annotations .Test ;
11
12
12
13
/**
13
14
* Created by andrew on 12/3/16.
14
15
*/
15
16
public class Edge {
16
- WebDriver driver ;
17
+ private WebDriver driver ;
17
18
18
19
@ BeforeClass
19
20
public void edgeSetup (){
Original file line number Diff line number Diff line change 1
- package LocalBrowsers ;
1
+ package localbrowsers ;
2
2
3
3
import org .openqa .selenium .WebDriver ;
4
4
import org .openqa .selenium .firefox .FirefoxBinary ;
5
5
import org .openqa .selenium .firefox .FirefoxDriver ;
6
6
import org .openqa .selenium .firefox .FirefoxProfile ;
7
7
import org .openqa .selenium .remote .DesiredCapabilities ;
8
8
import org .testng .Assert ;
9
- import org .testng .annotations .*;
9
+ import org .testng .annotations .AfterTest ;
10
+ import org .testng .annotations .BeforeTest ;
11
+ import org .testng .annotations .Test ;
10
12
11
13
import java .io .File ;
12
14
15
17
*/
16
18
@ Test (groups = {"mac" , "windows" })
17
19
public class Firefox {
18
- WebDriver driver ;
20
+ private WebDriver driver ;
19
21
20
22
@ BeforeTest
21
23
public void firefoxSetup () {
Original file line number Diff line number Diff line change 1
- package LocalBrowsers ;
1
+ package localbrowsers ;
2
2
3
3
import org .openqa .selenium .WebDriver ;
4
4
import org .openqa .selenium .phantomjs .PhantomJSDriver ;
5
- import org .openqa .selenium .remote .DesiredCapabilities ;
6
5
import org .testng .Assert ;
7
- import org .testng .annotations .*;
6
+ import org .testng .annotations .AfterTest ;
7
+ import org .testng .annotations .BeforeTest ;
8
+ import org .testng .annotations .Test ;
8
9
9
10
/**
10
11
* Created by andrew on 12/3/16.
11
12
*/
12
13
@ Test (groups = {"mac" , "windows" })
13
14
public class PhantomJS {
14
- WebDriver driver ;
15
+ private WebDriver driver ;
15
16
16
17
@ BeforeTest
17
18
public void phantomJSSetup (){
Original file line number Diff line number Diff line change 1
- package LocalBrowsers ;
1
+ package localbrowsers ;
2
2
3
3
import org .openqa .selenium .WebDriver ;
4
4
import org .openqa .selenium .remote .DesiredCapabilities ;
5
5
import org .openqa .selenium .safari .SafariDriver ;
6
6
import org .openqa .selenium .safari .SafariOptions ;
7
7
import org .testng .Assert ;
8
- import org .testng .annotations .*;
8
+ import org .testng .annotations .AfterTest ;
9
+ import org .testng .annotations .BeforeTest ;
10
+ import org .testng .annotations .Test ;
9
11
10
12
/**
11
13
* Created by andrew on 12/3/16.
12
14
*/
13
15
@ Test //(groups = {"mac"})
14
16
public class Safari {
15
- WebDriver driver ;
17
+ private WebDriver driver ;
16
18
17
19
@ BeforeTest
18
20
public void safariSetup (){
Original file line number Diff line number Diff line change 8
8
</run >
9
9
</groups >
10
10
<classes >
11
- <class name =" LocalBrowsers .Chrome" />
12
- <class name =" LocalBrowsers .Edge" />
13
- <class name =" LocalBrowsers .Firefox" />
14
- <class name =" LocalBrowsers .PhantomJS" />
15
- <class name =" LocalBrowsers .Safari" />
11
+ <class name =" localbrowsers .Chrome" />
12
+ <class name =" localbrowsers .Edge" />
13
+ <class name =" localbrowsers .Firefox" />
14
+ <class name =" localbrowsers .PhantomJS" />
15
+ <class name =" localbrowsers .Safari" />
16
16
</classes >
17
17
</test > <!-- javajenkins -->
18
18
</suite > <!-- Custom suite -->
You can’t perform that action at this time.
0 commit comments