FireWebEvent

Top  Previous  Next

×V4.1Ø

S

A

W

WS

ü

Syntax -

FireWebEvent <Event Name> <Element Identifier>

       Where:

               <Event Name> is a literal string or a variable that contains a literal string.

               <Element Identifier> is a valid web element identifier as described in Identifying an Element.

                               

Description:

In some instances, a simulated action on a web page will not cause all the associated java script to fire.  The FireWebEvent command is used to trigger a java event.  The following Java events are supported:  Input, OnBlur, OnChange, OnClick, OnDblClick, OnFocus, OnMouseDown, OnMouseEnter, OnMouseLeave, OnMouseMove, OnMouseOut, OnMouseOver, OnMouseUp, OnReset, OnSubmit and OnContextMenu (rightclick).

 

Soarian SmartUI: Yes

Chrome: Yes

 

Sample:

       The following simulates a key press on the input box text field area.

               FireWebEvent "OnBlur" "Dialog=Main:Frame:Textfield,ID=ctlIdentifierInputBoxText_,INDEX=1"

 

See Also:

Identifying an Element

ClickWebElement

WaitForWebPageCompletion

WebElementTimeout

EnableSoarianSmartUI