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.

Skip Steps while running the script

keatskeats Members
edited November -1 in Sahi - Open Source
Is it possible to skip steps in sahi.

I am trying to do this,
Say I have 5 fields in my UI. And sometimes I do not want to enter any data in say field 2 & 3.
So in that case, can we skip the steps instead of executing them? I want to leave the existing UI data as is and do not want to give new value.

Comments

  • Hi keats,

    Use an if condition.
    if(condition is met) {
        _setValue(_textbox("username"), "value");
    }
    

    Regards,
    dkulkarni
Sign In or Register to comment.