Manage apps

On an open device, you can install, run, stop, and delete applications. You can also narrow down the number of applications listed to focus on the ones you are interested in. This article explains how.

Install an app

Watch this short video to see how you can install an app on a Perfecto device. Detailed steps follow.

Note

Installing an app on a virtual iOS device requires an .app file. Because this is a compressed file, you need to select a .zip file during the installation process.

To install an application on an open device:

  1. On the device toolbar, click the applications icon .
  2. In the Applications form, click INSTALL NEW.
  3. In the Install new app form, in the SELECT APP panel, select the location of your app file: Repository (default) or Computer.
  4. Depending on your selection in step 3, do the following:

    • Repository: Search for and select the repository file you want to use.

      Tip

      You can search by tag name, if applicable. If a file is associated with tags, a tag symbol appears below the file name, along with the number of tags associated with the file. To view the tag names, move the pointer over the tag icon .

    • Computer:
      1. Click ADD FILE.
      2. Browse to the file you want to use.
      3. Select the file and click Open.

        The file loads.

  5. Click NEXT.
  6. In the CONFIGURE APP panel, turn on any of the following options, as required:
    • Sensor instrumentation 

      Select this option if your app needs to interact with different input sensors. On iOS, this option also includes resigning the application.

      Note

      When instrumenting iOS applications that use biometric authentication, see also Biometric authentication on iOS devices.

    • WebView instrumentation 

      Select this option if your application displays parts of the UI in WebView objects. On iOS, this option also includes resigning the application.

    • (iOS only) Resign an application

      Select this option if your application must be signed with a Developer Certificate that includes provisioning for the cloud device under test. This option replaces the app's signature and resigns it with a Perfecto code signing certificate that ha the cloud device provisioned.

      If you have selected any of the other two option, this option becomes unavailable.

    • (Android 12 only) Secured screen instrumentation

      Select this option on Android 12 devices if your app includes secured screens.

      On Android 12 devices, secured screens are currently subject to a limitation that is linked to FLAG_SECURE, a flag that was originally declared for better security and preventing screenshots, but that now prevents screen captures and screen video recording on Android 12 devices, causing the screen to appear black and affecting the testing process.

      With this option turned on, calls on the app that use FLAG_SECURE will be removed (only setFlags() and addFlags() methods that use FLAG_SECURE are affected), and secured screens will be visible in the installed app.

  7. (Optional) Select the Launch after installing check box.
  8. Click INSTALL APP

    Perfecto installs the application and launches it (if you selected this option).

Run, stop, or delete an app

Watch this short video to see how you can run, stop, and delete an app.

To run, stop, or delete an app:

  1. On the device toolbar, click the applications icon .
  2. In the Applications form, move the pointer over the required application.
  3. Click one of the following icons: 
    •  to run the app
    •  to stop the app
    •  to delete the app

Find an app

If the open device has many applications installed, the one app you are looking for may be hard to find. You have these options:

  • Toggle the Hide default apps option. This option is by default turned on so that all system applications are hidden. If the app you are looking for is defined as a default app, you need to turn this option off.

  • Use the Search field. The search results update as you type.

For more information, watch this short video.

Copy the bundle ID or app package

You can copy the bundle ID (for iOS) or app package (for Android) of an application from the open device and paste itas a capability directly into your automation script.

To copy the bundle ID or app package:

  1. On the device toolbar, click the applications icon .
  2. In the Applications form, move the pointer over the required application.
  3. Click the copy icon . This copies the bundle ID or app package to your clipboard.

Limitations

Application files cannot exceed 1050 MB.