Test Android applications on VMs running Android OS

Rainforest supports testing native Android phone and tablet applications.

Creating a new Android app test

Be sure to have your mobile applications set up in your Sites and Environments before proceeding.

1. Create a new test for your native Android application.
Click Create Test, then select the test type 'App'

Note: Plain English should be left as the Test Language of the test. Rainforest Automation is not available for mobile testing yet.

2. Click the App Source drop-down.
Select the URL for the Android app file you wish to test.

3. To start a run, Select the Android VMs you wish to test from the Platforms section

Can I reuse my existing web tests?

In most cases, a company’s web app and native app are fundamentally different, so you will not be able to reuse your existing web tests for your native app. However, in some cases, you can (and should!) reuse the work that you have already done.

If your mobile and web apps are very similar, you can simply copy the appropriate tests for your web app to a new test for your mobile application.

Native mobile app and web application tests are separated in the Rainforest interface since they cannot share a starting URL.

  • The URL for a web browser test serves as a direction for the testers
  • The URL for a native app test is a source, where Rainforest will access and install your native application


Testing your build

If your app is not running properly on Rainforest’s VMs, we strongly recommend that you test it locally to ensure that your application is configured properly for x86.

Make sure your app URL is a direct download link

The hosted file URL must be a direct download link. If this is not the case, Rainforest will not be able to install the .apk file.

Verify Site URL

Rainforest will add a trailing slash "/" when launching running the test. This will sometimes lead to an error that does not allow the test to direct to the correct URL which will fail the test. This can be avoided by adding a "#" to the end of your site url.

Whitelist IPs

Our testers come from various IP address, secure environments will often block testers from reaching your site. Whitelisting Rainforest IP addresses may be required.

Did this answer your question?