Object Scanner

Object Scanner is an interesting feature provided by the BQ Platform to scan all the elements present on a particular screen. Once the elements are scanned, the elements that were not added by the user, while recording, can be added to the Object Container from the object scanner window. Also, if the user has created an object manually (with few properties) and while scanning if he/she sees more locator properties, he/she can add the new properties to the existing object.

Prerequisites :  #

The screen to be scanned should be present on the Object Container page.

Instructions for Scanner : #

  1. Click on DESIGN on left panel.
  2. Click on Object Container.
  3. Select the screen to be scanned.
  4. Click on the Scan icon on bottom right corner.
  5. On the Recorder pop up window, select the Application Type and enter the Url of the site (if application type is Web) or Select device/Application version (if application type Mobile Native).
  6. Click on Go button.
  7. Select the screen to be scanned from the dropdown on the BqGenie.
  8. Click on the Scan All button. 

The new elements will be displayed along with the existing elements of the selected screen.

The new elements will be displayed in blue color while the existing elements will be displayed in black color. The new elements will have a green plus icon (+) displayed besides their name.

If a new locator property is found for an existing element, a red colored minus icon (-) will be displayed besides the name of the existing element. User needs to expand the element to view the newly scanned locator property.

Adding new elements on the object container : #

  1. Select the checkbox displayed for the property.
  2. Click on Save button on BqGenie window.

You can also scan, spy a particular element by clicking on the icons displayed under the Action column for that particular element. 

Icon no.Usage
1To spy a particular element.
2To display hidden elements.
3Button to scan all the elements present on the particular screen
4Save button.
5Drop-down to select the screen to be scanned.
6Arrow to expand the particular element to view it’s locator properties.
7Element name.
8The search icon is used to scan the particular element.
9The eye icon is used to spy the particular element.
10The human icon is used to replace the particular element.
11The checkbox is used to update the element on the server.

The object scanner also provides a screen to verify the manually created locator properties.

Here’s how you can do so.

Prerequisites :  #

The BqGenie – Scanner should be pre-launched.

Instructions to Find an element from Scanner : #

  1. Click on Find tab on BqGenie – Scanner.
  2. Enter the locator properties for css/xpath.
  3. Click on Find button.

Documentation/…/Object Scanner

Share

Object Scanner #

Created by Abhay GoelLast updated Aug 10, 2020 by Shivangi Sah3 min readAnalytics

Object Scanner is an interesting feature provided by the BQ Platform to scan all the elements present on a particular screen. Once the elements are scanned, the elements that were not added by the user, while recording, can be added to the Object Container from the object scanner window. Also, if the user has created an object manually (with few properties) and while scanning if he/she sees more locator properties, he/she can add the new properties to the existing object.

Prerequisites :  #

The screen to be scanned should be present on the Object Container page.

Instructions to scan element : #

  1. Click on DESIGN on left panel.
  2. Click on Object Container.
  3. Select the screen to be scanned.
  4. Click on the Scan icon on bottom right corner.
  5. On the Recorder pop up window, select the Application Type and enter the Url of the site (if application type is Web) or Select device/Application version (if application type Mobile Native).
  6. Click on Go button.
  7. Select the screen to be scanned from the dropdown on the BqGenie.
  8. Click on the Scan All button. 

The new elements will be displayed along with the existing elements of the selected screen.

The new elements will be displayed in blue color while the existing elements will be displayed in black color. The new elements will have a green plus icon (+) displayed besides their name.

If a new locator property is found for an existing element, a red colored minus icon (-) will be displayed besides the name of the existing element. User needs to expand the element to view the newly scanned locator property.

Adding new elements on the object container : #

  1. Select the checkbox displayed for the property.
  2. Click on Save button on BqGenie window.

You can also scan, spy a particular element by clicking on the icons displayed under the Action column for that particular element. 

Icon no.Usage
1To spy a particular element.
2To display hidden elements.
3Button to scan all the elements present on the particular screen
4Save button.
5Drop-down to select the screen to be scanned.
6Arrow to expand the particular element to view it’s locator properties.
7Element name.
8The search icon is used to scan the particular element.
9The eye icon is used to spy the particular element.
10The human icon is used to replace the particular element.
11The checkbox is used to update the element on the server.


The object scanner also provides a screen to verify the manually created locator properties.

Here’s how you can do so.

Prerequisites :  #

The BqGenie – Scanner should be pre-launched.

Instructions to find an element : #

  1. Click on Find tab on BqGenie – Scanner.
  2. Enter the locator properties for css/xpath.
  3. Click on Find button.

If the manually created locator property is correct, the element will be highlighted.

If the page has a frame path, the frame path will be captured while verifying the element and will be displayed in the Frame path field.