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.
Sample script for checking the html table values against DB values
Can anybody post a sample script for comparing the values in a html table with the values in the DB (DB being used is mysql)
And also how to fetch the table element name using sahi..
And also how to fetch the table element name using sahi..
Comments
Here is some sample code:
To fetch table element, just ctrl-mouseover the edge of the table till Sahi identifies the table. Or you could use _parentTable(_cell("cellId")).
Make sure you replace the query and the required values in the above script.
Regards,
Narayan
I wanted to display the values i am getting from the table..How can i check it at the time of playback..
like some alert for displaying the values..
can u just show me an example..
i want to see the values returned by the function gettablecontents..