Configure the Mobile Scan for devices in Perfecto

You can scan native applications with the Mobile Scan in Perfecto.

You can't use the Mobile Engine 3.0 to scan mobile web and hybrid applications in Perfecto.

To scan an application in Perfecto, follow the steps below:

  1. Start the Mobile Scan.

  2. In the Mobile Scan window, click Add device.

  3. In the subsequent Add device window, click Add new.

  4. In the Add connection window, enter the following information:

Label

Description

Enter a name for your connection

Enter a custom name for your Perfecto connection.

The Mobile Engine 3.0 uses this name as a mobile configuration name under the node Mobile->Connections.

Choose the type of your connection

From the drop-down menu, select Perfecto.

Enter the Appium Server address

Enter the address of the Perfecto Appium server which by default is https://<your host>.perfectomobile.com/nexperience/perfectomobile/wd/hub.

Replace <your host> with your own host.

Access Key

Enter the security token for your Perfecto account.

Add connection window with sample Perfecto account details

  1. Click Add.

  2. In the Add device window, enter a custom name for your Perfecto device into the Enter a name for your device field.

    The Mobile Engine 3.0 uses this name as a mobile configuration name under the node Mobile->Connections.

  3. Into the Enter the device ID field, enter your Perfecto device ID, which you can find in your Perfecto account.

  4. Click Add and continue the scan starting from point 6 as described in chapter "Start the Mobile Scan and connect".

    To scan iOS applications in Perfecto, you must provide both the IPA file path and the Bundle ID. For detailed information on how to do so, see this Tricentis Knowledge Base article.

Connect to Perfecto using Advanced Configuration

Alternatively, you can connect to Perfecto using Advanced Configuration. To do so, follow the steps below:

  1. Create a comma-separated value (CSV) configuration file with keys and values that correspond to test configuration parameters you use for mobile test automation in Perfecto.

    The following code table is an example of a .conf file that configures a connection to Perfecto:

Browser,ChromeAndroid
OSVersion,6.0
DeviceName,02157DFA1B46C33
PerfectoToken,eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA
app,PRIVATE:InsuranceCalculator.apk;com.tricentis.insuranceCalculatorApp;com.tricentis.mobile.MainActivity
  1. Start the Mobile Scan.

  2. In the Mobile Scan window, click Advanced Configuration.

  3. On the left side of the Advanced Configuration window, select your Perfecto configuration. The right side displays a preview of your .conf file.

Advanced configuration window with Perfecto credentials

  1. Click Add and continue the scan starting from point 6 as described in chapter "Start the Mobile Scan and connect".