Parameters
- eventName
Type: System.String
The name of the event.
- emulation
Type: System.String
The emulation level. Can be: "None", "Middle" or "Full".
The emulation levels:
"Full" - the full emulation which include the generation of all events such as mouseover, mousemove, mouseout, focus on element and other.
"Middle" - the standard emulation level includes a minimum of actions without additional events.
"None" - the default emulation level without additional events and actions.
The following code example demonstrates uses of the RiseEvent method.
| C# | Copy Code |
|---|---|
// find element HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0); // rise event he.RiseEvent("onclick", "full"); | |
| PHP | Copy Code |
|---|---|
// find element $he = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0); // rise event $he->RiseEvent("onclick", "full"); | |
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family