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.

If conditions in a popup.

nagarjunnagarjun Members
edited November -1 in Sahi - Open Source
Hi Narayan,

My application pages are opened in a popup.
For if conditions like as given
if(_condition(_getText(_div("validationErrors")) !== ""))
I get an exception as:

>>>> step=_sahi.saveCondition(_sahi._getText(_sahi._div("validationErrors")) !==
"");
Window not found: popupNameFromStep=; derivedName=; windowName=VTONG; windowTit
le=VTO2G; wasOpened=1;


Can u please tell how can this be done?

Thanks
Nagarjun
Sign In or Register to comment.