WaitForWebElement

Top  Previous  Next

×V4.1Ø

S

A

W

WS

ü

Syntax -

WaitForWebElement <TimeOut> <Element Identifier>

       Where:

       <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 the web element defined in the command is available on the current web page.  If the time limit is exceeded, EMUE terminates the processing of the script with an error or enters error handling if it is enabled.  This command is especially useful for ensuring that EMUE is on the correct screen before proceeding.  It also helps ensure that the EMUE script does not move faster that the Soarian screens load.

 

Soarian SmartUI: Yes

Chrome: Yes

 

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.

WaitForWebElement 3 HomePage.CheckPatientIn

 

See Also:

Identifying an Element

WaitForWebElementGoTo

WaitForWebPageCompletion

WebElementExists

WebElementTimeout

EnableSoarianSmartUI