| || |
tab_select_item selects an item not visible in the tab_bar
I noticed the following strange behaviour,and I was wondering if there could be any explanation from winrunner point of view.
I have an Oracle application screen, in which the tabbar shows two tabs ('XXX', 'YYY').However tab_get_info("tabbar", "count", out_cnt), gives the out_cnt value as 4. How is this possible.
When I used this out_cnt value in tab_get_item to get the names of all the 4 values, the values I got were 'WWW', 'XXX', 'YYY' and 'ZZZ'. The strange thing is that while i can see 'XXX' and 'YYY' on the screen, I do not see 'WWW' and 'ZZZ'. However, if I do a tab_select_item("tabbar", 'WWW'), the tab labelled 'XXX' gets selected.
Can anyone explain how this happens,since my understanding was that when we pass the item WWW to the tab_select_item function, it looks in the tab_bar for a tab labelled WWW and should return an error code, since WWW does not display in the tab bar.
Re: tab_select_item selects an item not visible in the tab_bar
Can you please help me out.
I am facing a problem when I am trying to Record a login web page(to Oracle app.)
Winrunner is not able to identify the links while playback.
please find the script here.
win_mouse_click ("html_frame_1", 97, 189); # Web click link
win_mouse_click ("html_frame_1", 539, 217); # web click link
win_mouse_drag ("html_frame_1", 526, 367, 523, 367); # Click in editbox
win_type ("html_frame_1","username<kTab>password"); # entering username & password
win_mouse_drag ("html_frame_1", 575, 423, 575, 422); # click link
I am using Jinitiator18.104.22.168.
Should I use any additional webpatches ? Web Test is enabled in Addin Manager.
Early reply is appreciated.