How to integrate with LambdaTest with Appium Java TestNG?

What should I do to integrate Appium Java TestNG with LambdaTest?

Hi Macy,

You can follow the first few steps below:

  1. Set LambdaTest Username and Access Key in environment variables.
  2. Set public String gridURL = “@mobile-hub.lambdatest.com/wd/hub”;
  3. Add the following command on your script as well:
  String hub = "https://" + userName + ":" + accessKey + gridURL;
            driver = new AppiumDriver(new URL(hub), capabilities);