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.

break and continue in SAHI

shamsham Members
edited November -1 in Sahi - Open Source
HI all

is there a way i can use the break to come out of a loop in SAHI?
If so is it used the the usual way.
Please let me know

thanks

Comments

  • Hi Sham,

    you can use break in loop to come out of loop.

    eg: for($i=0; $i<=10;$i++) {
    //statements..

    break; // dont use _ infront of break
    }


    Regards
    Raja
Sign In or Register to comment.