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.

Cell data conditions

AndrezAndrez Members
edited November -1 in Sahi - Open Source
Hi, first of all i would like to thankyou for this software provision and also for giving me an opportunity to ask queries.

Now i have to automate a task for my company for job searching. So everytime i search a new job the links also vary. I've found a solution to click on the link inside a cell i.e

_click(_link(_getCellText(_cell(_table(17), 3, 2))));

But i want some code so that if this cell is empty or not existing only then i want to run some other code for that condition. So can i know about some method for this, like can i use a if loop because i want to code such that if the cell has a link then click it or else go to the home page.

Can you please see to this and if you cannot understand any part of it please let me know.
Thanking you.

Comments

Sign In or Register to comment.