ACCELQ supports Perfecto as cloud-infra provider for automation test execution. This article explains ACCELQ Agent configuration for connecting to your Perfecto subscription for browser and mobile devices required during test execution.
When running tests on ACCELQ, if the Agent is configured to point to Perfecto, your application browser (or mobile device) is invoked remotely on the cloud infrastructure, but the overall test execution and the results workflow remain with the ACCELQ Agent.
If you haven't already installed ACCELQ Agent, follow this article.
Information required from Perfecto
To integrate with Perfecto, you need the Cloud Name and Security Token from your subscription with Perfecto. Login to your Perfecto account and click on your profile icon; then click the My security token option as shown in the screenshot below:
For Cloud Name:
In your URL bar look for the part prefixing app.perfectomobile.com, this is your cloud name. In this example, your cloud name is "acme".
For Security Token:
Configure ACCELQ Agent Properties (Agent Command Center)
If you are using the Agent Command Center portal, follow these steps. Command line instructions are provided in this next section.
Open ACCELQ Agent Command Center. In the target Agent (when running multiple Agents on the same machine), click on "Edit Configuration".
As shown in the screenshot below, select the checkbox for "Use external device provider for Web" and/or "Use external device provider for Mobile" depending on your need. Populate the Perfecto authentication information and save/restart the agent.
Configure ACCELQ Agent Properties (Command Line)
If you are using Command Line to set Agent properties, you should configure the following properties in your Agent properties file.
Properties for Browser-based executions:
Properties for mobile device executions:
Use the following command to set Agent properties. The "--agent" flag is optional in case only one agent is present in the system.
$ acc properties --agent <name> --set <property_name>=<value>
Executing a test
When the agent is ready and configured with Perfecto integration, you will be able to select the browser or Mobile OS/Device as supported by Perfecto.
In the Run modal, select the agent from the AGENT/HOST section and then select the browser and device from the respective sections.
Capturing a Mobile View
For Mobile Automation, you could use a device hosted on Perfecto for recording Views and for setting up element identification. Follow the steps here:
- In the View capture dialog, select Cloud Provider
- In the Provider dropdown, select Perfecto and provide the Cloud Name and Security Token.
- Under the Device and Application section fill up the required details as per your requirement like OS, Perfecto Device ID, Perfecto App File Path (Locator), etc.
- Once all the fields are ready, click Start Capture and the capture session with the selected device will begin.