Forum Discussion

eranda's avatar
eranda
Occasional Contributor
6 years ago

Resolution issues when running on remote desktop

Hi ,

 

I have my test cases automated and when i run them on my machine, they work fine. When i try to log in remotely, the resolution changes and they fail. 

 

Any reccommendation greatly appreciated. 

3 Replies

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    You must not use hardcoded absolute coordinates in your test code but operate with objects found by TestComplete (windows, buttons, etc.).

     

    • eranda's avatar
      eranda
      Occasional Contributor

      I am actually using objects. Only when i scroll down, its using coordinates, because cant find an object.

      • AlexKaras's avatar
        AlexKaras
        Champion Level 3

        Hi,

         

        Can you provide more details? Type of the tested application? Version of TestComplete? Code snippet? Error message? Screenshot? Anything else that you are usually provide to your developers when report a problem.