Forum Discussion
Hi rvg,
Have you looked into editing the mapping of those objects?
It sounds like they are being found, but possibly using the 2nd selector in the name mapping.
Can you share a screenshot of your log?
- rvg4 years agoOccasional Contributor
Hi brumazz,
1) For identifying each object only the unique id is used that is assigned to it by swing. I think, if the problem was in name mapping, it would occur persistently.
2) I am attaching two fragments of the log that refer to the same run of the script. In these fragments the record 'Checking Certificates Tab' is placed to the log by a function which checks controls on specific tab of the window. This tab contains 4 objects of type JTable and 16 objects of type JButton. Function gets the state and content of these objects and compares the data to state saved previously. During the run the window was opened twice for different tasks. During the first opening the objects recognition was slow. It took 10 seconds per object, so the total time for function call was approximately 3 minutes. For the second time the function call was shorter than 1 second.
Regards
P.S.
I wonder, is it occasional coincidence that the Auto-wait timeout in Playback section in project properties contains the value of 10000 ms?- rvg4 years agoOccasional Contributor
It was not a right thought about Auto-wait timeout. If it was reached the script would be stopped with error message. Most likely delay is a little smaller in my case.
- rvg4 years agoOccasional Contributor
The archive contains the demo project and java application.
- brumazz4 years agoSmartBear Alumni (Retired)
Hi again,
Thanks for uploading the application and Project. I was able to do some testing on my side and had no issues with speed of playback. I will message you direct with a short video of it working. I would also like to validate that your application has been added to the TestApps section in the project as a starting point.
Related Content
- 11 years ago
- 11 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago