Ask a Question

Unable to Run the script in Remote Desktop servers

satyam
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.

 

Thanks,

Satyanarayana.

3 REPLIES 3
Marsha_R
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.


Marsha_R
[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.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
mikef
Staff

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
Frequent Contributor

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


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