From 70ad67be9f5189bebc8c72c861b3c2fb9f4fa9c2 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 22 Jun 2023 19:01:35 +0530
Subject: [PATCH 01/29] Add files via upload

---
 src/test/java/com/lambdatest/sel4.java | 94 ++++++++++++++++++++++++++
 1 file changed, 94 insertions(+)
 create mode 100644 src/test/java/com/lambdatest/sel4.java

diff --git a/src/test/java/com/lambdatest/sel4.java b/src/test/java/com/lambdatest/sel4.java
new file mode 100644
index 0000000..2fb4d95
--- /dev/null
+++ b/src/test/java/com/lambdatest/sel4.java
@@ -0,0 +1,94 @@
+package com.lambdatest;
+
+import io.appium.java_client.AppiumDriver;
+import io.appium.java_client.MobileBy;
+//import org.junit.Test;
+import org.openqa.selenium.By;
+import org.openqa.selenium.remote.DesiredCapabilities;
+import org.openqa.selenium.support.ui.ExpectedConditions;
+import org.openqa.selenium.support.ui.WebDriverWait;
+import org.testng.ITestResult;
+import org.testng.annotations.AfterTest;
+import org.testng.annotations.BeforeTest;
+import org.testng.annotations.Test;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.HashMap;
+
+public class sel4 {
+    String username = "deepanshulambdatest";
+    String authkey = "f8xr8eV7hpJJixO6sbVmPazAH4C8VoAUhEANPjikayLTXNlJKs";
+    public static AppiumDriver driver = null;
+    public String gridURL = "@mobile-hub.lambdatest.com/wd/hub";
+    public String status = "passed";
+    @BeforeTest
+    public void setUp() throws Exception {
+
+
+        DesiredCapabilities capabilities = new DesiredCapabilities();
+        HashMap<String, Object> ltOptions = new HashMap<String, Object>();
+        ltOptions.put("w3c", true);
+        ltOptions.put("platformName", "ios");
+        ltOptions.put("deviceName", "iPhone 14");
+        ltOptions.put("platformVersion", "16");
+        ltOptions.put("isRealMobile", true);
+        ltOptions.put("app", "lt://APP1016045801684404228061622");
+        capabilities.setCapability("lt:options", ltOptions);
+
+
+
+        try
+        {
+            driver = new AppiumDriver(new URL("https://" + username + ":" + authkey + gridURL), capabilities);
+            Thread.sleep(5000);
+
+        }
+        catch (MalformedURLException e)
+        {
+            System.out.println("Invalid grid URL");
+        } catch (Exception e)
+        {
+            System.out.println(e.getMessage());
+        }
+
+    }
+
+    @Test
+    public void testSimple() throws Exception
+    {
+        try
+        {
+            driver.findElement(By.xpath("//XCUIElementTypeButton[@name=\"navigation_account\"]")).click();
+            Thread.sleep(5000);
+
+            driver.findElement(By.xpath("//XCUIElementTypeTextField[@name=\"et_email\"]")).sendKeys("01100000110");
+            Thread.sleep(5000);
+
+            driver.findElement(By.xpath("//XCUIElementTypeSecureTextField[@name=\"et_password\"]\n")).sendKeys("Test@123");
+            Thread.sleep(5000);
+
+            driver.findElement(By.xpath("\t\n" + "//XCUIElementTypeButton[@name=\"mb_continue\"]")).click();
+            Thread.sleep(20000);
+
+            driver.findElement(By.xpath("//XCUIElementTypeButton[@name=\"navigation_account\"]")).click();
+            Thread.sleep(20000);
+
+            status="passed";
+        }
+        catch (Exception e)
+        {
+            System.out.println(e.getMessage());
+            status="failed";
+        }
+    }
+    @AfterTest
+    public void tearDown(ITestResult result) throws Exception
+    {
+        if (driver != null)
+        {
+            driver.executeScript("lambda-status=" + status);
+            driver.quit();
+        }
+    }
+}

From 3b15b6e0bc2dbde0094c4590a0bc6eb2aeac26e8 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 22 Jun 2023 19:14:07 +0530
Subject: [PATCH 02/29] Update sel4.java

---
 src/test/java/com/lambdatest/sel4.java | 158 +++++++++++++------------
 1 file changed, 85 insertions(+), 73 deletions(-)

diff --git a/src/test/java/com/lambdatest/sel4.java b/src/test/java/com/lambdatest/sel4.java
index 2fb4d95..8eced5e 100644
--- a/src/test/java/com/lambdatest/sel4.java
+++ b/src/test/java/com/lambdatest/sel4.java
@@ -1,94 +1,106 @@
 package com.lambdatest;
 
-import io.appium.java_client.AppiumDriver;
-import io.appium.java_client.MobileBy;
-//import org.junit.Test;
-import org.openqa.selenium.By;
-import org.openqa.selenium.remote.DesiredCapabilities;
-import org.openqa.selenium.support.ui.ExpectedConditions;
-import org.openqa.selenium.support.ui.WebDriverWait;
-import org.testng.ITestResult;
-import org.testng.annotations.AfterTest;
-import org.testng.annotations.BeforeTest;
-import org.testng.annotations.Test;
-
+import java.lang.reflect.Method;
 import java.net.MalformedURLException;
 import java.net.URL;
 import java.util.HashMap;
