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.

link

lokendralokendra Members
edited November -1 in Sahi - Open Source
that i do not solve it

i want to expresion like
in for like.
_click(_link("2"));

by using the loop


for (var $i=2; $i<5; $i++)
{
_click(_link("$i+");
}

whta is the correct format to fine the

exp...........
_click(_link("2"));

Comments

  • regular expression matching issue on popup Window

    that i do not solve it

    i want to expresion like
    in for like.
    _click(_link("2"));

    by using the loop



    for (var $i=2; $i<5; $i++)
    {
    _click(_link("$i+");
    }

    whta is the correct format to fine the

    exp...........
    _click(_link("2"));
  • Hi lokendra,

    Have you tried this,

    for (var $i=2; $i<5; $i++)
    {
    _click(_link("" + $i));
    }
  • Hi,
    i have multiple links with similar property on my web page. and i have to click on one link based on one variable value. please help me how can i do this.

    thanks
    venkatesh
  • narayannarayan Administrators
    Please give an example.
  • in my application user can add multiple accounts with different name and different account numbers.
    after adding the account he will see one Complete verification link to complete the verification process. user can do this immediately or later also. in my case user already added 3 accounts which is having Complete Verification link. and now he i am trying to add one new account and i want to complete the verification process by clicking on the Complete verification link for this account.

    how can i identify this Complete verification link for this newly added account.
  • narayannarayan Administrators
    Hi,

    Have a look at _near, _in and _under APIs. http://sahi.co.in/w/browser-accessor-apis

    Regards,
    Narayan
Sign In or Register to comment.