Forum Discussion
Oh so many things here :)
But as soon as disconnected the remote connection, my rest of the cases started failing as no screen was available and the testcase was not able to find the user id and password fields in the login screen.
Correct. If you can't see the screen, then TestComplete can't see the screen.
it was running and was able to locate the fields using the x,y co-ordinates
You really don't want to use coordinates. It's ok when you first record a test, but as you have just found out the hard way, it's not going to work on multiple machines. Use object information and name mapping to locate fields and everything else.
Any workaround for this scenario?
https://support.smartbear.com/testcomplete/docs/testing-with/running/via-rdp/overview.html
- sb16 years agoOccasional Contributor
Maybe the object mapping is also there along with co-ordinates.
Clicks at point (60, 13) of the 'textboxId' object.
So should i remove the co-ordinates and just keep object mapping?
- tristaanogre6 years agoEsteemed Contributor
Co-ordinates aren't part of object mapping. They are part of the action. Remove the co-ordinates or replace each with -1 and you should be fine.
But the problem you described is, quite simply, a lack of an unlocked, logged in user session with an AI. You NEED to have that... without that, I don't care what the screen resolution is... it will fail.
Related Content
- 6 years ago
- 6 years ago
Recent Discussions
Working with Visual Test
Solved2 days agoBypassing TC engine
Solved2 days ago