File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 33
33
<artifactId >selenium-java</artifactId >
34
34
<version >${selenium.version} </version >
35
35
</dependency >
36
+ <dependency >
37
+ <groupId >com.browserstack</groupId >
38
+ <artifactId >browserstack-java-sdk</artifactId >
39
+ <version >LATEST</version >
40
+ <scope >compile</scope >
41
+ </dependency >
36
42
</dependencies >
37
43
38
44
<build >
77
83
<suiteXmlFiles >
78
84
<suiteXmlFile >config/sample-local-test.testng.xml</suiteXmlFile >
79
85
</suiteXmlFiles >
86
+ <argLine >-javaagent:${com.browserstack:browserstack-java-sdk:jar} </argLine >
80
87
</configuration >
81
88
</plugin >
82
89
</plugins >
94
101
<suiteXmlFiles >
95
102
<suiteXmlFile >config/sample-test.testng.xml</suiteXmlFile >
96
103
</suiteXmlFiles >
104
+ </configuration >
105
+ </plugin >
106
+ </plugins >
107
+ </build >
108
+ </profile >
97
109
110
+ <profile >
111
+ <id >sample-test-browserstack</id >
112
+ <build >
113
+ <plugins >
114
+ <plugin >
115
+ <groupId >org.apache.maven.plugins</groupId >
116
+ <artifactId >maven-surefire-plugin</artifactId >
117
+ <configuration >
118
+ <suiteXmlFiles >
119
+ <suiteXmlFile >config/sample-test.testng.xml</suiteXmlFile >
120
+ </suiteXmlFiles >
121
+ <argLine >-javaagent:${com.browserstack:browserstack-java-sdk:jar} </argLine >
98
122
</configuration >
99
123
</plugin >
100
124
</plugins >
101
125
</build >
102
126
</profile >
127
+
103
128
</profiles >
104
129
</project >
You can’t perform that action at this time.
0 commit comments