everyElementRectangle
Function – Eggplant Specific Term
The everyElementRectangle function searches the SUT for all occurrences of the given element(s), image(s) or text (OCR); returns a list of the rectangle coordinates for every occurrence of the elements.
Example:
put EveryElementRectangle(description: "Total Amount Label", text "Itemized") -- Returns a list of rectangle coordinates for every occurrence of the elements listed.
Synonyms:
Further Reading
Resources in our other reference manuals: