All Vskills Certification exams are ONLINE now. You may take from any where any time | Please use TOGETHER for 20% discount

Certified Selenium Professiona Learning Resources Event Firing

Learning Resources

Event Firing

JavaScript event firing uses the FireEvent method as -

ISelenium.FireEvent Method

Explicitly simulate an event, to trigger the corresponding "onevent" handler.
void FireEvent(
string locator,
string eventName

    an element locator
    the event name, e.g. "focus" or "blur"

The Selenium API command fireEvent example lets you trigger the event for a particular element on a page so fired the 'blur' event for the component

selSession.fireEvent("edit_field_1", "blur");