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.

Problem in pagination using sahi

imtiyazimtiyaz Members
edited November -1 in Sahi - Open Source
Hi

I am new user to sahi.
As I am using sahi for my site it gives errors while pagination (it opens other links of my page)
not the pagination links.
Please help me.

Thanks

Comments

  • narayannarayan Administrators
    Hi Imtiyaz,

    Which build of Sahi are you using? And what error do you see? Can you also paste the recorded code for the pagination links?

    Regards,
    Narayan
  • Hi Narayan,

    Thanks for reply,
    I am using Sahi V2 Release 2009-02-16
    and here is code

    1)_click(_spandiv("Login"));
    2)_setValue(_textbox("IDNumber"), "abc");
    3)_setValue(_password("Password"), "abc");
    4)_click(_submit("Login"));
    5)_click(_spandiv("Tracker Lines"));
    6)_click(_link(6));
    7)_click(_link(2));
    8)_click(_spandiv("Logout"));

    problem in links of pagination(line number 6 and 7)

    Thanks
  • narayannarayan Administrators
    _click(_link(6)); should have been _click(_link("6")); similarly for _click(_link("2"));
    This bug has been fixed in 04 Mar 2009 build.
Sign In or Register to comment.