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.
_spandiv problem
Hi all,
Even I am having a problem with _spandiv function.In my application, When a button is pressed a popup has to appear. I need to check in the script if that popup has appeared. Also I have to check if a Folder name is present in that pop up. So I have used assert_assertExists(_spandiv("publishPopUpForm:revokeFolderTree:"+$FldrIdName[2]+"::outTxtShortAdminRefFldrName"));
This assertion is returning false and i am unable to retrieve the text from there. Please help.
Even I am having a problem with _spandiv function.In my application, When a button is pressed a popup has to appear. I need to check in the script if that popup has appeared. Also I have to check if a Folder name is present in that pop up. So I have used assert_assertExists(_spandiv("publishPopUpForm:revokeFolderTree:"+$FldrIdName[2]+"::outTxtShortAdminRefFldrName"));
This assertion is returning false and i am unable to retrieve the text from there. Please help.
Comments
There was a bug in spandiv in one of the previous versions.
Use _span or _div (depending on whether the html tag is a span or a div) instead of _spandiv and check.
Can anyone please tell me if there is any other way to identify a popup.