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.
Prerequisite to connect to SQLsrvr 2008 DB, class not found error rcvd
Hi ,
I am trying to connect to SQLSERVER DB with below connection String , when tried to execute script
recieved Class Not found error.
_getDB("com.microsoft.sqlserver.jdbc.SQLServerDriver",Database Name,Uname,pwd);
Please let me the details , how to pull values from DB. From Scratch..
Thanks in Advance..
Santosh.
I am trying to connect to SQLSERVER DB with below connection String , when tried to execute script
recieved Class Not found error.
_getDB("com.microsoft.sqlserver.jdbc.SQLServerDriver",Database Name,Uname,pwd);
Please let me the details , how to pull values from DB. From Scratch..
Thanks in Advance..
Santosh.
Answers
you may have to start sahi with the classpath set to the jdbc. From command line it would be like in Unix. For windows the commands may alter.
If you are sure, you set the classpath, try Please check these things.
http://sahi.co.in/w/_getdb looks promising, do you need more information?
Regards
Wormi
I have added the both sqljdbc.jar and sqljdbc4.jar in sahi\extlib\db folder. and changed the SAHI_EXT_CLASS_PATH=$locationOfFile in start sahi dashboard.bat.
Please let me know the solution for this.
Do we need to create any DSN or adding jar files to jdk or any other required things to be done?
I hope somebody else can help you.
and required jar files and where to be placed..