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 search value in table & retrive another value from row
Hi,
I need to search value in table, and corresponding to that row i need another value.
e.g.: in table xyz i will search Product ID=1234, after searching Product i need to retrieve cost of that product witch is listed in that row and in Price column.
Going further I have to compare product Price.
Please help, how to search Value, how to retrieve value from column and how to compare 2 values.
Please do needful.
I need to search value in table, and corresponding to that row i need another value.
e.g.: in table xyz i will search Product ID=1234, after searching Product i need to retrieve cost of that product witch is listed in that row and in Price column.
Going further I have to compare product Price.
Please help, how to search Value, how to retrieve value from column and how to compare 2 values.
Please do needful.
This discussion has been closed.
Comments
for abouve query i used:
_getText(_cell(0,_near(_span("0042523368")), _under(_tableHeader("Initial Shipment"))));
but its giving a error "stop running this script? .....".
I am browsing through IE7 .
Column Name: Initial Shipment
in span("0042523368") Row.
We are checking how _under behaves with large tables.
If it is a simple table, you could use
_getText(_cell(_table(53), "0042523368", "Initial Shipment"))
Regards,
Narayan