メインコンテンツまでスキップ
バージョン:26.4

foundImageInfo

Function – Eggplant Specific Term​

The foundImageInfo function returns a property list for a single captured image, text (OCR search), element (Find by Description 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:

For Image Searches:

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

For more information, see the the foundImageInfo function.

Examples:

Click text:"Single Sign-On"
put FoundImageInfo() -- Prints the return of FoundImageInfo for the previously successful image or OCR search
WaitFor 10, "WelcomeMessage"
log the FoundImageInfo's description -- Logs the content of the image's description

Further Reading​

Resources in our other reference manuals: