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.
how to click on Row in table
Hi,
In my application , I am having a table , which have several rows...
I assigned a ID to my table like "sahi_table".
Now I want to click on first row to select it.
I tried with _click(_row(1));
but its not working ,
please help me out from this small problem
In my application , I am having a table , which have several rows...
I assigned a ID to my table like "sahi_table".
Now I want to click on first row to select it.
I tried with _click(_row(1));
but its not working ,
please help me out from this small problem
This discussion has been closed.
Comments
Use this to click first row in sahi_table:
_click(_row(0,_in(_table("sahi_table"))));
Regards
Sumitra
I tried this one , but its not working .
I need this thing because let my table have 10 rows , and their is one button outside the table , button is for uploading a file, so i need to upload file for each row, for that reason i need to click on each row and then click on button.
Please give me more better solution.
Thanks
Vikky jain
Is that you are looping through the rows?
Is the file upload option available on each row?
Is that you are selecting the file for each row and then clicking on the button?
Regards
Sumitra
File upload option is not available on each row,
Actually at each row i have a blank column,
So when i select particular row, then i click on button and upload a file , and that file name get displayed in that column.
This process i want to iterate through all rows. and button is common for all rows to upload file.
I think now you got my problem.
Vikky
Try this code and check if it works for you.
Regards
Sumitra
This one is also not working , but by using this approach i solve my problem.
I use _click(_cell("customFont["+$num+"]"))
where num is cell number of my blank column, So my issue is quite solved.
Thanks for ur efforts.
Vikky