@@ -23,14 +23,16 @@ public void setup(Method m, ITestContext ctx) throws MalformedURLException {
23
23
String username = System .getenv ("LT_USERNAME" ) == null ? "Your LT Username" : System .getenv ("LT_USERNAME" );
24
24
String authkey = System .getenv ("LT_ACCESS_KEY" ) == null ? "Your LT AccessKey" : System .getenv ("LT_ACCESS_KEY" );
25
25
;
26
- String hub = "@hub.lambdatest.com/wd/hub" ;
26
+ String hub = "@mobile- hub.lambdatest.com/wd/hub" ;
27
27
28
28
DesiredCapabilities caps = new DesiredCapabilities ();
29
- caps .setCapability ("deviceName" , "Google Pixel 4a" );
29
+ caps .setCapability ("platformName" , "android" );
30
+ caps .setCapability ("deviceName" , "Pixel 4a" );
31
+ caps .setCapability ("platformVersion" , "11" );
32
+ caps .setCapability ("isRealMobile" , true );
30
33
caps .setCapability ("build" , "TestNG With Java" );
31
34
caps .setCapability ("name" , m .getName () + this .getClass ().getName ());
32
35
caps .setCapability ("plugin" , "git-testng" );
33
- caps .setCapability ("isRealMobile" , true );
34
36
35
37
String [] Tags = new String [] { "Feature" , "Tag" , "Moderate" };
36
38
caps .setCapability ("tags" , Tags );
0 commit comments