Forum Discussion
What error do you get?
I have attached a screen shot of the error.
- Marsha_R3 years agoModerator
Here's an explanation of that error message
What line of code is failing? You can see that by clicking on the error in the log.
If you are trying to click on some object using coordinates, then I suggest changing it to use an object property of some sort. The coordinates will not be the same between different machines.
- UConnAnnMarie3 years agoContributor
I figured it had something to do with the resolution between the machine i wrote the script in and the resolution (or lack thereof) on the virtual machine.
One of my system analysts is going to work with me this morning to see if changing the resolution on the machine i use to create scripts will make a difference. I will let you know but in case that doesn't work, what would be an example of the best way to use objects instead of coordinates?
- Marsha_R3 years agoModerator
Object Spy is a good place to start. I usually use the Extended tab because it gives the most information about the object. Then you can pick what properties to use to find it instead of the coordinates.
https://support.smartbear.com/testcomplete/docs/testing-with/exploring-apps/object-spy/index.html
Related Content
Recent Discussions
- 10 hours ago
- 7 days ago
- 10 days ago