Object Identification - Mobile Application

Prerequisites:

Prerequisites for Android:

  • Use the Vysor application to mirror physical Android devices (Alternatively, use the Scrcpy file to mirror a physical Android device).

  • The user has to download the "avoAssureClient_Mobile" from the link https://downloads.avoassure.ai/driver/avoAssureClient_Mobile.zip.

  • The user has to download the "node_modules.zip" from the link https://downloads.avoassure.ai/driver/.

  • The user has to place the downloaded "avoAssureClient_Mobile" and "node_modules.zip" folder package into the (\AvoAssureClient\AvoAssure\).

  • To Scrape the Mobile application, the user must run run_mobile.bat Avo Assure Client.

Files Required

  • Third-party .apk file i.e. any application with .apk extension.

  • chromedrive_mobile.exe for the current version of Chrome on mobile. Note: If the Chrome browser is of 100 version (in mobile), the user should have a Chrome driver version of 100 (C:\AvoAssureClient_23.1.1\AvoAssure\Lib\Drivers\chromedriver_mobile.exe).

Click and Add Objects

  1. The user has to click the Design button, and the Design screen will be displayed.

  2. The user has to click the Capture Elements button, and the Capture Elements window will be displayed.

  3. The user has to click the Mobile Apps button, and the Launch Application window will be displayed.

  4. The user has to select the Android OS. Note: The user can select the required OS according to the requirement.

  5. To download the mobile client, the user has to click the Download Mobile Client link. Note: Required packages for mobile testing in the Avo Assure client folder are missing. Please download the same from the below link and move to the Avo Assure client folder in this path(\AvoAssureClient\AvoAssure).

  6. The user has to enter the Application path in the Enter Application path field.

  7. The user has to select the Mobile serial number from the Select Mobile Serial Number drop-down. Note: USB Connected device serial number will be displayed.

  8. Click the Launch button. The Avo Assure - Mobile Scraper window and the entered desktop application will be displayed.

  9. The user has to click the Start ClickAndAdd button and capture the required elements. Note: During scraping via the Start Capture method, when hovering over objects in the Application Under Test (AUT), the hovered-upon object is highlighted with a green color. This highlighting helps the user identify the object that will be scraped upon clicking.

  10. Once the user is done with the capture element, the user has to click the Stop ClickAndAdd button.

  11. All the captured elements will be displayed on the Capture Elements window.

  12. The user has to click the Save button to save all the captured elements. Note: Unsaved elements will be indicated with highlighted color. 

  13. The system will display a toast message as Scraped data has been saved successfully.

Scrape an Entire page

  1. The user has to click the Design button, and the Design screen will be displayed.

  2. The user has to click the Capture Elements button, and the Capture Elements window will be displayed.

  3. The user has to click the Mobile Apps button, and the Launch Application window will be displayed.

  4. The user has to select the Android OS. Note: The user can select the required OS as per the requirement.

  5. The user has to enter the Application path in the Enter Application path field.

  6. The user has to select the Mobile serial number from the Select Mobile Serial Number drop-down. Note: USB Connected device serial number will be displayed.

  7. Click the Launch button. The AvoAssure Object Identification window and the entered desktop application will be displayed.

  8. The user has to select Full from the Scrape Type drop-down and click the Scrape button. Note:Swipe Down’ and ‘Swipe Up’ buttons are provided to perform the swipe operations on the application under test.

  9. All the captured elements will be displayed on the Capture Elements window.

  10. The user has to click the Save button to save all the captured elements.

  11. The system will display a toast message as Scraped data saved successfully.

Last updated