WaitForWebElementGoto |
Top Previous Next |
×V4.1Ø
Syntax - WaitForWebElementGoto <LabelName> <TimeOut> <Element Identifier> Where: <LabelName> is text containing the name of the Label. <TimeOut> is an integer. or a variable that contains an integer. <Element Identifier> is a valid web element identifier as described in Identifying an Element.
Description: This command is used to stop the processing of the script until either the number of seconds defined in <TimeOut> is exceeded, or a the web element defined in the command is available on the current web page. If the time limit is exceeded, EMUE continues execution after the <Label Name> specified by the command. Similar to the WaitForWebElement command, this command is useful for ensuring that EMUE is on the correct screen before proceeding. The only difference between the two commands is that WaitForElementGoto does not treat an exceeded timeout as an error. Instead it redirects processing to the label indicated.
Note: The label name should not be stored in a variable nor should it be in quotes.
Soarian SmartUI: Yes Chrome: No
Sample: The following sample causes EMUE to wait for up to 3 seconds for the "Check Patient In" link to appear on the Home Page of Soarian, if not found emue will move current script line to the label "Debug_Script". WaitForWebElementGoTo RetryLogin 3 HomePage.CheckPatientIn
See Also:
|