Red Gate forums :: View topic - not recording in popup window?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Load
ANTS Load forum

not recording in popup window?

Search in ANTS Load forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
kpeter



Joined: 02 Aug 2006
Posts: 2

PostPosted: Wed Aug 02, 2006 7:11 am    Post subject: not recording in popup window? Reply with quote

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
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Wed Aug 02, 2006 6:14 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
kpeter



Joined: 02 Aug 2006
Posts: 2

PostPosted: Thu Aug 03, 2006 6:39 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group