Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Expand
titleIdentifying UDID of iOS devices:

Each iOS device has a Unique Device Identifier (UDID), that helps automation engines to identify the specific device from the group of devices. The ID is the combination of letters and numbers that is specific to the device.

You can identify UDID from Simulator window or using the terminal.

To find the UDID of iOS device from the Simulator window:

  1. Open the Simulator window.
  2. On the Hardware menu, select Device and then point to Manage Devices.
  3. Select the device in the left pane.
    Device Information is displayed in the right pane.
    Value displayed against Identifier is the UDID.
  4. Qualitia users can add this identifier in the UDID field when Configuring Mobile Settings

To find the UDID of iOS device using terminal:

  1. Lunch terminal.
  2. Execute command, instruments -s devices.
    The list of devices are displayed.
  3. Take the value for the desired device and add it in the UDID field when Configuring Mobile Settings.

...

Expand
titleFinding Package and Activity Name of an Android App

There are several methods to find .apk file package name and launcher activity name. We will see how to find it using adb logcat command in the Command Prompt window.

To find .Apk file package name and launcher activity name using logcat command:

  1. Connect your Android device to PC switching the USB debugging mode on.
  2. Open the Command Prompt window on your Windows computer.
  3. Run command adb logcat.
    The app launcher log is displayed.
  4. Open the app in the Android phone and immediately press CTRL + C in the Command Prompt window to stop logging.
    Android phone's latest activity is logged in the Command Prompt window.
  5. Search and note down the Package and Activity Name to use these in the test scripts.

    Expand
    titleView Image

    Image RemovedImage Added




Image Removed

Expand
titleFinding Bundle ID of an iOS App

In order to find the bundle ID of the .ipa file, please follow the steps mentioned below.

In case you have .app file, start from step 4.

To Find Bundle ID of iOS App:

  1. Right-click the .ipa file, select Open with and then click Archive Utility.
    This will create Payload directory on the same location. 
  2. Open the Payload directory.
    You will find the .app file of your application here.
  3. Right-click the .app file and select Show Package Contents.
  4. Search and double-click Info.plist.
    This will open it in Xcode.
  5. Copy the corresponding value of Bundle Identifier and use it as per the requirements.

Expand
titleView Image