Forum Discussion
Java Swing applications usually have similar objects so you have to be very clear on the root path to get the child node. If there are any similar object you will get this message.
So, there are some techniques which you can try.
- Check existence of an Object before you try Click or getting information.
- You have to be unique enough to find the Parent object.
- If you still see the message which you do not want to see in your logs, you can use Log.LockEvents to turn off the warning .
Some references:
- danalu7 years agoContributor
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,
- shankar_r7 years agoCommunity Hero
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?
Related Content
Recent Discussions
- 8 hours ago
- 7 days ago
- 10 days ago