Skip to content

Commit e62f3b1

Browse files
Update TestNGTodo3.java
1 parent a24b149 commit e62f3b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/lambdatest/TestNGTodo3.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ public class TestNGTodo3 {
1919
private String Status = "failed";
2020

2121
@BeforeMethod
22-
public void setup(Method m, ITestContext ctx) throws MalformedURLException {
22+
@org.testng.annotations.Parameters(value = {"browser", "version", "platform"})
23+
public void TestNGTod3(String device, String version, String platform) {
2324
String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
2425
String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
25-
;
2626
String hub = "@hub.lambdatest.com/wd/hub";
2727

2828
DesiredCapabilities caps = new DesiredCapabilities();

0 commit comments

Comments
 (0)