Sometimes clicks don't fire on HTML tests

Monday, February 27, 2012
Avatar

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
Avatar
re: inflectra.adam Monday, February 27, 2012
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
  • Last Reply: Saturday, June 30, 2012
  • Replies: 1
  • Views: 1488