@@ -61,6 +61,7 @@ public void tearDown(ITestResult result) throws Exception {
6161((JavascriptExecutor ) webDriver .get ()).executeScript ("lambda-status="
6262+ (result .isSuccess () ? "passed" : "failed" ));
6363webDriver .get ().quit ();
64+ Thread .sleep (10000 );
6465}
6566
6667
@@ -69,10 +70,10 @@ public void tearDown(ITestResult result) throws Exception {
6970
7071@ DataProvider (name = "browsersDetails" , parallel = true )
7172public static Object [][] ltBrowserDataProvider (Method testMethod ) {
72- return new Object [][] { new Object [] { "MicrosoftEdge" , "16.0" , "WIN10" },
73- new Object [] { "firefox" , "60.0" , "WIN10" }, new Object [] { "internet explorer" , "11.0" , "WIN7 " },
74- new Object [] { "chrome" , "60.0" , "OS X 10.11" }, new Object [] { "chrome" , "70.0" , "macOS 10.13 " },
75- new Object [] { "firefox" , "60.0" , "WIN7 " }, };
73+ return new Object [][] {
74+ new Object [] { "internet explorer" , "11.0" , "Windows 8.1 " },
75+ new Object [] { "chrome" , "60.0" , "Windows 8.1 " },
76+ new Object [] { "firefox" , "60.0" , "Windows 8.1 " }, };
7677}
7778
7879public WebDriver getWebDriver () {
@@ -89,13 +90,15 @@ protected void setUp(String browser, String version, String os, String methodNam
8990capabilities .setCapability (CapabilityType .VERSION , version );
9091capabilities .setCapability (CapabilityType .PLATFORM , os );
9192capabilities .setCapability ("name" , methodName );
92- capabilities .setCapability ("build" , "TestNG Parallel Test " );
93+ capabilities .setCapability ("build" , "10.33.13.34 " );
9394capabilities .setCapability ("name" , "TestNG Parallel" );
9495capabilities .setCapability ("screen_resolution" , "1024x768" );
9596capabilities .setCapability ("network" , true );
9697capabilities .setCapability ("video" , true );
9798capabilities .setCapability ("console" , true );
9899capabilities .setCapability ("visual" , true );
100+ capabilities .setCapability ("fixedIP" , "10.33.13.34" );
101+ System .out .println ("capabilities" +capabilities );
99102
100103String username = Configuration .readConfig ("LambdaTest_UserName" );
101104String accesskey = Configuration .readConfig ("LambdaTest_AppKey" );
0 commit comments