Ranorex

Ranorex WebSpy and pages that spawn new windows

 
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexSpy
View previous topic :: View next topic  
Author Message
jasong



Joined: 26 Oct 2007
Posts: 46
Location: Texas

PostPosted: Tue Mar 25, 2008 10:28 pm    Post subject: Ranorex WebSpy and pages that spawn new windows
Hello,
There is a highly annoying site I have to deal with that when you visit, it spawns a new window and minimizes the original with a welcome splash page.

Within WebSpy this means the window I am dealing with is external and not under control of WebSpy. I have tried putting in the direct URL of the spawned window but it just respawns a new copy and redirects as before.

Does anyone know how I could get past this?

Thanks,
Jason
Back to top
View user's profile Send private message
Support Team
Site Admin


Joined: 07 Jul 2006
Posts: 200

PostPosted: Wed Mar 26, 2008 2:30 pm    Post subject:
As a simple workaround I suggest using RanorexSpyPro which also displays WebElement information including the RanoreXPath.

In your scripts you have to search the spawned IE window and grab the WebDocument from it (WebDocument.GetDocument(Control spawnedWindow) method).

Michael
Ranorex Support Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexSpy All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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