Recording Mobile Apps Using Mobile Devices

Things to consider when recording via a mobile device:
  • Disable security warnings in the browser of your mobile device
  • Disable "String completion" in the browser of your mobile device, otherwise a Web call will be scripted after each key press
  • Delete your browser's cookies before attempting to record a script
  • Operating system-specific instructions for your specific device are easy to find on the internet using your favorite search engine
To test mobile device apps, the recommended option is to record apps directly via your mobile device if it supports a configurable proxy.
  1. Click Start Here on the workflow bar. The Outline Project dialog box appears.
  2. In the Name text box, enter a name for your project.
  3. Enter an optional project description in Description.
  4. In the Type menu tree, select Web Browser > Mobile Devices.
  5. Click Next to create a project based on your settings.
  6. On the Workflow - Model Script dialog box, click Record via mobile device. The Record via mobile device dialog box appears.
  7. On your mobile device, configure the browser to use the IP address and port of the machine where Silk Performer is installed as proxy. Enter the information as it is displayed in the table on the Record via mobile device dialog box.
    Note: Configuring your mobile device's browser proxy settings depends on the device and operating system that you are using. Instructions for your specific device are easy to find on the internet using your favorite search engine.
  8. When you are done with configuring your mobile device's browser proxy settings: If you have already configured a certificate or if you do not need to record over a secure connection, click Start recording and skip the following step. If you want to record over a secure connection and you have not yet configured the Micro Focus CA (certificate authority) certificate or the certificate of your system under test, click Record over a secure connection on the Workflow - Model Script dialog box and proceed with the following step.
  9. On the Configure secure recording dialog box, select if you want to use the Micro Focus CA (certificate authority) certificate or if you want to use the certificate of your system under test. If you are unsure which approach to use, refer to Secure Connections and Certificates.
    If you selected Configure Micro Focus certificate:
    1. The Silk Performer Recorder dialog opens in minimized form and the Record a secure connection with the Micro Focus CA certificate dialog box appears.
    2. Scan the QR code and install the certificate on your mobile device.
    3. When you are done, click OK on the Record a secure connection with the Micro Focus CA certificate dialog box.
    If you selected Configure server certificate:
    1. In the Server certificate field, locate the server certificate you want to use.
    2. In the Pass phrase field, enter the pass phrase that is to be used, if the server certificate you want the Recorder to use is protected with a pass phrase.
    3. Optional: Check the Send root CA during SSL handshake check box to have the Recorder send the root CA certificate during the SSL handshake. The root CA certificate may be requested by a client to authenticate the certificate authority that signed the Recorder server certificate.
    4. Optional: In the Root CA certificate field, locate the root CA certificate that you want to use.
    5. After you have completed configuring the server certificate, click Start recording.
  10. Now interact with the Web browser or the native app on your mobile device to record a script.
  11. When you are done, click Stop Recording in Silk Performer Recorder and save the recorded script.