Ask a Question

WndClass: Transparent Windows Client

SOLVED
Leahy
Contributor

WndClass: Transparent Windows Client

I am trying to check if this window has fully opened.  But I cannot get any details inside the window.  I have attached a screen shot of the object spy.  Niether of the methods below (Window and WaitWindow) find the window....( I am confused by the WndClass and the "\\Remote" on the WndCaption).

 

x = p.WaitWindow("*","ewc01 - Detailed Employee Work Calendar - [JUN17 - BUS - "+date1+" - "+date2+"]",1000);
i = 0;
while (!(x.Exists))
{
x = p.Window("*","ewc01 - Detailed*");
x.SetFocus();
if (i > 10) break;
aqUtils.Delay(1000);
i++;
}

8 REPLIES 8
BenoitB
Community Hero

Several things perhaps :

- Does the content of the windows is drawed only (could you interact with elements inside ?)

- Perhaps a missing configuration in object mapping ?

- \\Remote let me think that windows content is remotely set,  is it a networked application ?

- Is there any child available when looking in the spy inspector ?

 

What do you mean by "fully opened" ? Is it you want to wait that all items are loaded ? or just that the windows is visually opened ?

Un sourire et ça repart

Hello BenoitB,

 

Yes, I can interact (highlight etc) with rows, boxes etc inside the window.

I have the object mapped, child count is 0.

Yes, the app runs on an server.

Using the spy, only the outline of the page gets a red box.  Cannot focus on anything inside with either the "Drag to target" or the "Point and fix".

I need to wait until all items are loaded, this can take up to 1 minute....

BenoitB
Community Hero

Ok so i keep this:

- Perhaps a missing configuration in object mapping ?

 

But in your case, without working with u IRL it would be hard to help you. Need more infos about the app tested (name if it's a commercial one, made in wich langage ?, ..).

 

hmmm ... perhaps its a ActiveX component with an iexplore sub processs. I've already encountered this kind of **bleep**ty grid (Sage X3 v6). Look with a serious task explorer to find any subprocess of this application.

In this case, ... good luck because elements are created only when navigating inside the grid with keyboard ....

 

Can you make a right click of the grid and perhaps you have a form view instead a grid view ?

 

 

 

Un sourire et ça repart

tristaanogre
Esteemed Contributor

In my understanding, the "Transparent Windows Client" is actually the wrapper around an application that is service up by an application server like Citrix.  TestComplete cannot "drill down" into the contents of such an application because it is, technically, not running on the local machine but is, instead, running on a remote machines.


Robert Martin
[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
Extensions available

This application is run through a citrix client..

 

I have tried a local copy of the applicaton (Hastus) and I can access inside the window with the spy....

 

Its something to do with the way citrix is working.... dam !!

 

I tried right clicking, but only get a sub menu, with details for that box etc....

tristaanogre
Esteemed Contributor

Yup, exactly... TestComplete cannot spy inside of a Citrix served application.  To automate an application and have TestComplete be able to spy into it, both TestComplete and that application need to be executing on the same box.  TestComplete uses the memory space of the box on which it is running to be able to "see" the objects.  If that application is not running in that memory space (as is the case with Citrix), that's not possible.

Sorry, man...  


Robert Martin
[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
Extensions available

Thanks Robert,

 

I wlll continue to do my  automated tests on my local copy.  And anything that fails I will test manually on the citrix server...

 

Thanks again for your prompt advice !! 

 

Lee

 

 

BenoitB
Community Hero

You can install TestExecute on same server of Hastus one and thus it will be able to interact with it, and you can developp the tests on your lical copy.

Un sourire et ça repart

cancel
Showing results for 
Search instead for 
Did you mean: