Skip to main content
Version: 26.3

foundElementLocation

Function – Eggplant Specific Term​

Returns screen coordinates for the hot spot of the last element, image, or text (OCR) that was found on the SUT.

For more information, see the FoundElementLocation and FoundImageLocation Functions.

Example​

If ImageFound("OKButton") then click the FoundElementLocation -- Clicks the location returned by FoundElementLocation

Synonyms:

Further Reading​

Resources in our other reference manuals: