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.david Monday, February 27, 2012
This is often needed when your buttons or links have Javascript events tied to them and/or have popups.

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Monday, February 27, 2012
  • Last Reply: Saturday, June 30, 2012
  • Replies: 1
  • Views: 2895