HTML I Specific control steering
Parameter - DispatchEvents
This parameter can be used to overwrite the setting DispatchEvents in ModuleAttributes. If the value of this setting is True, events in Microsoft® Windows Internet Explorer versions 9 or later are triggered with the DispatchEvent API. If the value is set to False, events in these Microsoft® Windows Internet Explorer versions are triggered with the FireEvent API.
This parameter must be created manually (see chapter "Create Param [Param] (ObjectMap)").
Parameter - DOMClick
From a technical point of view, HTML controls are usually steered generically via the mouse cursor by calculating coordinates or via simulated keyboard inputs. If steering via coordinate calculation is impossible, the DOMClick parameter can be set to True in order to regulate controls via the DOMObject's methods. Globally, this can be defined via the SetDOMClick settings (see setting "SetDOMClick").
With this type of control, events to be triggered have to be explicitly specified (see chapter "Parameter - FireEvents").
If the displayed size of an HTML file has been changed via Internet Explorer's zoom function (> or < 100%), the application can only be steered via DOMObjects.
Example DOMClick=True |
Parameter - FireEvents
The FireEvents property is only used in the context of control steering via the DOMObject, because a consecutive event has to be explicitly triggered with this steering type (see chapter "Parameter - DOMClick").
The FireEvents parameter is automatically created when a classic Module is scanned and filled with the default value onchange;onblur. If needed, this value can be modified or added either via the EventsToBeFiredAfterInput setting (see setting "EventsToBeFiredAfterInput"), or - in case of some controls - within the Module. Multiple events have to be specified separated by a semicolon.
The on... events listed are triggered by the Input ActionMode.
An HTMLEditbox is being filled, and it displays a message if the content is modified (onchange). This event is explicitly triggered by specifying the value onchange as Fire Events property.
Parameter - FireEvents |
The table below shows the available FireEvents, which can be used for controls that support these events.
FireEvent |
Event |
---|---|
onabort |
upon abortion of the test execution |
onblur |
upon exit |
onchange |
upon successful modification |
onclick |
upon clicking |
ondblclick |
upon double-clicking |
onerror |
in case of an error |
onfocus |
upon enabling |
onkeydown |
upon pressed key |
onkeypress |
upon keeping key pressed |
onkeyup |
upon released key |
onload |
upon loading of files |
onmousedown |
upon pressed mouse button |
onmousemove |
upon further mouse movements |
onmouseout |
upon exiting the element with the mouse |
onmouseover |
upon moving the mouse over the element |
onmouseup |
upon released mouse button |
onreset |
upon reset of the form |
onselect |
upon selection of the form |
onsubmit |
upon submitting the form |
onunload |
upon exiting the file |
Parameter - UseWaitForStatusLabel
The ObjectControl parameter UseWaitForStatusLabel enables the settings of the Wait for statuslabel category. This parameter has to be created manually (see chapter "Create Param [Param] (ObjectMap)"). If one of the following values is set here, the global setting Use wait for statuslabel will be overwritten in the Settings dialog (see setting "Wait for statuslabel").
-
UseWaitForStatusLabel=true
Wait for statuslabel is enabled for this Module.
-
UseWaitForStatusLabel=false
Wait for statuslabel is disabled for this Module.
Parameter UseWaitForStatusLabel