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.
SahiPro 4.2 changed behaviour
Hi,
I used in previous versions following expression:
if(_exists(_link("Logout",_in(_span("/.*:pageHeader:pt_logout1/"))))) { ...
Since SahiPro v4.2, I'm getting the "parameter passed to _in was not found" error in case that the condition should return false. Is there way how to rewrite this and make it work again?
I don't want to remove the _in statement, because there could be several "Logout" links on the page.
Thanks
Jirka
I used in previous versions following expression:
if(_exists(_link("Logout",_in(_span("/.*:pageHeader:pt_logout1/"))))) { ...
Since SahiPro v4.2, I'm getting the "parameter passed to _in was not found" error in case that the condition should return false. Is there way how to rewrite this and make it work again?
I don't want to remove the _in statement, because there could be several "Logout" links on the page.
Thanks
Jirka