onchange event does not get fired on selenium type command

Jigar Shah picture Jigar Shah · Jan 14, 2011 · Viewed 18.8k times · Source

I am typing some value, on change do a total. But somehow, this event is not getting fired with selenium type command.

I also tried typeKey and typeAt ..But no success. Any workaround for this ?

Answer

trex picture trex · Jul 18, 2012

To trigger the onchange event, try adding this command in Selenium IDE:

fireEvent targetID blur