Re[2]: [Webtest] Way to retrieve current url? (resurrect the question)
Maxim Annyuk
webtest@lists.canoo.com
Thu, 20 Oct 2005 12:22:41 +0400
Hi Marc,
It turned out that pop-up closing functionality works fine in the WebTest.
The "main" window indeed becomes the "current response" again.
Problem was in something else. So please take my apologies for wasting your
time.
But anyway your response helped us to find the problem and to get rid of
our ugly workaround (getting the "main" window URL and invoking it instead
of closing the pop-up).
Thanks!
PS.
MG> What does the log (category com.canoo.webtest.engine.Context) says about
MG> how the "current response" is determined in your case?
[webtest] INFO (com.canoo.webtest.engine.Context) - The window containing
current response has been closed, the content of the last opened window will
become the current response
[webtest] INFO (com.canoo.webtest.engine.Context) - Current form set to none
[webtest] INFO (com.canoo.webtest.engine.Context) - Changed last response to
https://......
It says that it works fine :)
--
Maxim