BreadcrumbHomeResourcesBlog Tips & Tricks: Using Perfecto When Working Remotely March 17, 2020 Tips & Tricks: Using Perfecto When Working RemotelyIndustry NewsDigital ExperienceCOVID-19 — the coronavirus — is forcing many workplaces to go remote for the foreseeable future. When going into the office is not an option, you need to make sure your team is set up for success at home. Fortunately, Perfecto can be accessed safely and securely from anywhere.Perfecto provides you access to the mobile devices and browser instances you need from anywhere at any time. With Perfecto, you don’t need to worry about updates, whether devices are running, or if you have the right number of combinations.Most teams access the Perfecto cloud solution from inside their global offices. But teams can access the cloud solution from anywhere in the world.Table of ContentsPerfecto’s Security for Remote AccessRemote TeamsPublic Apps/SitesInternal Apps/SitesAssociate a Device With a Perfecto Connect TunnelCapabilities for ExecutionPerfecto Is Here to HelpTable of Contents1 - Perfecto’s Security for Remote Access2 - Remote Teams3 - Public Apps/Sites4 - Internal Apps/Sites5 - Associate a Device With a Perfecto Connect Tunnel6 - Capabilities for Execution7 - Perfecto Is Here to HelpBack to topPerfecto’s Security for Remote AccessA primary concern when accessing any solution is security. You may wonder, does the solution track and allow access to only those users I want? Does it give only certain permissions to users based on their role?For Perfecto, the answer to both of these questions is yes.Perfecto allows you to control access for anyone in the cloud solution via SSO or a normal login. You can also grant permissions (privileges) to each user via groups so that your data is always secure.Perfecto uses a security token to connect to the platform. This means that even if you are working from a remote location your username and password is never exposed. You can generate your security token here.Then, use your token inside the automation script, as seen below.Back to topRemote TeamsPerfecto is a modern, cloud-based solution that scales as your team needs it. Your teams can all be in one location, spread out globally, or working from home. The solution will scale for both manual testers and automated testers running scripts from anywhere in the world.Back to topPublic Apps/SitesMost users have public-facing solutions they need to test. Perfecto can quickly and easily access production applications available publicly or via the app stores (iOS and Android). This means you can test as your users would use your app without any device or browser limitations.Back to topInternal Apps/SitesIf you have an internal site or app that needs to be tested, you could run into a problem. You may be wondering how you can access the site or app from a public cloud provider like Perfecto.Fortunately, Perfecto has you covered. If you have web apps or mobile tests that are within your internal network, you can use Perfecto Connect.Perfecto Connect — or pConnect — allows you to establish a secure tunnel between Perfecto and these non-public apps. The tunnel is based on SSH and allows a secure connection without the need for a VPN. The benefit is an end-to-end automation and integration flow of Perfecto devices (web and mobile) to your backend development environment.Perfect Connect (pConnect) Supports:Mobile devices and desktop web (fast web Windows devices only).Digital interactive, automation, and CI test executions.Associating multiple devices with the same tunnel.Tunnel initiation from MacOS, Windows, and Linux workstations.Bridging proxies (installed on a workstation), including Charles proxy and others for debugging and troubleshooting.Debugging over real devices from your local network/backend environment.Learn more about Perfecto Connect here.If you run into issues with Perfecto Connect, we have a quick guide to troubleshooting here.Back to topAssociate a Device With a Perfecto Connect TunnelYou can also connect a device directly to the tunnel to gain access to your local resource (web server or app) using the tunnelId you received from Perfecto Connect.Learn how to associate a new tunnelId with a device here.Manual (Interactive) Testing1. In the Manual Testing view, click the Perfecto Connect button.2. From the menu that opens, select the required tunnelId.3. Open the required device or web session. When Perfecto Connect is turned on, the device you open in the lab automatically connects.4. To end the session, click the Perfecto Connect button again to stop and end the connection. Back to topCapabilities for ExecutionThe following is a list of the capabilities we are setting for this automated test execution:securityToken — Your Perfecto security token.user — Your Perfecto username (use only if security token is not supported for your Perfecto Lab).password — Your password (use only if security token is not supported for your Perfecto Lab).deviceName — The Device ID which you'd like to use (we're using a single device for demonstration purposes, but you may use several).tunnelId — The Tunnel ID received from perfectoconnect.Prerequisite: Before using Perfecto Connect in interactive mode, run the perfectoconnect client and save the tunnelId, as described above.In your Automation script, perform the following steps:Launch the device to connect.Copy the tunnelID from the perfectoconnect client.Use the perfectoconnect.attach function, supplying the tunnelId as the parameter value.To disconnect the device, use the perfectoconnect.detach function, supplying the tunnelId as the parameter value.For information on using Perfecto Connect with your CI job (Jenkins), click here.Back to topPerfecto Is Here to HelpFor more information, please refer to the Perfecto documentation site.If you need assistance, reach out to the Perfecto Support Portal.Back to top