3. Element Extraction from iOS and Android Device

You are here:
< All Topics

1. iOS

upload resources using element extractor in TestGrid Element Extractor

    • Click on Upload using Element Extractor.
    • Element Extractor will open in a new tab.

Select iOS App

Select App for Mobile Element Extraction

    • Choose the path to your .ipa file or Bundle Identifier.
    • Click on Next.

Choose iOS Device

Choose iOS Device for Mobile Element Extraction

    • Wait for the Extractor to find your connected device.
    • If there are multiple devices connected select one from the dropdown list.
    • Click on Next button.

Select TG-Project

Select TG-Project for Mobile Element Extraction

    • Test Case Writer project: Select an application from the provided dropdown.
    • Version: “Select a Version” or “Add a New Version” from Test Case Writer.
    • Module: Select the module you wish to use or “Add Module” in the drop-down menu (your elements will later be found under this module).
    • Click on Next button.
    • Wait for the extractor to find the automation tools.
    • Click on Next button.
    • Below the Popup box will appear on the screen.

Select Extract Type for iOS

Select Extract Type for iOS

    • Click on XCUITest or Appium which you want to use for extract elements from your app.

Extract Element

adding element in the element extractor

    • Create a new page by clicking on the + sign.
    • Name the page and click OK.
    • Click on Upload button.

select Element in TestGrid Dashboard

    • Once you have selected your elements to click on Save to extract the elements on that page.

Extraction process started

    • The screen on the device will reflect the screen the elements are being extracted from.
    • Use the Refresh Screenshot button to update the screen on your device to gather elements from the next screen.

2. Android

Uploading Resources using Element Extractor in TestGrid

    • Click on Upload using Element Extractor.
    • Element Extractor will open in a new tab.

Select Android App

Select Android App in the Dashboard

    • Choose the path to your .apk file or Bundle Identifier.
    • Click on Next.

Choose Android Device

Choose Android Device and UDID

    • Wait for the Extractor to find your connected device.
    • If there are multiple devices connected select one from the dropdown list.
    • Click on the Next.

Select TG-Project

Select TG-Project

    • Test Case Writer project: Select an application from the provided dropdown.
    • Version: “Select a Version” or “Add a New Version” from Test Case Writer.
    • Module: Select the module you wish to use or “Add Module” in the drop-down menu (your elements will later be found under this module).
    • Click on Next button.
    • Wait for the extractor to find the automation tools.
    • Click on Next button.

Extract Element

Add elements to TestGrid Element Extractor

    • Create a new page by clicking on the + sign.
    • Name the page and click OK.
    • Click on Upload button.

Upload elements in TestGrid Element Extractor

    • Once you have selected your elements to click on Save to extract the elements on that page.

Extracted Elements showing on the TestGrid Extractor Dashboard

    • The screen on the device will reflect the screen’s elements are being extracted from.
    • Use the Refresh Screenshot button to update the screen on your device to gather Elements from the next screen.
Table of Contents