What are Sites and Environments?
Testing with Rainforest starts with setting up your sites and environments in the Rainforest Sites settings. At Rainforest we think about sites as the distinct web properties which you would like to run Rainforest tests against and environments as the locations or servers where your application will be deployed.
As it relates to QA, it is very common to deploy your application to various locations. For example, new code is often deployed to a staging or QA environment for testing before being deployed to production. Once it passes test for one environment, it proceeds to the next and then the next and so forth until it is determined ready to be deployed into the wild.
To visual this we at Rainforest have a separate Rainforest Site for our marketing page (https://www.rainforestqa.com/), our blog page (https://blog.rainforestqa.com/) and our main application (https://app.rainforestqa.com/). Each of these sites are then tested in a Staging and QA environment before it is deployed to Production.
As the URL for your sites may be different for their specific environments they're deployed to, we've come up a way to set up your sites and environments that makes it easy to keep
How to set up your Sites and Environments
In Rainforest, Sites and Environments come together in the form of a grid matrix, where each cell in the matrix is the URL pointing to the version of the site in a specific environment. A common way to read the matrix is column-row. As shown below, in the Enviro1 environment the URL for the "Google" site is https://www.google.com.
Please note as you're setting up your sites and environments, If your environment is behind a firewall, check out the list of IPs to whitelist for our testers to gain access.
If you have any questions regarding how Sites and Environments are set up, please let us know at email@example.com.