Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
SEO Metadata
titlewebdriver.io

If you are using Webdriver.io to automate your tests, you can port your executions to

...

Continuous Testing Cloud and run these tests on Real mobile devices and browsers.

How to configure your webdriver options to run against Experitest services

Code Block
languagejs
themeEmacs
titleExample - Webdriver.io Execution
collapsetrue
const webdriverio = require('webdriverio');

let options = {
	host: 'cloud.seetest.io', 
	protocol: 'https',
	port: 443,
	path: '',	
	desiredCapabilities: {
		platformName: 'Android',
		testName: 'This is the WebDriver.io Example',
		accessKey: <Place your seetest.io access key - https://docs.experitest.com/display/TE/Obtaining+Access+Key>
	}
};

webdriverio
	.remote(options)
	.init()
	.url('https://www.google.com')
	.getTitle().then(function (title) {
		console.log('Title was: ' + title);
	})
	.end()
	.catch(function (err) {
		console.log(err);
	});

To alter the platform you are executing against, just change the platform name (e.g from Android to iOS)

Appium If you are using Webdriver.io to automate your tests, you can port your executions to Continuous Testing Cloud and run these tests on Real mobile devices and browsers.


Set up

Appium (Mobile Devices):  Additional capabilities for mobile devices can be found here: Capabilities in Appium Based Tests

Selenium (Desktop Browsers): Additional capabilities for browsers can be found here: Capabilities In Selenium Tests

...