All Products
Search
Document Center

Mobile Testing:Manage test cases

Last Updated:Apr 28, 2022

This topic describes how to manage performance test cases.

Background information

To save the data of a performance test, you must create a use case before the test starts or after the test is complete. You can apply for a remote device for performance testing. For more information about the test procedure, see the "Implement performance testing" section in Remote debugging.

Prerequisites

You are logged on to the Mobile Testing console. For more information, see Go to the Mobile Testing console page.

Go to the Performance Testing page

1. In the left-side navigation pane of the Mobile Testing console, choose Testing Services > Performance Testing. The Performance Testing page appears.

2. Select the iOS app that you want to test from the app drop-down list.

Performance Testing

Create a directory

  1. The first time you create a directory, the Use Cases hierarchy tree on the Performance Testing page is empty. In this case, click Create Directory. Alternatively, click the More icon next to Use Cases and select Create Directory. The Create Directory dialog box appears.Create Use Case

  2. In the Create Directory dialog box, configure parameters for the directory.

    Parameter

    Description

    Parent Directory

    The parent directory in which to create the directory.

    Directory Name

    The name of the directory.

    The name must be 2 to 50 characters in length.

    The name can contain letters, digits, underscores (_), and hyphens (-).

    Notice

    The directory name must be unique among all directories at the same level.

  3. Click OK.

    After the directory is created, you can view the directory in the Use Cases hierarchy tree on the Performance Testing page.

    View a directory

Create a use case

  1. The procedure for creating a use case varies based on whether a directory is created.

    • If a directory is already created, move the pointer over the directory in the Use Cases hierarchy tree, click the More icon, and then select Create Use Case to create a use case in the directory.Create Use Case

    • If no directory is created, the Use Cases hierarchy tree on the Performance Testing page is empty. In this case, click Create Use Case. Alternatively, click the Create icon next to Use Cases and select Create Use Case. The Create Use Case dialog box appears.Create Use Case

  2. In the Create Use Case dialog box, configure parameters for the use case.

    Parameter

    Description

    Parent Directory

    The parent directory in which to create the use case.

    Note

    After the use case is created, you can click and drag the use case to another parent directory.

    Use Case Name

    The name of the use case.

    The name must be 2 to 50 characters in length.

    The name can contain letters, digits, underscores (_), and hyphens (-).

  3. Click OK.

Manage use cases

  1. Move the pointer over an existing directory and click a shortcut icon to manage the directory.Edit a directory

    Icon

    Sub-option

    Description

    Create icon

    Create Use Case

    Creates a use case in the current directory.

    Create Directory

    Creates a subdirectory in the current directory.

    Edit

    -

    Renames the current directory.

    Delete

    -

    Deletes the current directory.

    Notice

    After a directory is deleted, use cases in the directory are also deleted and the data cannot be recovered. Exercise caution when you delete a directory.

  2. Move the pointer over an existing use case and click a shortcut icon to manage the use case.Edit a use case

    Icon

    Description

    Edit

    Renames the current use case.

    Delete

    Deletes the current use case.

    Notice

    After a use case is deleted, the data of the use case cannot be recovered. Exercise caution when you delete a use case.

  3. Click and drag an existing directory or use case to the appropriate storage location.

What to do next

Submit a test

View a test report