Forum Discussion

russelld's avatar
russelld
Contributor
8 years ago

Can a previously recorded keyword test run over an RDP connection

0Hi,

 

I created a bunch of Keyword Tests on my PC for testing our software.  I loaded the exact same database on an internal server within our office.  I connect to the server using RDP connection and run the same software but when I try to run the keyword test it don't find it.

 

Screenshots below..2 vs 3.  #2 picks up the object names and #3(RDP) names everything wndRail_Window

 

Any suggestions would be greatly appreciated!

Thanks

Dave

 

1 Reply

  • Marsha_R's avatar
    Marsha_R
    Icon for Champion Level 3 rankChampion Level 3

    Recording is good for initial setup of tests but you've just found out why it's not good in the long term.  Those coordinates in your tests are never going to match any other machine and may not always match on the machine where they were recorded.

     

    Take a look at name mapping here and see how to give those objects names and make your tests portable:

    https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/overview.html

     

     

    ETA:  If you already have name mapping, then take a look at your setup.  Did you also put TestComplete on the internal server?  TC won't see the GUI across RDP.  You can attach through RDP to run it, but TC must be on the same side as the application under test.