Ranorex WebSpy and pages that spawn new windows

Ranorex Studio, Spy, Recorder, and Driver.
Posts: 49
Joined: Fri Oct 26, 2007 9:38 pm
Location: Texas

Ranorex WebSpy and pages that spawn new windows

Post by jasong » Tue Mar 25, 2008 9:28 pm

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?


User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Post by Support Team » Wed Mar 26, 2008 1:30 pm

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).

Ranorex Support Team