Mobile tests execution time is too long

When running mobile tests using SeeTest Digital Assurance Lab, we take screenshot after each command.

When running mobile tests using SeeTest Digital Assurance Lab, we take screenshot after each command.

Taking screenshot can take a long time and cause the whole test to take longer. If you wish to give up on a test report creation you should include this capability in your test:

DesiredCapabilities dc = new DesiredCapabilities();
dc.setCapability("deviceQuery", "@os='android');
dc.setCapability("username", "cloudUsername");
dc.setCapability("password", "cloudPassword");
dc.setCapability("projectName", "cloudProject");


//Add this capability in order to disable reports & get faster execution times
dc.setCapability("generateReport", false);	
   
AndroidDriver driver = new AndroidDriver<>(new URL("http://"+cloudHost+":"+cloudPort), dc);


Web tests fail with Timeout

When running web tests using SeeTest Digital Assurance Lab, we take screenshot after each command.

Taking screenshot can take a long time (particularly in Internet Explorer), so when running web grid tests on SeeTest Digital Assurance Lab user should do one of the following:

  1. Disable taking screenshots by adding the capability takeScreenshots=false in the conf.js file.
  2. Increase default timeout. In Protractor it's done by adding the following piece of code to the exports.config in conf.js file:
exports.config = {
..
..
	jasmineNodeOpts: {
	defaultTimeoutInterval: 2500000
	},
..
..
}