I have an application that contains a frame called "main". In this frame, I have a search button. By clicking the search button, it should target the search result to an iframe called "list"
located within the frame "main". But sometimes, instead of targeting to the "list" iframe, it opens up in a new window.
In winrunner, I want to test if it targets the result to the iframe "list" or opens in a new window. I want to pass the test if it targets to "list" and fail the test if
it opens in a new window. How can I do this?
Re: Frame Test
A couple methods to consider:
1) use win_exists to test if the second window exists.
2) use obj_exists on the first window.