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.

404 error

edited November -1 in Sahi - Open Source
This is my code were i want to insert this command _assertNotExists($404Error)..it is showing error
we have 3 div 1st div is letters in that we have operational urlgroup and non-operational urlgroup

var $a=_collect("_link", "/./", _in(_div("letters")));

for (var $i=0; $i<$a.length; $i+=1) {
_click($a[$i]);
var $b=_collect("_link", "/./", _in(_div("operational urlgroup")));

for (var $j=0; $j<$b.length; $j+=1) {
_click($b[$j]);
_call(history.back());
}

var $c=_collect("_link", "/./", _in(_div("non-operational urlgroup")));
for (var $k=0; $k<$c.length; $k+=1) {
_click($c[$k]);
_call(history.back());
}
}

Comments

Sign In or Register to comment.