Test Complete 10.60 is ... well... Hanging
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Test Complete 10.60 is ... well... Hanging
I have created a really, really, really easy test.
launch a batch file
Which loads an app
Which displays an OK button.
After clicking OK, make sure the window is correct...then exit
Easy, right?
Well, every 5 or 6 times, everything "hangs". The popup with OK is there... but TC is still waiting...
So, I manually set focus on the popup... nope
click the OK? nope
exit the app under test, relaunch it and get a "new" OK popup?... NOPE
So, Try to Pause - nothing
Try to Stop - nothing
heck, try to exit TC - not gonna happen
Task Manager - Kill..... THAT worked
WHY?
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you pausing the test before you set the focus manually? If you start clicking around on things (like in your video) while TC is still trying to run the test, it will become confused and not do anything at all.
As far as the popup goes, are you using WaitChild or something similar to look for the OK button? TC can get ahead of the app. Even though the button is there on the UI, the object may be slow in loading. I suggest a wait of some sort, then when the button Exists, set focus on it, then Click.
Marsha_R
[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
What I am clicking around on is the pause/stop buttons, which are not working
Not shown: The AUT is sitting with the popup/button sitting there, ready to click...
and this is not a simple timeout thing, cuz I waited 20 minutes once, not touching/clicking a thing, just to be SURE... yup, hung
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Marsha_R wrote:As far as the popup goes, are you using WaitChild or something similar to look for the OK button? TC can get ahead of the app. Even though the button is there on the UI, the object may be slow in loading. I suggest a wait of some sort, then when the button Exists, set focus on it, then Click.
This is of interest. May be exactly what I need.
However, 2 questions:
Given:
How do I add the needed Keyword (and where?)
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Put it right after Run TestedApp so it happens before the ClickButton.
Scroll down to the "From keyword tests" section in here to see how to set it up.
http://support.smartbear.com/viewarticle/56525
Marsha_R
[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
