Forum Discussion

satyam's avatar
satyam
Occasional Visitor
3 years ago

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.

 

Thanks,

Satyanarayana.

3 Replies

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    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.

  • 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

    Mike

  • tphillips's avatar
    tphillips
    Frequent Contributor

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