Table of Contents

Class EventInfoFactory

Namespace
HP.LFT.SDK.Web
Assembly
HP.LFT.SDK.dll

A factory for creating IEventInfo to be passed to the FireEvent method of the Web test object.

public static class EventInfoFactory
Inheritance
EventInfoFactory
Inherited Members

Methods

CreateEventInfo(string)

Creates an event info for the given event type.

public static EventInfo CreateEventInfo(string type)

Parameters

type string

The type of EventInfo event.

Returns

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.

public static MouseEventInfo CreateMouseEventInfo(MouseEventTypes type)

Parameters

type MouseEventTypes

The type of mouse event. Possible values: MouseEventTypes

Returns

MouseEventInfo