Spy Mobile Utility

Estimated reading time: 1 minute

Capture objects using Spy Mobile Utility

Before capturing test objects on the mobile application, make sure that you have successfully configured the environment for mobile testing. Refer to Before You Start for more details.

  1. Connect the mobile device to your PC.

  2. Click on the Spy Moble Utility button from the main toolbar.

  3. The Spy Mobile Utility dialog is displayed. Specify the settings of your mobile testing in Configurations section. 


    Field Description
    Device Name The smartphone to capture objects from. All of your connected devices should be displayed in this list.
    Application Type Currently, Katalon Studio only support native mobile applications.
    Application File The absolute path to your mobile application file (.apk file for Android or .ipa file for iOS).

    Click Start when you're done with the settings.

  4. The specified mobile application will be deployed and opened on the real device. 

  5. The Device View dialog is displayed to show the current screenshot of your real device. 
    All the mobile objects from that screenshot are analyzed and organized in a hierarchical view which could be found at All Objects section of the Spy Mobile Utility dialog.
    Click on any object from the hierarchical view and it is highlighted in Device View accordingly.

  6.  Select any objects from the hierarchical view and click Add to Object Repository to save them to Katalon Studio.

  7. The Folder Browser dialog is prompted to decide where to save the captured objects. Select your preferred location then click OK.

  8. The captured objects will be added to Object Repository accordingly.

  9. You can continue with the current mobile screen or navigate to other interfaces as needed. To reload the Device View as well as the details in Spy Mobile Utility, simply click on the Capture Object button.

  10. Close the Spy Mobile Utility dialog when you're done with capturing objects.

User Contributed Notes