yuef_shine
12 years agoOccasional Contributor
TestComplete cannot recognize the objects everytime
Hi,
I automate a website which is lauched in Chrome. But for recording KDT or replaying the scripts, I always have problem that TC cannot recognize the objects.
For example:
1. I perform the actions but after stopping recording, there is not any scripts recorded in TC.
2. I use the On-Screen Action to get every object and create the scripts, when replaying the scripts, I always get the ‘Object does not exit’ or ‘There was an attempt to perform an action at point (0, 0), which is out of the window bounds’ error.
For most of the failures, I highlight the object in the ‘On-Screen Action’ panel, and run the scripts from the stopped position, it can pass. But if I run the scripts from the beginning again, it stops at the same position again.
I have the TC extension installed and enabled in Chrome. So I have no idea why this happens and how to resolve this.
Any suggestions?
Thanks,
Vivian Yue
I automate a website which is lauched in Chrome. But for recording KDT or replaying the scripts, I always have problem that TC cannot recognize the objects.
For example:
1. I perform the actions but after stopping recording, there is not any scripts recorded in TC.
2. I use the On-Screen Action to get every object and create the scripts, when replaying the scripts, I always get the ‘Object does not exit’ or ‘There was an attempt to perform an action at point (0, 0), which is out of the window bounds’ error.
For most of the failures, I highlight the object in the ‘On-Screen Action’ panel, and run the scripts from the stopped position, it can pass. But if I run the scripts from the beginning again, it stops at the same position again.
I have the TC extension installed and enabled in Chrome. So I have no idea why this happens and how to resolve this.
Any suggestions?
Thanks,
Vivian Yue