Accessing objects on an application run via Citrix
I am using Visual Studio with Test Complete. To access the application, I need to use Citrix to run an application on a remote machine. I am running test complete from my desktop. When I run the application and spy with object spy it seems like the whole application is just one "transparent window" with no objects inside that I can see.
I am wondering, maybe using Citrix is kind of like watching something on TV where you don't actually have access to the objects on the screen as it is basically just an image. Is this true? Can you not really use test complete on a Citrix screen (unless perhaps you know exact coordinates)? Perhaps when you use the application via citrix, it takes the coordinates of your mouse / keyboard actions, reports it to the remote machine and the machine figures the objects?
Solved! Go to Solution.
You've basically hit it right. TestComplete's object recognition technology uses the local machine on which it runs and the operating system to get to the objects of tested applications. Because a Citrix served application is not actually running on the same machine, the object recognition fails... the only thing you can "see" is the wrapper that Citrix puts around the application. In order to do automated testing against an application, the tool and the application need to be on the same "box".
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Hi @bistritapcv ,
The Tested application / SUT(system Under Test) and the Test complete should be installed in same physical or virtual machine.
in your case try installing your application in your local machine or else try installing Test complete in the machine which you are accissing in the citrix receiver.
Sathish Kumar K