18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

How can I get the components in a popup without URL and populated with document.write

dvasquezdvasquez Members
edited April 2014 in Sahi - Open Source
My app is launching a popup window using javascript window.open(' ', 'popimpr') then the document is populated with document.write();

At this point I tried _popup('popimpr') in Sahi Controller but I only get [Exception] [object Object]

I also tried to hover over the popup window pressing CTRL to obtain the accessor but I'm not getting anything.

I found this thread http://sahi.co.in/forums/discussion/1169/sahi-popup-windows/p1 where narayan says there's a way to do it but he/she didn't explain how.

I also found that Sahi Controller attaches itself to the last opened window but when I try CTRL-ALT-DblClick over the popup window, the controller won't appear.
Sign In or Register to comment.