Share this page

FireEvent Method (IWebElement)
Triggers the specified event on this object.
Remarks
Use the EventInfoFactory static class to generate the eventInfo argument value.

C# Syntax

    void FireEvent(
       EventInfo eventInfo
    )

Parameters

eventInfo
  The event info describing the event to trigger. The event can be any HTML DOM event.

Example

    var search = browser.Describe<IEditField>(new EditFieldDescription
    {
        Name = "q"
    });
    search.FireEvent(EventInfoFactory.CreateEventInfo("onkeydown"));

Tips to improve your search results... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: