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... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: