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

foundElementNumber

Function – Eggplant Specific Term​

The foundElementNumber function returns one number. This represents the element, image, or text's (OCR) ordinal position in the parameter list of a command or function. For example: 3.

For more information, see the FoundElementNumber and FoundImageNumber Functions.

Example:

WaitFor 10, "WelcomeMessage", "SignOutButton", "CompanyLogo"
If the FoundImageNumber is not 1 then LogWarning "The page loaded but not in the expected order." -- If SignOutButton or CompanyLogo are found first, then FoundImageNumber returns 2 or 3, respectively, and triggers the statement to log the warning message

Synonyms:

Further Reading​

Resources in our other reference manuals:



ノート

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