Skip to main content
Version: 26.3

foundElementInfo

Function – Eggplant Specific Term​

The foundElementInfo function returns a property list for a single element, image, or OCR search, or a list of property lists for multiple references. Depending on the data that is available, the list can contain the properties listed in Image Properties or OCR Properties, as well as the following properties:

  • Description: The element description in the Suite Editor Info panel.
  • ImageLocation: The coordinates of the element found.
  • ImageRectangle: The rectangle coordinates of the element found.

For more information, see the the FoundElementInfo and FoundImageInfo Functions.

Examples:

Click description: "Single Sign-On"
put FoundElementInfo() -- Prints the return of FoundElementInfo for the previously successful search
WaitFor 10, description: "Welcome Message"
log the FoundElementInfo's description -- Logs the content of the element's description

Synonyms:

Further Reading​

Resources in our other reference manuals:



note

This page is under construction: it has not been reviewed for completeness.