not recording in popup window?

kpeterkpeter Posts: 3
edited August 3, 2006 1:39AM in ANTS Load
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

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 New member
    Hello Peter,

    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.
  • Hello Brian,

    Yes, you are right: the popup is opened thru a custom javascript function which actually does its job by window.open.
    Thanks,
    Peter
Sign In or Register to comment.