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.

How to check dynamic changing link through Sahi

mayanktocmayanktoc Members
edited November -1 in Sahi - Open Source
Actually in my application some links are dynamically changing so I want to check those links that they are taking the user to corresponding page or not.

Mayank

Comments

  • narayannarayan Administrators
    A link can be accessed by many methods. If one method fails, use another.

    Have a look at http://sahi.co.in/w/_link

    Apart from these you could also use _link(regularExpression)

    eg.

    To access a link with text 'Last visit: 2008-02-02 01:26:49', use
    _link(/Last visit.*/)
    
  • Thanks Narayan...I got solution after combining both points
Sign In or Register to comment.