All Products
Search
Document Center

Mobile Testing:Create or import a module

Last Updated:Feb 28, 2022

Modules can be combined with business logics of apps to further manage use case sets in a centralized manner. For example, Homepage, My, and Orders are commonly used modules.

Prerequisites

  • (Optional) A use case library version is created for the specified app. For more information, see Create a use case library version.

  • (Optional) Modules are available for other use case library versions.

  • The Use Cases page of the specified app is displayed. For more information, see Go to the Use Cases page.

Create a module

Step 1: On the Use Cases page of the specified app, click the Use Case Libraries tab.

Step 2: Select a use case library version from the version drop-down list or use the default version.

Note

Use case library versions must be configured in advance. For more information, see Create a use case library version.

Step 3: Click the More icon next to the version drop-down list and select Create Module. The Create Module dialog box appears.

Create Module

Step 4: In the Create Module dialog box, set Module Name.

Step 5: Click OK to save the module.

The created module is displayed in the list.

Custom module

Import a module

Step 1: On the Use Cases page of the specified app, click the Use Case Libraries tab.

Step 2: Select the use case library version of the source module from the version drop-down list or use the default version.

Note

Use case library versions must be configured in advance. For more information, see Create a use case library version.

Step 3: Click the More icon next to the version drop-down list and select Import Module. The Import Use Case Set Module panel appears.

Import Module

Step 4: In the Import Use Case Set Module panel, select the module that you want to import.

Import Use Case Set Module The following table describes the parameters.

Parameter

Description

Use Case Library Version

The use case library version of the source module.

Select Module

The source module that you want to import.

Step 5: Click OK to import the specified module to the current use case library version.

The imported module is displayed in the list.

Import Module
Note

If the imported module has the same name as an existing module in the current use case library version, the imported module is automatically renamed. Pay attention to the module names.