Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

JavaConstructor for "net.sf.sahi.plugin.DBClient"withArguments"string,string,string,string"NotFound

I am a beginner in Sahi Automation Tool.

I set the following changes to run my script.
1) In Sahi/Userdata/bin
SET SAHI_EXT_CLASS_PATH=%EXT_CLASS_PATH%;d:\Sahi\extlib\db\mysql_connector_java_5.1.34_bin.jar;
2) Downloaded and installed the 64 bit ODBC drivers (AccessDatabaseEngine.exe)
3) Set the proxy and port in userdata.properties

Here is my code.

var db = _getDB("sun.jdbc.odbc.JdbcOdbcDriver","jdbc:odbc:Driver={Microsoft Excel Driver(*.xlsx)};DBQ=d:\\Sahi\\userdata\\scripts\\My_works\\Login.xlsx;readOnly=false","","");
if(db != null)
{
var $rs = db.select("select * from [Sheet1$]");
}

I am encountering below ERROR.
--Stopped Playback: FAILURE--

Kindly help me please.
Sign In or Register to comment.