18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
check for a link from the screen
i would like to check for a link say " commission link" if the screen has this link, i should proceed
with certain lines if not, i should follow other block.. because these are dynamic links..
i simple terms
if( commission link is present)
{
click on commission percentage link;
}
else
{
click on get commission percentage link;
}
how can i achieve this from sahi.. please help me..
with certain lines if not, i should follow other block.. because these are dynamic links..
i simple terms
if( commission link is present)
{
click on commission percentage link;
}
else
{
click on get commission percentage link;
}
how can i achieve this from sahi.. please help me..
This discussion has been closed.
Comments
Use _condition
Have a look at http://sahi.co.in/w/sahi-script-and-javascript for deeper understanding.
Regards,
Narayan