All Products
Search
Document Center

Mobile Testing:Remote debugging

Last Updated:Mar 16, 2022

Prerequisites

  • Resource plans for remote device debugging are purchased, or resource usage does not exceed the free quota. For more information, see Pricing.

  • Optional) The iOS app that you want to debug is uploaded. For more information, see Upload an app.

  • The Mobile Testing console page is displayed. For more information, see Go to the Mobile Testing console page.

Apply for a remote device

Step 1: In the left-side navigation pane of the Mobile Testing console, choose Testing Products > Remote Device Debugging to view the remote device list.

Step 2: Enter a keyword such as Apple in the search box to search for remote devices of the specified brand and model. Alternatively, click Shower Filter and select one or more filter conditions to filter remote devices.

Note

The filter conditions include Brand, Android Version, iOS Version, Resolution, and Time to Market.

Step 3: In the remote device list, move the pointer over the Apple device and click Use Now to go to the Remote Device Debugging page.

Note

Jailbreaking is disabled for all iOS devices.

Apply for a remote device

Remote device description

A remote device is used to simulate the basic operations on a device on the web page.

Screenshot

1. System settings toolbar: simulates common system features.

Control

Description

HD

Switches between high definition and standard definition for the device.

Lock Screen

Locks the device screen.

Rotate Screen

Switches between landscape and portrait modes.

2. Full Screen icon: shows the remote device in full screen mode.

3. Home key: simulates the Home key of iOS mobile devices.

4. Page slider: adjusts the slider to change the size of the remote device window.

Install an app

Step 1: On the Remote Device Debugging page of the specified device, the Apps tab is displayed by default.

Step 2: If the app that you want to debug is uploaded, click Uploaded or Installed to filter apps.

Step 3: Alternatively, enter a keyword in the search box to search for the specified app by name. Fuzzy match is supported.

Step 4: If the app is uploaded but not installed, click Install or Install (without re-signing) in the Actions column to install the app on the remote device.

Note

Install and Install (without re-signing) have the following differences:

  • Normal installation: supports debug packages, which are re-signed and installed by the platform.

  • Installation without re-signing: supports Enterprise packages (Enterprise certificate signatures), which are installed by the platform.

Step 5: If the app that you want to debug is not uploaded, click Upload App to upload it. For more information, see Upload an app.

D89B7224-4519-4201-B6E2-3D01DD3B50DD

View logs

Step 1: On the Remote Device Debugging page of the specified device, click the Logs tab.

Step 2: On the Logs tab, turn on the logging switch to start recording the device logs.

Step 3: Select a level from the Select Level drop-down list to show logs of the specified level.

Step 4: Enter a keyword in the search box to search for logs. Fuzzy match is supported.

Step 5: Turn on Scroll to scroll through the latest logs in the log list.

Step 6: Click Download Logs to download logs as text files to your on-premises machine.

Step 7: Click Clear Logs to clear the log list.

View iOS Remote Device logs

Take screenshots or record videos

Go to the Screenshots tab

Step 1: On the Remote Device Debugging page of the specified device, click the Screenshots tab.

Step 2: On the Screenshots tab, the Screenshots and Recordings subtabs are available.

Step 3: Click the Screenshots subtab to view the screenshot list and take screenshots. Click the Recordings subtab to view the recording list and record videos.

Step 4: Click the Large Image or Small Image icon to switch the display mode of the screenshots or recordings.

Screenshot

Take screenshots

Step 1: Click the Screenshots subtab.

Step 2: Perform operations on the app.

Step 3: Click the Click to Take Screenshot icon to take a screenshot of the current device interface. The screenshot that you take is displayed in the list.

Screenshot

Record videos

Step 1: Click the Recordings subtab.

Step 2: Click the Start Screen Recording icon to start screen recording. After you click the icon, the name of the icon changes from Start Screen Recording to Stop Screen Recording.

Step 3: Perform operations on the app.

Step 4: Click Stop Screen Recording to stop screen recording. The recorded video is displayed in the list.

Recording Screen

Edit screenshots or recordings

Step 1: Move the pointer over the screenshots or recordings and select their check boxes. Alternatively, click Select All to select all the screenshots or recordings.

Step 2: Select one or more screenshots or recordings and click the Download icon to download them. Click the Delete icon to delete them.

Edit screenshots or videos

Implement performance testing

Step 1: On the Remote Device Debugging page of the specified device, click the Performance Testing tab.

Step 2: Select an app that you want to test from the app drop-down list.

Step 3: Click the Start Testing icon to start plotting the performance data of the specified process of the specified app. After you click the icon, the name of the icon changes from Start Testing to Stop Testing.

Step 4: Perform operations on the app and view the changes in plotted data.

Note

Move the pointer over the trend chart to view the instantaneous value of specified point in time.

Step 5: Click Stop Testing to complete the performance data plotting.

Step 6: Click the Save Results icon. In the Save to Use Case panel, set Task Name, select the directory and use case to which you want to save the results, and then click OK.

Save to Use Case
Note

Directories and use cases must be configured in advance. If no directory or use case is set, click Create Use Case or Create Directory to create a use case or a directory. The created directory and use case are displayed in the Use Cases hierarchy tree of the Performance Testing page. For more information, see Manage test cases.

Step 7: Click the Clear Data icon to clear the mapped performance data.

Performance Testing

For more information about performance test reports and the related data description, see View a test report.