| Author |
Message |
kpeter
Joined: 02 Aug 2006 Posts: 2
|
Posted: Wed Aug 02, 2006 7:11 am Post subject: 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 |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Wed Aug 02, 2006 6:14 pm Post subject: |
|
|
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. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
kpeter
Joined: 02 Aug 2006 Posts: 2
|
Posted: Thu Aug 03, 2006 6:39 am Post subject: |
|
|
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 |
|
 |
|
|
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