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.

Boolean operators...

bpnchanbpnchan Members
edited March 2009 in Sahi - Open Source
Hi guys,

I have tried to find the info from the main site but I must be blind. I am trying to do something like following:

if ((_containsText(_cell(_table(14), 1, 1), "Condition A1")) OR (_containsText(_cell(_table(14), 1, 1), "Condition A2"))){
_click(_submit("OK"));
} else
{
do this
}

How can I do an OR logic with sahi? with ||?

Thanks and keep on the good work.

Brian

Comments

Sign In or Register to comment.