Custom Search

Friday, October 3, 2008

After clicking on "login" button, they opens other windows of the web application, how to check that page is opened or not

After clicking on "login" button, they opens other windows of the web application, how to check that page is opened or not


When your expecting "Window1" to come up after clicking on Login...
Capture the window in the GUI Map. No two windows in an web based
application can have the same html_name property. Hence, this would
be the property to check.

First try a simple win_exists("window1", ) in an IF condition.

If that does'nt work, try the function,

win_exists("{ class: window, MSW_class: html_frame,
html_name: "window1"}",);

No comments: