18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
Pop up windows
Hi,
How many pop-up windows does Sahi support?
Eg. I have successfully created scripts running from windows A, B (popup of A) and then C (popup from
. But when I rerun my scripts, the script fail to run recorded part of the last window (C).
Any idea?
How many pop-up windows does Sahi support?
Eg. I have successfully created scripts running from windows A, B (popup of A) and then C (popup from
Any idea?
Comments
Does the steps not run the part on window C, or do the steps not show in the Controller? What do the playback logs show?
Try clearing the browser cache too and retry.
Regards,
Narayan
Sorry, I reset my browser settings at some point, and accidentally left popup blocker on. So now it works but I'm having some problems with the text IDs. Their IDs are randomly generated as shown below. Can I use some wild characters in my code?
=========
From recorded script:
_popup("Practice")._setValue(_textbox("RN_748088_0_0_748142"), "0");
On rerunning my script, the textbox IDs change as shown below in bold italic part (this code is from View-Source option during rerun)
<span style="display:none" class="box_num">1</span><input type='text' name='RN_748088_0_0_748109' value='' size='10' autocomplete='off' id='RN_748088_0_0_748109' dir='ltr' /></span></span>
From error log file:
_popup("Practice")._setValue(_textbox("RN_748088_0_0_748142"), "0");
Error: The first parameter passed to _setValue was not found on the browser
No trace available
========
Old script:
_popup("Practice")._setValue(_textbox("RN_748088_0_0_748142"), "0");
Modified script:
_popup("Practice")._setValue(_textbox(4), "0"); //for the 4th textbox on the page