Wednesday, January 17, 2007

Define the purpose of set_window command?

The Set_Window command is used to set the focus for a specified window. Before executing a test on another window this command can be used to set focus to the required window.

Syntax: set_window(, time);

The set_window is the logical name of the window and time is the time the execution has to wait till it gets the given window into focus.


Blogger jyothi said...

why GUI files get desable in GUi map editor
GUI MapEditor>view>GULI files

10:43 AM  
Anonymous Deyan said...

Hi Jerry,

I read in TLS documentation that ser_window functions could take window's description instead of widely used logical name. However, I was not able to make set_window work with window's description, it constantly returned -10011 (Cannot find window or object in the GUI map.), even though such a window exists. I used the following syntax

set_window"{class: \"window\",label: \"window_lable\", MSW_class: \"OpusApp\"}")

Do you have any experience with such a scenario?

I am using WinRunner 8.2

4:16 AM  
Anonymous Anonymous said...

Just want to say what a great blog you got here!
I've been around for quite a lot of time, but finally decided to show my appreciation of your work!

Thumbs up, and keep it going!


7:40 AM  

Post a Comment

<< Home