cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing objects on an application run via Citrix

SOLVED
Highlighted
Contributor

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?

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: Accessing objects on an application run via Citrix

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


Robert Martin
[Community Expert Group]
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
Extensions available
2 REPLIES 2
Community Hero

Re: Accessing objects on an application run via Citrix

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


Robert Martin
[Community Expert Group]
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
Extensions available
Contributor

Re: Accessing objects on an application run via Citrix

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.

 

Kind Regards,

Sathish Kumar K

New Here?
Join us and watch the welcome video:
6 / 7 API Testing Mistakes Video
Top Kudoed Authors