= Desktop Web Testing
  • Docs »
  • Desktop Web Testing

Desktop Web Testing

Overview

As we know that cross-browser testing has become a major asset for businesses to stay ahead in the competitive market. pCloudy's Browser Cloud enables user to test desktop web apps on various browsers-OS combinations to ensure that it is working fine across all platforms.

This document exebhits procedure for both manual and automated cross-browser testing.

Prerequisites

User needs to be registered on pCloudy platform

Manual Testing

Follow these steps to test the web apps manually:

Step 1

Login to the registered pCloudy account.

Step 2

Click on the Browsers tab.

1 Step 3

As per your browser requirement connect the available machine.

2 Step 4

Once connected you are ready to start your testing on the desired browser.

3 Step 5

In case you navigate to other tabs on pCloudy and wish to go back to the connected machine.

  • Go to Reports tab
  • Click on My Active Session
  • Click on icon as shown below
4 Resolution

To change resolution of the machine, follow these steps:

  • Connect a machine
  • Once the machine is connected, click on the Resolution dropdown list
  • Select the required resolution
5 Wildnet

Wildnet is used to test local sites which are accessible in restricted environments.

To use wildnet follow the below mentioned steps:

  • Connect a Machine
  • Select wildnet option
  • Hover the cursor over the Wildnet icon to see the tooltip
  • Click on “here” to know how to initiate wildnet
6

Note : Locatsite is currently available for only manual sessions.

Capture Screenshots

Click on the Camera icon to capture screenshots.

7 Location

Users can test websites on machines located at different locations (USA, India) connected to the browser cloud.

8

Automation testing

To run automation on Browsers cloud, users need to include the capabilities mentioned below, in their selenium 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("clientName", "abc@sstsinc.com");
caps.setCapability("apiKey", "Sz7pjNEMWeHUkUujhyJ");
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");

To get Cloud URL and API access key

  • Go to profile

  • Click on Settings

  • Copy the Cloud URL and API Access_Key as shown below

9