Skip to content

Commit a24b149

Browse files
Update TestNGTodo2.java
1 parent 7ea5bf5 commit a24b149

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/com/lambdatest/TestNGTodo2.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ public class TestNGTodo2 {
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 TestNGTod2(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");
2526

0 commit comments

Comments
 (0)