not recording in popup window?
Hi,
I am trying to record a testcase which has the following stages:
load index page
log in with name/pwd
check user data
click on a button, which throws a popup window which communicates with a web service in XML.
As I see, the Ants load does not record anything from the part which happens in the popup window. Nor the page loading itself, nor the xml communication generated are observed.
Is there any workaround?
regs,
Peter
I am trying to record a testcase which has the following stages:
load index page
log in with name/pwd
check user data
click on a button, which throws a popup window which communicates with a web service in XML.
As I see, the Ants load does not record anything from the part which happens in the popup window. Nor the page loading itself, nor the xml communication generated are observed.
Is there any workaround?
regs,
Peter
Comments
If the window is being launched a certain way in a JavaScript, and this doesn't trigger Internet Explorer's OnNavigate event handler, then the navigation doesn't appear in the script. I still don't know exactly what kinds of navigation don't trigger onNavigate; I suspect Window.Open().
You may need to resort to simulating these requests by manually scripting the WebClient.GET(url) commands in the test script.
Yes, you are right: the popup is opened thru a custom javascript function which actually does its job by window.open.
Thanks,
Peter