Unique Testing Scenarios with the Virtual Machine

Learn about different capabilities of our vitrual machines.

Overview

This article will explain some of the unique scenarios Rainforest QA can handle when working with our virtual machine (VM). When considering what a VM can do, remember you’re interacting with an emulation of a computer system that represents what users will use to access your website or app.

Downloading Chrome extensions

When testing with the Google Chrome browser, you may want to test the functionality of a Chrome extension. To accomplish this, we recommend creating the download step actions as a reusable snippet and inserting it at the beginning of your tests. Step-by-step instructions can be found in our Testing a Chrome Extension guide.

Downloading desktop applications

Users who want to test their desktop application will need to download it before any user interaction steps. This is possible within our VMs by creating the download steps as a reusable snippet. Custom VMs with desktop applications already downloaded are available for Premium plan customers — please fill out the form here if you are interesting in learning more

1386

Downloading a desktop application

Navigating between tabs and windows

The VM allows you to open multiple tabs and browser windows. Use the Navigate action and open a new tab to a specified URL or use the Click action to open a second window in incognito mode to interact with during the same test. This is useful when testing the interactions between admin and end users in your application, both sides of your websites chat feature, downloading a file from one tab and uploading in another, or any other two-sided exchanges.

Interacting with emails

Rainforest QA offers our own email system for testing sending/receiving email functionality. Users are also able to access all email platforms that are accessible via a website. From within the VM you can open an email and download attachments, click magic links, and observe specific content is visible. In our Using Test Emails article we cover how our email service works and the different customization methods you can utilize.

📘

Example

The following GIF is using our emails and inboxes to create an email address and navigating to the inbox in a new tab to retrieve an activation code.

1229

Copying a dynamic code from a Rainforest inbox

Uploading/downloading files

You can create steps to download files from an online file storage site (e.g., Dropbox, Google Drive, etc.) to the VM to then interact with those files as needed within your own application.

👍

Pro tip

If you are using Dropbox, adding dl=1 at the end of the URL will make it a direct-download link with no UI necessary. More information can be found on DropBox's website, here.

To download a file and upload it to your app:

  1. Navigate to the URL where the file is stored
  2. Click to download the desired file
  3. Wait for the file to complete the download process
  4. Navigate to where you would like to upload the file
  5. Click the Downloads folder
  6. Select the file you would like to upload
1375

Downloading a PDF file

Please reach out to our team at [email protected] if you need help creating or troubleshooting your test.

Drag-and-drop functionality testing

Use our Drag and Drop action to test scenarios that download a file, and then drag it to an upload source such as DocuSign or Google Sheets.

This action can also be used to test signing a document by using the following steps once you are at the point of signing:

  1. Add the Drag and Drop action to your test
  2. The first screenshot needs to be on either the left or right side of where you need the signature
  3. The second screenshot will need to be on the opposite side to create the ‘signature’
  4. Use Click actions to accept the signature and continue on with testing

📘

When taking the screenshots of the left and right sides, ensure you provide enough context around the area for our Automation Service to select the correct area. Refer to our Screenshot Best Practices guide to learn more.

Using Drag and Drop actions to simulate a signature

Using Drag and Drop actions to simulate a signature

Using preloaded image files

If you need to perform an action like accessing an image file to upload within your test, our VMs come with stock images already available within the Pictures folder.

To do this:

  1. Click on your area where you would like to upload the image
  2. For Windows, click Pictures. For MacOS, you can find jpeg files under Documents
  3. Click the desired image
  4. Press “Open”
1233

Uploading a preloaded file

Testing 3rd party services

Accessing 3rd party services like chatbots, Salesforce, and Shopify allow you to test the full functionality of your user flows. Within the test, use the Navigate action to open a new tab for the service you are trying to test and log in. From there the testing is the same as if it was your own app.

🚧

Due to limited control over security measures, some tasks, like Captcha (that cannot be disabled) may require these tests to be run through our Tester Community. If possible, you may be able to provide a list of our IP Addresses for whitelisting, or change the proxy settings from within the VM.

Opening a desktop browser while using a mobile VM

This action needs to be performed with our Tester Community. When running a mobile test, you can open and interact with a desktop browser within the same test. This is helpful anytime you need to verify something on another device, like a new account setup or a purchase being made.

To do this:

  1. Instruct the tester to click the corresponding internet browser (Safari for mac, Chrome for Android)
  2. Instruct what URL the tester should navigate
  3. Continue testing steps as normal
  4. Instruct tester to close the web browser once it’s no longer needed for the test
1383

Accessing a Desktop Browser While Using a Mobile VM


If you have any questions, reach out to us at [email protected].