Class EventInfoFactory
A factory for creating IEventInfo to be passed to the FireEvent method of the Web test object.
Inherited Members
Namespace: HP.LFT.SDK.Web
Assembly: HP.LFT.SDK.dll
Syntax
public static class EventInfoFactory
Methods
CreateEventInfo(string)
Creates an event info for the given event type.
Declaration
public static EventInfo CreateEventInfo(string type)
Parameters
| Type | Name | Description |
|---|---|---|
| string | type | The type of EventInfo event. |
Returns
| Type | Description |
|---|---|
| EventInfo |
Remarks
The event can be any HTML DOM event. For details, see http://www.w3schools.com/jsref/dom_obj_event.asp
CreateMouseEventInfo(MouseEventTypes)
Creates a mouse event info for the given mouse event type.
Declaration
public static MouseEventInfo CreateMouseEventInfo(MouseEventTypes type)
Parameters
| Type | Name | Description |
|---|---|---|
| MouseEventTypes | type | The type of mouse event. Possible values: MouseEventTypes |
Returns
| Type | Description |
|---|---|
| MouseEventInfo |