ACCELQ supports Digital AI as cloud-infra provider for automation test execution. This article explains ACCELQ Agent configuration for connecting to your Digital AI subscription for browser and mobile devices required during test execution.
When running tests on ACCELQ, if the Agent is configured to point to Digital AI, 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 Digital AI
To integrate with Digital AI, you need the Access Key from your subscription with Digital AI. Login to your Digital AI account and click on your profile icon; then click the Get Access Key option as shown in the screenshot below:
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 Digital AI 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:
- web_provider_type=DIGITAL_AI
- web_provider_serverUrl
- web_provider_password [Access Key read from your Digital AI subscription]
Properties for mobile device executions:
- mobile_provider_type=DIGITAL_AI
- mobile_provider_serverUrl
- mobile_provider_password [Access Key read from your Digital AI subscription]
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 Digital AI integration, you will be able to select the browser or Mobile OS/Device from the list supported by Digital AI.
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 Digital AI 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 Digital AI and provide the Access key and click Authenticate
- On successful authentication, Digital AI devices will be available for selection.
- Once all the fields are ready, click Start Capture and the capture session with the selected device will begin.
Comments
0 comments
Please sign in to leave a comment.