Page 1 of 1

Ranorex WebSpy and pages that spawn new windows

Posted: Tue Mar 25, 2008 9:28 pm
by jasong
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

Posted: Wed Mar 26, 2008 1:30 pm
by Support Team
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