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.

2 Comments:

Blogger Jo said...

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

10:43 AM  
Anonymous Anonymous 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  

Post a Comment

<< Home