Use emulation to record mobile applications

Using an emulator to test mobile applications often provides a robust solution for many mobile devices. To test mobile devices using emulation, you install a third party emulation application on your local computer, and then record events using the Windows Application method in VuGen's Start Recording dialog box. (For details, see Start Recording dialog box.) After selecting the Windows Application method, the Start Recording dialog box requires the following emulator settings in order to start the emulator:

  • Emulator to record: Enter this in the Application field.
  • Command line: Enter this in the Program arguments field.
  • Working directory: Enter this in the Working directory field.

The following provides information on an Android emulator download site, and examples of emulator settings:

Link to Download SDK Emulator to record (example) Command line
Working directory (example)
Android Emulator Download C:\Users\[username]\AppData\Local\
@Pixel_3_XL C:\Users\[username]\AppData\Local\

Back to top

Record with a Google Android Emulator

Google Android Emulator Version 2.0 and above

If you experience problems when recording with Google Android Emulator Version 2.0 and above, apply the following workaround:

  1. Enter a new Port Mapping by selecting Recording Options > Network > Mapping and Filtering and select New Entry in the Port Mapping section.

  2. Specify a Target server and port.

  3. Enter a second Port Mapping entry without changing any details.

  4. Disable the second entry so all traffic is handled by the first entry in the Port Mapping.

Google Android Emulator - Resolved limitation

The following limitation was resolved in Google Android Emulator Version 4.03:

While recording an SSL site, you may encounter a warning message stating that there are problems with the certificate for the site. Click Continue to proceed with the recording.

Back to top