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.
Popup window
Hi Team,
How do i update my popup window id which automatically generated?
My popup window id changes automatically which makes it difficult for sahi to find the id.
When i record the popup window id is recorded and when i play the script it the id changes which causes error.
I am new to sahi so don't know much about it.
I searched for this in sahi forum but it does'nt show how to save the popup window id.
Kindly help.
Thanks in advance.
How do i update my popup window id which automatically generated?
My popup window id changes automatically which makes it difficult for sahi to find the id.
When i record the popup window id is recorded and when i play the script it the id changes which causes error.
I am new to sahi so don't know much about it.
I searched for this in sahi forum but it does'nt show how to save the popup window id.
Kindly help.
Thanks in advance.
Answers
_popup("pop76")._setValue(_textbox("txtPolicyNo.value"), "13985862P");
pop76 is automaticaly random generated id.
When I play the script it does not find pop76 bcoz it is updated and it displays error.
How do i save the id?
Kindly help.
_sahi.setServerVar('\$popup_id', _getText(_popup()));
Window not found: popupNameFromStep=; derivedName=pop95; windowName=pop95; windowTitle=ABC; wasOpened=1;
I want pop95 as input for $popup_id.
How should i assigned it? What parameter should i pass to $popup_id to get pop95 as output?
Kindly help.
Thanks in advance.