ClickButton method doesn´t work
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2010
08:49 PM
06-01-2010
08:49 PM
ClickButton method doesn´t work
Recently I discovered a few situations when the ClickButton method doesn´t work. The button object exists, it´s enabled and visible but ClickButton only places the mouse cursor over the button but nothing else happens - no clicking occurs. Running the test again also doesn´t help - still the same. The only thing that helps is restarting the tested application (VB6 app), but after a few successful clicks on the same button, the situation repeats. There is a workaround: checking the state of application some 2 seconds after the click was performed and in case nothing changed, repeat the click, but this is no a systematic approach and it only messes up my code. Has anyone experienced similar problems?
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2010
11:35 PM
06-01-2010
11:35 PM
Hi,
It looks like this problem may be related to your tested application. Can you reproduce it with any other applications (for example, with the Orders sample which is shipped along with TC).
It looks like this problem may be related to your tested application. Can you reproduce it with any other applications (for example, with the Orders sample which is shipped along with TC).
------
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2010
01:17 AM
06-02-2010
01:17 AM
I wasn´t able to reproduce the problem on the sample application 😞 but I managed to get over it by putting a 1 second pause before clicking.
