18 January 2026:


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.

_getDB.select()

Dinesh KanojiaDinesh Kanojia Members
edited November -1 in Sahi - Open Source
Hi Masters ,

i have a one problem related with executing store procedure from select()

when ever i try to execute my storeproceduer with _getDB.select() it giving me a error

JSERROR SyntaxError: unterminated string literal at Oct 19, 2009 3:41:02 PM

i have check the profiler of database it execute procedure it return the number of record as well
but still i am not able to recognized where the error is ,it giving the above error
here is my peice of code

var $database = _getDB("sun.jdbc.odbc.JdbcOdbcDriver","jdbc:odbc:Localserver","sa","master");
var $rs = "";
_setValue($rs, $database.select("Exec PROC_PRODUCT_ISSUED_BILLNotMADE 1"));

kindly revert back to me where i am doing wrong .

any suggestion will appreciate

thanks in Advance.

warm regards,
DInesh.k
Sign In or Register to comment.