Skip to content

getOverlappingUserInterfaceElements (UI Automation - Interrogation)

Compatible with:
  • Purpose
This command is used to identify the list of UI elements/locators that overlap.

Input is the element locators given in a dataset.

The response of this command is the dataset with the list of UI elements/locators that overlap with any other element/locator in the input/request dataset.

Note:
Data Definition that defines the request dataset must contain the following column names:
  • Element
  • ElementGroup
  • GroupParentIndicator
  • CoordinateRight
  • CoordinateLeft
  • CoordinateTop
  • CoordinateBottom. 
The response data set is a 'n+1' matrix where 'n' is the number of UI element/locators in the input/request dataset.

The first column and the first row in the dataset contain the UI element/locators whereas the cells within the matrix contain a boolean value that indicates whether or not there is an overlap.

  • Syntax
  • getOverlappingUserInterfaceElements(Request datasetName, Response datasetName  )
  • Target
  • Request datasetName   
  • Value
  • Response datasetName   
  • Return Value
  • Name of the dataset that contains the list of overlapping element/locators.

 

Feedback and Knowledge Base