Testcomplete still waits for timeout of click operation on JButton after it was clicked
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Testcomplete still waits for timeout of click operation on JButton after it was clicked
This is a really weird behaviour on very common javax.swing.JButton object, it is about a single click event of JButton.
After JButton was clicked, it does not go to next action but still waits until wait-timeout of this click event ends. i could not figure it out yet.
i am user of Testcomplete 12.50
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a problem experienced by many users in many different applications. I don't know if it's been fixed yet in 12.60. Please submit the problem to SmartBear support.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
While waiting for the reply from Support you may try this function as a workaround:
//----------------------------------------------------------------------------- function ClickEmulate(oObj); begin LLPlayer.MouseDown(Win32API.VK_LBUTTON, oObj.ScreenLeft + 1, oObj.ScreenTop + 1, 500); LLPlayer.MouseUp(Win32API.VK_LBUTTON, oObj.ScreenLeft + 1, oObj.ScreenTop + 1, 500); end; //-----------------------------------------------------------------------------
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alex,
thanks a lot for the workaround, i will try it out.
BR,
Lee
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi Martin,
thanks for your information, i am glad to hear that i am not onlyone.
BR,
Lee
