How do I Enhance the Execution Speed for Mobile Native Apps?


In Testsigma, executing and recording test steps for mobile applications, particularly those built with React Native or Flutter, may take longer. To improve the speed of actions such as clicking and entering data, you can configure a specific desired capability. This article discusses how to use that capability to enhance test execution performance on mobile native applications.


Prerequisites

Before you begin, ensure that you have test cases created for a mobile native application.


Steps to Configure Desired Capability

  1. From the left navigation bar, expand Create Tests and click Test Cases.
  2. In the Test Case Explorer section, expand the required feature and scenario and select the required test case.
  3. In the Test Case Details page, click Run.
NOTE:

To add the desired capability during recording, click Record.

  1. In the Ad-Hoc Run/ Record test steps overlay, expand the Desired Capabilities field and specify the desired capability.

    Name Data Type Value
    appium:waitForIdleTimeout String 1000L
NOTE:

If you experience delays in other mobile apps built with different frameworks, you can use the same desired capability to improve execution and recording performance.

  1. Click Run Now/Record.
NOTE:

You can also include this desired capability in the test plan when adding a new test machine or device profile to enhance the execution speed.