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 I execute the Stored Procedure
Hi,
How I Execute the Stored Procedure using SAHI Scripts.
Please help me.
Amol
How I Execute the Stored Procedure using SAHI Scripts.
Please help me.
Amol
This discussion has been closed.
Comments
Please see below code.
function ExecuteProcedure(sql)
{
var $db = _getDB ("com.mysql.jdbc.Driver", "jdbc:mysql://localhost:3306/kubbe", "root", "silicus");
$db.execute(sql);
}
function selectUserData()
{
var $returnedData;
var $sql = "EXEC kubbe.selectuser ";
ExecuteProcedure($sql);
}
selectUserData();
But it is not working.
Amol
Sahi does not currently have in built support to execute stored procedures.
You can do this to execute your sp.
Solutions works fine.
Thanks for the help.
Amol