Sometimes clicks don't fire on HTML tests

Monday, February 27, 2012 8:35:45 PM

Sometimes when you use the DoClick () event on an HTML button, the click event doesn't fire. In that case, you may need to use the following:

SeS("btn").DoClick(3,3,true);

This will force "onClick" event for the found button without doing actual click.

1 Replies
Saturday, June 30, 2012 9:17:29 PM
Avatar
re: inflectra.adam on Monday, February 27, 2012 8:35:45 PM
This is often needed when your buttons or links have Javascript events tied to them and/or have popups.
Statistics
  • Started: Monday, February 27, 2012 8:35:45 PM
  • Last Reply: Saturday, June 30, 2012 9:17:29 PM
  • Replies: 1
  • Views: 941