There are the three most common tactics used by the teams for handling test environments. One of them is local machines. The second one is a machine like Amazon EC2. Lastly, the team does test environments by leveraging device labs which consist of owned or rented mobile devices and test environment management tool.