Salut Emilie,
I fear that it is not currently possible. As explained in the previous
discussion with Maxim Annyuk, what currently works:
- your main window will be the "current" one again if the newly opened
is closed with javascript but there is currently no step to close a window
- selectWindow is currently only able to select windows with name what
is probably not the case of your main window.
A closeWindow step as well as an improvement of selectWindow would be
valuable improvement of webtest... but they still need to be done.
Marc.
Emilie Galicher wrote:
Hi,
I would like to know if it is possible to go back on
another page. Actually i have a link which opens a new
window. After testing this window, i would like to
come back on the parent window.
I tried <previousResponse description="..."/> but I
think it is just possible to go back on the last page
of the same window. Maybe with "selectWindow" but I
don't anderstand how to use it?
Thanks for help!
Emilie