Forum Discussion
Thanks for quick respond, Shankar!
i've read the solution what you mentioned below.
1) add "check existence", does not work
like:
while button.Exists:
button.Click()
2) i recorded the action and pick up the only one tree for this object, as my screeshot, not work
3) acutally there is no warning in the log at all, it takes long time waiting, then case done successfully.
Best regards,
I had the slowness with our AUT(Java Swing application) as well.
I fixed using Java Clear Cache on each run, ExtendedFind and etc.
Try cleaning java cache still, if you see preformance hit then you can create support for your issue here,
https://support.smartbear.com/message/?prod=TestComplete
- danalu7 years agoContributor
many thanks,
how to clear Java cache in each run? can you give a code sample?
- shankar_r7 years agoCommunity Hero
Here you go,
function JavaWSClearCache() { try { Sys.OleObject("WScript.Shell").Exec("cmd /c javaws -clearcache"); Log.Message("Java Cache cleared"); } catch(ex) { Log.Error(ex.stack); } }
- danalu7 years agoContributor
Thank you!
Did you mean call clear cache before test case? seem i have no luck with it. Still same waiting message.
Related Content
Recent Discussions
- 8 hours ago
- 7 days ago
- 10 days ago