+import org.openqa.selenium.By;
+import org.openqa.selenium.remote.DesiredCapabilities;
+import org.openqa.selenium.remote.RemoteWebDriver;
+import org.testng.Assert;
+import org.testng.ITestContext;
+import org.testng.annotations.AfterMethod;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
 
 public class sel4 {
-    String username = "deepanshulambdatest";
-    String authkey = "f8xr8eV7hpJJixO6sbVmPazAH4C8VoAUhEANPjikayLTXNlJKs";
-    public static AppiumDriver driver = null;
-    public String gridURL = "@mobile-hub.lambdatest.com/wd/hub";
-    public String status = "passed";
-    @BeforeTest
-    public void setUp() throws Exception {
 
+    private RemoteWebDriver driver;
+    private String Status = "failed";
+
+    @BeforeMethod
+    public void setup(Method m, ITestContext ctx) throws MalformedURLException {
+        String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
+        String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
+        ;
+        String hub = "@hub.lambdatest.com/wd/hub";
 
-        DesiredCapabilities capabilities = new DesiredCapabilities();
+       DesiredCapabilities capabilities = new DesiredCapabilities();
         HashMap<String, Object> ltOptions = new HashMap<String, Object>();
         ltOptions.put("w3c", true);
-        ltOptions.put("platformName", "ios");
-        ltOptions.put("deviceName", "iPhone 14");
-        ltOptions.put("platformVersion", "16");
-        ltOptions.put("isRealMobile", true);
-        ltOptions.put("app", "lt://APP1016045801684404228061622");
+        ltOptions.put("browserName", "Chrome");
+        ltOptions.put("platformName", "Windows 11");
+        ltOptions.put("browserVersion", "110");
         capabilities.setCapability("lt:options", ltOptions);
 
 
 
-        try
-        {
-            driver = new AppiumDriver(new URL("https://" + username + ":" + authkey + gridURL), capabilities);
-            Thread.sleep(5000);
-
-        }
-        catch (MalformedURLException e)
-        {
-            System.out.println("Invalid grid URL");
-        } catch (Exception e)
-        {
-            System.out.println(e.getMessage());
-        }
-
+        driver = new RemoteWebDriver(new URL("https://" + username + ":" + authkey + hub), capabilities);
     }
 
     @Test
-    public void testSimple() throws Exception
-    {
-        try
-        {
-            driver.findElement(By.xpath("//XCUIElementTypeButton[@name=\"navigation_account\"]")).click();
-            Thread.sleep(5000);
-
-            driver.findElement(By.xpath("//XCUIElementTypeTextField[@name=\"et_email\"]")).sendKeys("01100000110");
-            Thread.sleep(5000);
-
-            driver.findElement(By.xpath("//XCUIElementTypeSecureTextField[@name=\"et_password\"]\n")).sendKeys("Test@123");
-            Thread.sleep(5000);
-
-            driver.findElement(By.xpath("\t\n" + "//XCUIElementTypeButton[@name=\"mb_continue\"]")).click();
-            Thread.sleep(20000);
-
-            driver.findElement(By.xpath("//XCUIElementTypeButton[@name=\"navigation_account\"]")).click();
-            Thread.sleep(20000);
-
-            status="passed";
-        }
-        catch (Exception e)
-        {
-            System.out.println(e.getMessage());
-            status="failed";
-        }
+    public void basicTest() throws InterruptedException {
+        String spanText;
+        System.out.println("Loading Url");
+        Thread.sleep(100);
+        driver.get("https://lambdatest.github.io/sample-todo-app/");
+
+        System.out.println("Checking Box");
+        driver.findElement(By.name("li1")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li2")).click();
+
+        System.out.println("Checking Box");
+        driver.findElement(By.name("li3")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li4")).click();
+
+        driver.findElement(By.id("sampletodotext")).sendKeys(" List Item 6");
+        driver.findElement(By.id("addbutton")).click();
+
+        driver.findElement(By.id("sampletodotext")).sendKeys(" List Item 7");
+        driver.findElement(By.id("addbutton")).click();
+
+        driver.findElement(By.id("sampletodotext")).sendKeys(" List Item 8");
+        driver.findElement(By.id("addbutton")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li1")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li3")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li7")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li8")).click();
+
+        System.out.println("Entering Text");
+        driver.findElement(By.id("sampletodotext")).sendKeys("Get Taste of Lambda and Stick to It");
+
+        driver.findElement(By.id("addbutton")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li9")).click();
+
+        // Let's also assert that the todo we added is present in the list.
+
+        spanText = driver.findElementByXPath("/html/body/div/div/div/ul/li[9]/span").getText();
+        Assert.assertEquals("Get Taste of Lambda and Stick to It", spanText);
+        Status = "passed";
+        Thread.sleep(800);
+
+        System.out.println("TestFinished");
+
     }
-    @AfterTest
-    public void tearDown(ITestResult result) throws Exception
-    {
-        if (driver != null)
-        {
-            driver.executeScript("lambda-status=" + status);
-            driver.quit();
-        }
+
+    @AfterMethod
+    public void tearDown() {
+        driver.executeScript("lambda-status=" + Status);
+        driver.quit();
     }
+
 }

From 7b1118b15b63a1f8c5d9d9a21a6103239aecf05e Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:15:40 +0530
Subject: [PATCH 03/29] Create TestNGTodo4.java

---
 src/test/java/com/lambdatest/TestNGTodo4.java | 109 ++++++++++++++++++
 1 file changed, 109 insertions(+)
 create mode 100644 src/test/java/com/lambdatest/TestNGTodo4.java

diff --git a/src/test/java/com/lambdatest/TestNGTodo4.java b/src/test/java/com/lambdatest/TestNGTodo4.java
new file mode 100644
index 0000000..b87948e
--- /dev/null
+++ b/src/test/java/com/lambdatest/TestNGTodo4.java
@@ -0,0 +1,109 @@
+package com.lambdatest;
+
+import java.lang.reflect.Method;
+import java.net.MalformedURLException;
+import java.net.URL;
+
+import org.openqa.selenium.By;
+import org.openqa.selenium.remote.DesiredCapabilities;
+import org.openqa.selenium.remote.RemoteWebDriver;
+import org.testng.Assert;
+import org.testng.ITestContext;
+import org.testng.annotations.AfterMethod;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
+public class TestNGTodo1 {
+
+    private RemoteWebDriver driver;
+    private String Status = "failed";
+
+    @BeforeMethod
+    public void setup(Method m, ITestContext ctx) throws MalformedURLException {
+        String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
+        String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
+        ;
+        String hub = "@hub.lambdatest.com/wd/hub";
+
+        DesiredCapabilities caps = new DesiredCapabilities();
+        caps.setCapability("platform", "MacOS Catalina");
+        caps.setCapability("browserName", "Safari");
+        caps.setCapability("version", "latest");
+        caps.setCapability("build", "TestNG With Java");
+        caps.setCapability("name", m.getName() + " - " + this.getClass().getName());
+        caps.setCapability("plugin", "git-testng");
+
+        String[] Tags = new String[] { "Feature", "Falcon", "Severe" };
+        caps.setCapability("tags", Tags);
+
+        driver = new RemoteWebDriver(new URL("https://" + username + ":" + authkey + hub), caps);
+
+    }
+
+    @Test
+    public void basicTest() throws InterruptedException {
+        String spanText;
+        System.out.println("Loading Url");
+
+        driver.get("https://lambdatest.github.io/sample-todo-app/");
+
+        System.out.println("Checking Box");
+        driver.findElement(By.name("li1")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li2")).click();
+
+        System.out.println("Checking Box");
+        driver.findElement(By.name("li3")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li4")).click();
+
+        driver.findElement(By.id("sampletodotext")).sendKeys(" List Item 6");
+        driver.findElement(By.id("addbutton")).click();
+
+        driver.findElement(By.id("sampletodotext")).sendKeys(" List Item 7");
+        driver.findElement(By.id("addbutton")).click();
+
+        driver.findElement(By.id("sampletodotext")).sendKeys(" List Item 8");
+        driver.findElement(By.id("addbutton")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li1")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li3")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li7")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li8")).click();
+        Thread.sleep(300);
+
+        System.out.println("Entering Text");
+        driver.findElement(By.id("sampletodotext")).sendKeys("Get Taste of Lambda and Stick to It");
+
+        driver.findElement(By.id("addbutton")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li9")).click();
+
+        // Let's also assert that the todo we added is present in the list.
+
+        spanText = driver.findElementByXPath("/html/body/div/div/div/ul/li[9]/span").getText();
+        Assert.assertEquals("Get Taste of Lambda and Stick to It", spanText);
+        Status = "passed";
+        Thread.sleep(150);
+
+        System.out.println("TestFinished");
+
+    }
+
+    @AfterMethod
+    public void tearDown() {
+        driver.executeScript("lambda-status=" + Status);
+        driver.quit();
+    }
+
+}

From 0180a703f15c42163e4cb3d939bac49884018e71 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:15:58 +0530
Subject: [PATCH 04/29] Create TestNGTodo5.java

---
 src/test/java/com/lambdatest/TestNGTodo5.java | 109 ++++++++++++++++++
 1 file changed, 109 insertions(+)
 create mode 100644 src/test/java/com/lambdatest/TestNGTodo5.java

diff --git a/src/test/java/com/lambdatest/TestNGTodo5.java b/src/test/java/com/lambdatest/TestNGTodo5.java
new file mode 100644
index 0000000..b87948e
--- /dev/null
+++ b/src/test/java/com/lambdatest/TestNGTodo5.java
@@ -0,0 +1,109 @@
+package com.lambdatest;
+
+import java.lang.reflect.Method;
+import java.net.MalformedURLException;
+import java.net.URL;
+
+import org.openqa.selenium.By;
+import org.openqa.selenium.remote.DesiredCapabilities;
+import org.openqa.selenium.remote.RemoteWebDriver;
+import org.testng.Assert;
+import org.testng.ITestContext;
+import org.testng.annotations.AfterMethod;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
+public class TestNGTodo1 {
+
+    private RemoteWebDriver driver;
+    private String Status = "failed";
+
+    @BeforeMethod
+    public void setup(Method m, ITestContext ctx) throws MalformedURLException {
+        String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
+        String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
+        ;
+        String hub = "@hub.lambdatest.com/wd/hub";
+
+        DesiredCapabilities caps = new DesiredCapabilities();
+        caps.setCapability("platform", "MacOS Catalina");
+        caps.setCapability("browserName", "Safari");
+        caps.setCapability("version", "latest");
+        caps.setCapability("build", "TestNG With Java");
+        caps.setCapability("name", m.getName() + " - " + this.getClass().getName());
+        caps.setCapability("plugin", "git-testng");
+
+        String[] Tags = new String[] { "Feature", "Falcon", "Severe" };
+        caps.setCapability("tags", Tags);
+
+        driver = new RemoteWebDriver(new URL("https://" + username + ":" + authkey + hub), caps);
+
+    }
+
+    @Test
+    public void basicTest() throws InterruptedException {
+        String spanText;
+        System.out.println("Loading Url");
+
+        driver.get("https://lambdatest.github.io/sample-todo-app/");
+
+        System.out.println("Checking Box");
+        driver.findElement(By.name("li1")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li2")).click();
+
+        System.out.println("Checking Box");
+        driver.findElement(By.name("li3")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li4")).click();
+
+        driver.findElement(By.id("sampletodotext")).sendKeys(" List Item 6");
+        driver.findElement(By.id("addbutton")).click();
+
+        driver.findElement(By.id("sampletodotext")).sendKeys(" List Item 7");
+        driver.findElement(By.id("addbutton")).click();
+
+        driver.findElement(By.id("sampletodotext")).sendKeys(" List Item 8");
+        driver.findElement(By.id("addbutton")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li1")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li3")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li7")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li8")).click();
+        Thread.sleep(300);
+
+        System.out.println("Entering Text");
+        driver.findElement(By.id("sampletodotext")).sendKeys("Get Taste of Lambda and Stick to It");
+
+        driver.findElement(By.id("addbutton")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li9")).click();
+
+        // Let's also assert that the todo we added is present in the list.
+
+        spanText = driver.findElementByXPath("/html/body/div/div/div/ul/li[9]/span").getText();
+        Assert.assertEquals("Get Taste of Lambda and Stick to It", spanText);
+        Status = "passed";
+        Thread.sleep(150);
+
+        System.out.println("TestFinished");
+
+    }
+
+    @AfterMethod
+    public void tearDown() {
+        driver.executeScript("lambda-status=" + Status);
+        driver.quit();
+    }
+
+}

From 3f2fa979868e3a6bdcd9d8200d93472e5deceff2 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:16:13 +0530
Subject: [PATCH 05/29] Create TestNGTodo6.java

---
 src/test/java/com/lambdatest/TestNGTodo6.java | 109 ++++++++++++++++++
 1 file changed, 109 insertions(+)
 create mode 100644 src/test/java/com/lambdatest/TestNGTodo6.java

diff --git a/src/test/java/com/lambdatest/TestNGTodo6.java b/src/test/java/com/lambdatest/TestNGTodo6.java
new file mode 100644
index 0000000..b87948e
--- /dev/null
+++ b/src/test/java/com/lambdatest/TestNGTodo6.java
@@ -0,0 +1,109 @@
+package com.lambdatest;
+
+import java.lang.reflect.Method;
+import java.net.MalformedURLException;
+import java.net.URL;
+
+import org.openqa.selenium.By;
+import org.openqa.selenium.remote.DesiredCapabilities;
+import org.openqa.selenium.remote.RemoteWebDriver;
+import org.testng.Assert;
+import org.testng.ITestContext;
+import org.testng.annotations.AfterMethod;
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
+public class TestNGTodo1 {
+
+    private RemoteWebDriver driver;
+    private String Status = "failed";
+
+    @BeforeMethod
+    public void setup(Method m, ITestContext ctx) throws MalformedURLException {
+        String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
+        String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
+        ;
+        String hub = "@hub.lambdatest.com/wd/hub";
+
+        DesiredCapabilities caps = new DesiredCapabilities();
+        caps.setCapability("platform", "MacOS Catalina");
+        caps.setCapability("browserName", "Safari");
+        caps.setCapability("version", "latest");
+        caps.setCapability("build", "TestNG With Java");
+        caps.setCapability("name", m.getName() + " - " + this.getClass().getName());
+        caps.setCapability("plugin", "git-testng");
+
+        String[] Tags = new String[] { "Feature", "Falcon", "Severe" };
+        caps.setCapability("tags", Tags);
+
+        driver = new RemoteWebDriver(new URL("https://" + username + ":" + authkey + hub), caps);
+
+    }
+
+    @Test
+    public void basicTest() throws InterruptedException {
+        String spanText;
+        System.out.println("Loading Url");
+
+        driver.get("https://lambdatest.github.io/sample-todo-app/");
+
+        System.out.println("Checking Box");
+        driver.findElement(By.name("li1")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li2")).click();
+
+        System.out.println("Checking Box");
+        driver.findElement(By.name("li3")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li4")).click();
+
+        driver.findElement(By.id("sampletodotext")).sendKeys(" List Item 6");
+        driver.findElement(By.id("addbutton")).click();
+
+        driver.findElement(By.id("sampletodotext")).sendKeys(" List Item 7");
+        driver.findElement(By.id("addbutton")).click();
+
+        driver.findElement(By.id("sampletodotext")).sendKeys(" List Item 8");
+        driver.findElement(By.id("addbutton")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li1")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li3")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li7")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li8")).click();
+        Thread.sleep(300);
+
+        System.out.println("Entering Text");
+        driver.findElement(By.id("sampletodotext")).sendKeys("Get Taste of Lambda and Stick to It");
+
+        driver.findElement(By.id("addbutton")).click();
+
+        System.out.println("Checking Another Box");
+        driver.findElement(By.name("li9")).click();
+
+        // Let's also assert that the todo we added is present in the list.
+
+        spanText = driver.findElementByXPath("/html/body/div/div/div/ul/li[9]/span").getText();
+        Assert.assertEquals("Get Taste of Lambda and Stick to It", spanText);
+        Status = "passed";
+        Thread.sleep(150);
+
+        System.out.println("TestFinished");
+
+    }
+
+    @AfterMethod
+    public void tearDown() {
+        driver.executeScript("lambda-status=" + Status);
+        driver.quit();
+    }
+
+}

From 05d40df7b92e4115fb7181748435915b0691c2c2 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:34:11 +0530
Subject: [PATCH 06/29] Update TestNGTodo1.java

---
 src/test/java/com/lambdatest/TestNGTodo1.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo1.java b/src/test/java/com/lambdatest/TestNGTodo1.java
index 62577d1..ff69f46 100644
--- a/src/test/java/com/lambdatest/TestNGTodo1.java
+++ b/src/test/java/com/lambdatest/TestNGTodo1.java
@@ -26,9 +26,9 @@ public void setup(Method m, ITestContext ctx) throws MalformedURLException {
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();
-        caps.setCapability("platform", "MacOS Catalina");
-        caps.setCapability("browserName", "Safari");
-        caps.setCapability("version", "latest");
+        caps.setCapability("browserName", device);
+        caps.setCapability("browserVersion",version);
+        caps.setCapability("platform", platform);
         caps.setCapability("build", "TestNG With Java");
         caps.setCapability("name", m.getName() + " - " + this.getClass().getName());
         caps.setCapability("plugin", "git-testng");
@@ -106,4 +106,4 @@ public void tearDown() {
         driver.quit();
     }
 
-}
\ No newline at end of file
+}

From b70f1e969049a0969885fc598253f079b2cd7dcb Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:34:59 +0530
Subject: [PATCH 07/29] Update TestNGTodo2.java

---
 src/test/java/com/lambdatest/TestNGTodo2.java | 21 ++++---------------
 1 file changed, 4 insertions(+), 17 deletions(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo2.java b/src/test/java/com/lambdatest/TestNGTodo2.java
index 3530993..8c546db 100644
--- a/src/test/java/com/lambdatest/TestNGTodo2.java
+++ b/src/test/java/com/lambdatest/TestNGTodo2.java
@@ -22,30 +22,17 @@ public class TestNGTodo2 {
     public void setup(Method m, ITestContext ctx) throws MalformedURLException {
         String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
         String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
-        ;
-        
-        /*
-        Steps to run Smart UI project (https://beta-smartui.lambdatest.com/)
-        Step - 1 : Change the hub URL to @beta-smartui-hub.lambdatest.com/wd/hub
-        Step - 2 : Add "smartUI.project": "<Project Name>" as a capability above
-        Step - 3 : Add "((JavascriptExecutor) driver).executeScript("smartui.takeScreenshot");" code wherever you need to take a screenshot
-        Note: for additional capabilities navigate to https://www.lambdatest.com/support/docs/test-settings-options/
-        */
 
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();
-        caps.setCapability("platform", "Windows 10");
-        caps.setCapability("browserName", "chrome");
-        caps.setCapability("version", "latest");
+        caps.setCapability("browserName", device);
+        caps.setCapability("browserVersion",version);
+        caps.setCapability("platform", platform);
         caps.setCapability("build", "TestNG With Java");
         caps.setCapability("name", m.getName() + this.getClass().getName());
         caps.setCapability("plugin", "git-testng");
 
-        /*
-        Enable Smart UI Project
-        caps.setCapability("smartUI.project", "<Project Name>");
-        */
 
         String[] Tags = new String[] { "Feature", "Magicleap", "Severe" };
         caps.setCapability("tags", Tags);
@@ -118,4 +105,4 @@ public void tearDown() {
         driver.quit();
     }
 
-}
\ No newline at end of file
+}

From d8d1dba8b76f110470f7bc71b2083920370225d5 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:35:19 +0530
Subject: [PATCH 08/29] Update TestNGTodo3.java

---
 src/test/java/com/lambdatest/TestNGTodo3.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo3.java b/src/test/java/com/lambdatest/TestNGTodo3.java
index 632320c..754e241 100644
--- a/src/test/java/com/lambdatest/TestNGTodo3.java
+++ b/src/test/java/com/lambdatest/TestNGTodo3.java
@@ -26,9 +26,9 @@ public void setup(Method m, ITestContext ctx) throws MalformedURLException {
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();
-        caps.setCapability("platform", "MacOS Catalina");
-        caps.setCapability("browserName", "Chrome");
-        caps.setCapability("version", "latest");
+        caps.setCapability("browserName", device);
+        caps.setCapability("browserVersion",version);
+        caps.setCapability("platform", platform);
         caps.setCapability("build", "TestNG With Java");
         caps.setCapability("name", m.getName() + this.getClass().getName());
         caps.setCapability("plugin", "git-testng");
@@ -104,4 +104,4 @@ public void tearDown() {
         driver.quit();
     }
 
-}
\ No newline at end of file
+}

From 147af612caca2fa3f1facdfa8014c361fd0986f1 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:35:32 +0530
Subject: [PATCH 09/29] Update TestNGTodo4.java

---
 src/test/java/com/lambdatest/TestNGTodo4.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo4.java b/src/test/java/com/lambdatest/TestNGTodo4.java
index b87948e..ff69f46 100644
--- a/src/test/java/com/lambdatest/TestNGTodo4.java
+++ b/src/test/java/com/lambdatest/TestNGTodo4.java
@@ -26,9 +26,9 @@ public void setup(Method m, ITestContext ctx) throws MalformedURLException {
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();
-        caps.setCapability("platform", "MacOS Catalina");
-        caps.setCapability("browserName", "Safari");
-        caps.setCapability("version", "latest");
+        caps.setCapability("browserName", device);
+        caps.setCapability("browserVersion",version);
+        caps.setCapability("platform", platform);
         caps.setCapability("build", "TestNG With Java");
         caps.setCapability("name", m.getName() + " - " + this.getClass().getName());
         caps.setCapability("plugin", "git-testng");

From 9525c2667730b4b1fc60e44a2e2918e306ba0236 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:35:43 +0530
Subject: [PATCH 10/29] Update TestNGTodo5.java

---
 src/test/java/com/lambdatest/TestNGTodo5.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo5.java b/src/test/java/com/lambdatest/TestNGTodo5.java
index b87948e..ff69f46 100644
--- a/src/test/java/com/lambdatest/TestNGTodo5.java
+++ b/src/test/java/com/lambdatest/TestNGTodo5.java
@@ -26,9 +26,9 @@ public void setup(Method m, ITestContext ctx) throws MalformedURLException {
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();
-        caps.setCapability("platform", "MacOS Catalina");
-        caps.setCapability("browserName", "Safari");
-        caps.setCapability("version", "latest");
+        caps.setCapability("browserName", device);
+        caps.setCapability("browserVersion",version);
+        caps.setCapability("platform", platform);
         caps.setCapability("build", "TestNG With Java");
         caps.setCapability("name", m.getName() + " - " + this.getClass().getName());
         caps.setCapability("plugin", "git-testng");

From 10c5551e8de125b49c9b5ab9f0b83de5bccc7e42 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:35:53 +0530
Subject: [PATCH 11/29] Update TestNGTodo6.java

---
 src/test/java/com/lambdatest/TestNGTodo6.java | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo6.java b/src/test/java/com/lambdatest/TestNGTodo6.java
index b87948e..f9209a6 100644
--- a/src/test/java/com/lambdatest/TestNGTodo6.java
+++ b/src/test/java/com/lambdatest/TestNGTodo6.java
@@ -26,10 +26,9 @@ public void setup(Method m, ITestContext ctx) throws MalformedURLException {
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();
-        caps.setCapability("platform", "MacOS Catalina");
-        caps.setCapability("browserName", "Safari");
-        caps.setCapability("version", "latest");
-        caps.setCapability("build", "TestNG With Java");
+        caps.setCapability("browserName", device);
+        caps.setCapability("browserVersion",version);
+        caps.setCapability("platform", platform);
         caps.setCapability("name", m.getName() + " - " + this.getClass().getName());
         caps.setCapability("plugin", "git-testng");
 

From 1e6602027996511297392bda0bfef9cbcc54113f Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:40:25 +0530
Subject: [PATCH 12/29] Update TestNGTodo1.java

---
 src/test/java/com/lambdatest/TestNGTodo1.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo1.java b/src/test/java/com/lambdatest/TestNGTodo1.java
index ff69f46..5331bcd 100644
--- a/src/test/java/com/lambdatest/TestNGTodo1.java
+++ b/src/test/java/com/lambdatest/TestNGTodo1.java
@@ -26,7 +26,7 @@ public void setup(Method m, ITestContext ctx) throws MalformedURLException {
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();
-        caps.setCapability("browserName", device);
+        caps.setCapability("browserName", browser);
         caps.setCapability("browserVersion",version);
         caps.setCapability("platform", platform);
         caps.setCapability("build", "TestNG With Java");

From 0ce37fca2f2166e715efaa09b37515a964c725cd Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:40:37 +0530
Subject: [PATCH 13/29] Update TestNGTodo2.java

---
 src/test/java/com/lambdatest/TestNGTodo2.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo2.java b/src/test/java/com/lambdatest/TestNGTodo2.java
index 8c546db..f3158b5 100644
--- a/src/test/java/com/lambdatest/TestNGTodo2.java
+++ b/src/test/java/com/lambdatest/TestNGTodo2.java
@@ -26,7 +26,7 @@ public void setup(Method m, ITestContext ctx) throws MalformedURLException {
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();
-        caps.setCapability("browserName", device);
+        caps.setCapability("browserName", browser);
         caps.setCapability("browserVersion",version);
         caps.setCapability("platform", platform);
         caps.setCapability("build", "TestNG With Java");

From 8d624ec6a49cb575d43705db9be12b1c50f4c937 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:40:48 +0530
Subject: [PATCH 14/29] Update TestNGTodo3.java

---
 src/test/java/com/lambdatest/TestNGTodo3.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo3.java b/src/test/java/com/lambdatest/TestNGTodo3.java
index 754e241..f1a5a7f 100644
--- a/src/test/java/com/lambdatest/TestNGTodo3.java
+++ b/src/test/java/com/lambdatest/TestNGTodo3.java
@@ -26,7 +26,7 @@ public void setup(Method m, ITestContext ctx) throws MalformedURLException {
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();
-        caps.setCapability("browserName", device);
+        caps.setCapability("browserName", browser);
         caps.setCapability("browserVersion",version);
         caps.setCapability("platform", platform);
         caps.setCapability("build", "TestNG With Java");

From ffa6e93a39e100499f8d92eb7a0cdcfbaf93e369 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:41:00 +0530
Subject: [PATCH 15/29] Update TestNGTodo4.java

---
 src/test/java/com/lambdatest/TestNGTodo4.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo4.java b/src/test/java/com/lambdatest/TestNGTodo4.java
index ff69f46..5331bcd 100644
--- a/src/test/java/com/lambdatest/TestNGTodo4.java
+++ b/src/test/java/com/lambdatest/TestNGTodo4.java
@@ -26,7 +26,7 @@ public void setup(Method m, ITestContext ctx) throws MalformedURLException {
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();
-        caps.setCapability("browserName", device);
+        caps.setCapability("browserName", browser);
         caps.setCapability("browserVersion",version);
         caps.setCapability("platform", platform);
         caps.setCapability("build", "TestNG With Java");

From 9df5348507cae8f608b22008a66cdb5ddf0eee04 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:41:11 +0530
Subject: [PATCH 16/29] Update TestNGTodo5.java

---
 src/test/java/com/lambdatest/TestNGTodo5.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo5.java b/src/test/java/com/lambdatest/TestNGTodo5.java
index ff69f46..5331bcd 100644
--- a/src/test/java/com/lambdatest/TestNGTodo5.java
+++ b/src/test/java/com/lambdatest/TestNGTodo5.java
@@ -26,7 +26,7 @@ public void setup(Method m, ITestContext ctx) throws MalformedURLException {
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();
-        caps.setCapability("browserName", device);
+        caps.setCapability("browserName", browser);
         caps.setCapability("browserVersion",version);
         caps.setCapability("platform", platform);
         caps.setCapability("build", "TestNG With Java");

From 3a4b6e45114579ae5cd81286774ec9f9b6abb5ab Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:41:20 +0530
Subject: [PATCH 17/29] Update TestNGTodo6.java

---
 src/test/java/com/lambdatest/TestNGTodo6.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo6.java b/src/test/java/com/lambdatest/TestNGTodo6.java
index f9209a6..f3bf661 100644
--- a/src/test/java/com/lambdatest/TestNGTodo6.java
+++ b/src/test/java/com/lambdatest/TestNGTodo6.java
@@ -26,7 +26,7 @@ public void setup(Method m, ITestContext ctx) throws MalformedURLException {
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();
-        caps.setCapability("browserName", device);
+        caps.setCapability("browserName", browser);
         caps.setCapability("browserVersion",version);
         caps.setCapability("platform", platform);
         caps.setCapability("name", m.getName() + " - " + this.getClass().getName());

From 4c35aa68cd2c358f7f11cf9476436b9a2648b862 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 18:47:57 +0530
Subject: [PATCH 18/29] Update parallel.xml

---
 parallel.xml | 55 +++++++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 52 insertions(+), 3 deletions(-)

diff --git a/parallel.xml b/parallel.xml
index 21cddc0..e74de32 100644
--- a/parallel.xml
+++ b/parallel.xml
@@ -1,11 +1,60 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
 <suite thread-count="20" parallel="tests" name="Suite">
-  <test thread-count="20" parallel="classes" name="Test">
+  
+  <test name="Test 1">
+        <parameter name="version" value="112" />
+        <parameter name="platform" value="Windows 11" />
+        <parameter name="browser" value="Chrome" />
     <classes>
       <class name="com.lambdatest.TestNGTodo1"/>
+    </classes>
+  </test> 
+
+    <test name="Test 2">
+        <parameter name="version" value="114" />
+        <parameter name="platform" value="Windows 10" />
+        <parameter name="browser" value="Chrome" />
+    <classes>
+      <class name="com.lambdatest.TestNGTodo1"/>
+    </classes>
+  </test>
+
+
+    <test name="Test 3">
+        <parameter name="version" value="112" />
+        <parameter name="platform" value="Windows 11" />
+        <parameter name="browser" value="Firefox" />
+    <classes>
       <class name="com.lambdatest.TestNGTodo2"/>
+    </classes>
+  </test>
+
+    <test name="Test 4">
+        <parameter name="version" value="114" />
+        <parameter name="platform" value="Windows 10" />
+        <parameter name="browser" value="Firefox" />
+    <classes>
+      <class name="com.lambdatest.TestNGTodo2"/>
+    </classes>
+  </test>
+
+    <test name="Test 5">
+        <parameter name="version" value="112" />
+        <parameter name="platform" value="MacOS Catalina" />
+        <parameter name="browser" value="Chrome" />
+    <classes>
+      <class name="com.lambdatest.TestNGTodo3"/>
+    </classes>
+  </test>
+
+    <test name="Test 6">
+        <parameter name="version" value="114" />
+        <parameter name="platform" value="MacOS Catalina" />
+        <parameter name="browser" value="Chrome" />
+    <classes>
       <class name="com.lambdatest.TestNGTodo3"/>
     </classes>
-  </test> <!-- Test -->
-</suite> <!-- Suite -->
\ No newline at end of file
+  </test>
+  
+</suite> 

From 7ea5bf52ad196bdaf58d8a0e8c740b75ed784b1a Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 19:04:08 +0530
Subject: [PATCH 19/29] Update TestNGTodo1.java

---
 src/test/java/com/lambdatest/TestNGTodo1.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo1.java b/src/test/java/com/lambdatest/TestNGTodo1.java
index 5331bcd..ffe877f 100644
--- a/src/test/java/com/lambdatest/TestNGTodo1.java
+++ b/src/test/java/com/lambdatest/TestNGTodo1.java
@@ -19,10 +19,10 @@ public class TestNGTodo1 {
     private String Status = "failed";
 
     @BeforeMethod
-    public void setup(Method m, ITestContext ctx) throws MalformedURLException {
+    @org.testng.annotations.Parameters(value = {"browser", "version", "platform"})
+    public void TestNGTod1(String device, String version, String platform) {
         String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
         String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
-        ;
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();

From a24b149910f789173d460a8419c50e6d4b035de0 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 19:04:25 +0530
Subject: [PATCH 20/29] Update TestNGTodo2.java

---
 src/test/java/com/lambdatest/TestNGTodo2.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo2.java b/src/test/java/com/lambdatest/TestNGTodo2.java
index f3158b5..345dc99 100644
--- a/src/test/java/com/lambdatest/TestNGTodo2.java
+++ b/src/test/java/com/lambdatest/TestNGTodo2.java
@@ -19,7 +19,8 @@ public class TestNGTodo2 {
     private String Status = "failed";
 
     @BeforeMethod
-    public void setup(Method m, ITestContext ctx) throws MalformedURLException {
+   @org.testng.annotations.Parameters(value = {"browser", "version", "platform"})
+    public void TestNGTod2(String device, String version, String platform) {
         String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
         String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
 

From e62f3b1a604e3d1e77d5aa276e988fb0066fda8b Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 19:04:48 +0530
Subject: [PATCH 21/29] Update TestNGTodo3.java

---
 src/test/java/com/lambdatest/TestNGTodo3.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo3.java b/src/test/java/com/lambdatest/TestNGTodo3.java
index f1a5a7f..3a8178e 100644
--- a/src/test/java/com/lambdatest/TestNGTodo3.java
+++ b/src/test/java/com/lambdatest/TestNGTodo3.java
@@ -19,10 +19,10 @@ public class TestNGTodo3 {
     private String Status = "failed";
 
     @BeforeMethod
-    public void setup(Method m, ITestContext ctx) throws MalformedURLException {
+   @org.testng.annotations.Parameters(value = {"browser", "version", "platform"})
+    public void TestNGTod3(String device, String version, String platform) {
         String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
         String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
-        ;
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();

From 07a4d409d036264cef5b9ceb47993bcdb5348128 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 19:05:09 +0530
Subject: [PATCH 22/29] Update TestNGTodo4.java

---
 src/test/java/com/lambdatest/TestNGTodo4.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo4.java b/src/test/java/com/lambdatest/TestNGTodo4.java
index 5331bcd..c0c86cc 100644
--- a/src/test/java/com/lambdatest/TestNGTodo4.java
+++ b/src/test/java/com/lambdatest/TestNGTodo4.java
@@ -19,10 +19,10 @@ public class TestNGTodo1 {
     private String Status = "failed";
 
     @BeforeMethod
-    public void setup(Method m, ITestContext ctx) throws MalformedURLException {
+    @org.testng.annotations.Parameters(value = {"browser", "version", "platform"})
+    public void TestNGTod4(String device, String version, String platform) {
         String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
         String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
-        ;
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();

From 07000a25a61550a6d119ce7c8eed2ae7e0e3a1f3 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 19:05:28 +0530
Subject: [PATCH 23/29] Update TestNGTodo5.java

---
 src/test/java/com/lambdatest/TestNGTodo5.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo5.java b/src/test/java/com/lambdatest/TestNGTodo5.java
index 5331bcd..798ec78 100644
--- a/src/test/java/com/lambdatest/TestNGTodo5.java
+++ b/src/test/java/com/lambdatest/TestNGTodo5.java
@@ -19,10 +19,11 @@ public class TestNGTodo1 {
     private String Status = "failed";
 
     @BeforeMethod
-    public void setup(Method m, ITestContext ctx) throws MalformedURLException {
+    @org.testng.annotations.Parameters(value = {"browser", "version", "platform"})
+    public void TestNGTod5(String device, String version, String platform) {
         String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
         String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
-        ;
+        
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();

From d3deaee84e7afea52a31cfbaa818c2f879298053 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 19:06:02 +0530
Subject: [PATCH 24/29] Update TestNGTodo6.java

---
 src/test/java/com/lambdatest/TestNGTodo6.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo6.java b/src/test/java/com/lambdatest/TestNGTodo6.java
index f3bf661..5de38e9 100644
--- a/src/test/java/com/lambdatest/TestNGTodo6.java
+++ b/src/test/java/com/lambdatest/TestNGTodo6.java
@@ -19,10 +19,11 @@ public class TestNGTodo1 {
     private String Status = "failed";
 
     @BeforeMethod
-    public void setup(Method m, ITestContext ctx) throws MalformedURLException {
+   @org.testng.annotations.Parameters(value = {"browser", "version", "platform"})
+    public void TestNGTod1(String browser, String version, String platform) {
         String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
         String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
-        ;
+        
         String hub = "@hub.lambdatest.com/wd/hub";
 
         DesiredCapabilities caps = new DesiredCapabilities();

From edd52c2be00d9021d7e804961578c58688b1afcf Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 19:06:14 +0530
Subject: [PATCH 25/29] Update TestNGTodo5.java

---
 src/test/java/com/lambdatest/TestNGTodo5.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo5.java b/src/test/java/com/lambdatest/TestNGTodo5.java
index 798ec78..3b18b24 100644
--- a/src/test/java/com/lambdatest/TestNGTodo5.java
+++ b/src/test/java/com/lambdatest/TestNGTodo5.java
@@ -20,7 +20,7 @@ public class TestNGTodo1 {
 
     @BeforeMethod
     @org.testng.annotations.Parameters(value = {"browser", "version", "platform"})
-    public void TestNGTod5(String device, String version, String platform) {
+    public void TestNGTod5(String browser, String version, String platform) {
         String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
         String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
         

From 51dc173b25b1017765daaf13d5f129ee35a63ada Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 19:06:24 +0530
Subject: [PATCH 26/29] Update TestNGTodo4.java

---
 src/test/java/com/lambdatest/TestNGTodo4.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo4.java b/src/test/java/com/lambdatest/TestNGTodo4.java
index c0c86cc..4998460 100644
--- a/src/test/java/com/lambdatest/TestNGTodo4.java
+++ b/src/test/java/com/lambdatest/TestNGTodo4.java
@@ -20,7 +20,7 @@ public class TestNGTodo1 {
 
     @BeforeMethod
     @org.testng.annotations.Parameters(value = {"browser", "version", "platform"})
-    public void TestNGTod4(String device, String version, String platform) {
+    public void TestNGTod4(String browser, String version, String platform) {
         String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
         String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
         String hub = "@hub.lambdatest.com/wd/hub";

From 859f2d0919e6fc8678038c6597bf7ad9db9fad62 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 19:06:34 +0530
Subject: [PATCH 27/29] Update TestNGTodo3.java

---
 src/test/java/com/lambdatest/TestNGTodo3.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo3.java b/src/test/java/com/lambdatest/TestNGTodo3.java
index 3a8178e..36c95d2 100644
--- a/src/test/java/com/lambdatest/TestNGTodo3.java
+++ b/src/test/java/com/lambdatest/TestNGTodo3.java
@@ -20,7 +20,7 @@ public class TestNGTodo3 {
 
     @BeforeMethod
    @org.testng.annotations.Parameters(value = {"browser", "version", "platform"})
-    public void TestNGTod3(String device, String version, String platform) {
+    public void TestNGTod3(String browser, String version, String platform) {
         String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
         String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
         String hub = "@hub.lambdatest.com/wd/hub";

From 660082a7419be907b70271c97aa2da8d01d3e0fa Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 19:06:43 +0530
Subject: [PATCH 28/29] Update TestNGTodo2.java

---
 src/test/java/com/lambdatest/TestNGTodo2.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo2.java b/src/test/java/com/lambdatest/TestNGTodo2.java
index 345dc99..5a96eb8 100644
--- a/src/test/java/com/lambdatest/TestNGTodo2.java
+++ b/src/test/java/com/lambdatest/TestNGTodo2.java
@@ -20,7 +20,7 @@ public class TestNGTodo2 {
 
     @BeforeMethod
    @org.testng.annotations.Parameters(value = {"browser", "version", "platform"})
-    public void TestNGTod2(String device, String version, String platform) {
+    public void TestNGTod2(String browser, String version, String platform) {
         String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
         String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
 

From 35b43d5d9554e5f29990ddb238b2ba08c5fad8e7 Mon Sep 17 00:00:00 2001
From: lambdatestsupport <134601151+lambdatestsupport@users.noreply.github.com>
Date: Thu, 24 Aug 2023 19:06:52 +0530
Subject: [PATCH 29/29] Update TestNGTodo1.java

---
 src/test/java/com/lambdatest/TestNGTodo1.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/com/lambdatest/TestNGTodo1.java b/src/test/java/com/lambdatest/TestNGTodo1.java
index ffe877f..b0a367e 100644
--- a/src/test/java/com/lambdatest/TestNGTodo1.java
+++ b/src/test/java/com/lambdatest/TestNGTodo1.java
@@ -20,7 +20,7 @@ public class TestNGTodo1 {
 
     @BeforeMethod
     @org.testng.annotations.Parameters(value = {"browser", "version", "platform"})
-    public void TestNGTod1(String device, String version, String platform) {
+    public void TestNGTod1(String browser, String version, String platform) {
         String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
         String authkey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
         String hub = "@hub.lambdatest.com/wd/hub";
