= Desktop Web Testing
  • Docs »
  • Wildnet for Browser Cloud

Wildnet for Browser Cloud

Overview

Wildnet helps users to test their local site on any Mac/Windows machine on the pCloudy platform. Users can use this feature for both manual and automation testing.

This document exhibits procedures to use Wildnet in both manual and automated testing.

Prerequisites

User should be logged in device.pcloudy.com

Steps

For Manual testing:

  1. Navigate to the “Browsers” tab to connect a machine.
  2. Open the command prompt and run the command mentioned below with your User ID, access key and the URL to enable Wildnet.
  3. ./pCloudyWildNetLinux_v1 -i john.doe@xyz.com -k 37qf6bfjtg5k63vd4 -u https://device.pcloudy.com

  4. Once the machine is connected in the browser cloud, click on the “ENABLE WILDNET” icon.
3

4. Users can test local sites once the Wildnet gets enabled.

For Automation testing:

To use the wildnet feature while using selenium, perform the steps mentioned above and along add the below mentioned capabilities in the script.

DesiredCapabilities caps = new DesiredCapabilities().internetExplorer();
DesiredCapabilities caps = new DesiredCapabilities().edge();
DesiredCapabilities caps = new DesiredCapabilities().chrome();
DesiredCapabilities caps = new DesiredCapabilities().firefox();
DesiredCapabilities caps = new DesiredCapabilities().safari();
caps.setCapability("os", os);
caps.setCapability("osVersion", osVersion);
caps.setCapability("browserVersion",browserVersions);
caps.setCapability("enableWildnet",true);
caps.setCapability("clientName", "abc@sstsinc.com");
caps.setCapability("apiKey", "7pjNEMWeHUkUujh");
caps.setCapability("email", "abc@sstsinc.com");
driver = new RemoteWebDriver(new URL("https://browsercloud-in.pcloudy.com/seleniumcloud/wd/hub"), caps);
System.out.println("driver intialized");

Note: To turn on/off wildnet, Users need to pass true/false value as per the requirement in the enableWlidnet capability.