Ask a Question

Unable to Run the script in Remote Desktop servers

Occasional Visitor

Unable to Run the script in Remote Desktop servers

Hi Team,


This is Satyanarayana. I am working on web application and I have developed the script in my local machine using Test Complete 14.0 . I am able to run all my test cases without fail, where as in remote machine each and every test cases are failing due to objects are identified in different coordinates. In my script I have used completely  xpath and queryselectors to identify the objects. Can someone provide the solution for my issue.




Community Hero

Using coordinates frequently causes the problems you are seeing.  Try changing to using an object property instead of coordinates as identification and that should make your test more flexible.

[Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.

Hi @satyam 


A specific example might help here. Would you be able to share a test or log that is failing?


Some common pointers can be found here - Handling the 'Object Not Found' Errors  


As @Marsha_R mentions, using object properties will make your tests more robust. Check your project is configured to use XPath and CSS selectors for web objects (Tools > Current Project Properties > Open Applications > Web Testing > Use XPath and CSS selectors...)


Hope this helps


Frequent Contributor

Are you sure that the remote servers have the correct licence to run Web testing?

Senior SQA Automation Engineer
Showing results for 
Search instead for 
Did you mean: