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.
Verifying Cell Value from id of label - PLEASE HELP
Hi Everyone,
Ive been breaking my head on this for quite sometime now . Please find below the html ffrom which I'm trying to verify the VALUE for "Net Profit" , which is $2.7T:
/////HTML///
<table cellpadding="0"><tbody><tr><td colspan="4" id="Net Profit" nowrap="nowrap"><copynormal>Net Profit</copynormal></td><td></td><td></td><td></td></tr><tr><td><headline3bold>$2.7T</headline3bold></td><td> </td><td><smallcopynormal>0.0%</smallcopynormal></td><td> </td></tr></tbody></table>
////HTML///
I've been trying to use this :
(browser.cell().near(browser.cell("Net Profit"))).containsText(netProfit);
where netProfit is the value I'm reading from a configuration file and verifying in the code above.
Please,please help!!
Thanks in advance,
Ravissant
Ive been breaking my head on this for quite sometime now . Please find below the html ffrom which I'm trying to verify the VALUE for "Net Profit" , which is $2.7T:
/////HTML///
<table cellpadding="0"><tbody><tr><td colspan="4" id="Net Profit" nowrap="nowrap"><copynormal>Net Profit</copynormal></td><td></td><td></td><td></td></tr><tr><td><headline3bold>$2.7T</headline3bold></td><td> </td><td><smallcopynormal>0.0%</smallcopynormal></td><td> </td></tr></tbody></table>
////HTML///
I've been trying to use this :
(browser.cell().near(browser.cell("Net Profit"))).containsText(netProfit);
where netProfit is the value I'm reading from a configuration file and verifying in the code above.
Please,please help!!
Thanks in advance,
Ravissant