fire event

Fire an event on a browser element.
NameDescriptionTypeModifier
window

TA name of the window.

Interface EntityNone
element

TA name of the element

Interface ElementNone
event

Type of event to fire on the specified element.

Allowable values:

  • onclick: Fire a click event (simulate a left mouse button click).
  • ondblclick: Fire a doubleclick event (simulate a double-click of the left mouse button).
  • onmousedown: Fire a mousedown event (simulate pressing of left mouse button).
  • onmouseup: Fire a mouseup event (simulate release of left mouse button).
(See for other allowed values)

StringNone
None
This action may be used within the following project items: test modules and user-defined actions.
The following settings are applicable to this action: case sensitive, remove double quotes from cells, standard ASCII only, object wait, window wait.
                                
                                    	window	element	event
fire event	#web	txt_first name	ondblclick
&nbsp			
	window		
check window exists	warning_dlg		
&nbsp			
	window		
close window	warning_dlg		
                                
                            
  • event argument:
    • Names for allowable event values are derived from standards of the W3C consortium, and other standard browser events are also supported.
    • Note that, in the context in which they are being used, the allowable names for event types (onclick, onmousedown, etc.) can be a bit misleading. fire event does not, for example, specify an action to take in response to an onclick event, it simply issues the event (a mouse click) itself.
  • This action supports the <ignore> modifier. If the string <ignore> is present as the value of any of the arguments, or any argument contains an expression that evaluates to <ignore>, the action is skipped during execution.

Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400