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.

How to connect to oracle db? And running batch file for IE?

gligogligo Members
edited March 2011 in Sahi - Open Source
I am facing to 2 problems:
1.
I am using _getDB to connect to oracle db and read from it
I have copied classes12.jar to the sahi dir.
The db is on a remote host
MY function is:
var db=_getDB("oracle.jdbc.driver.OracleDriver", "jdbc:oracle:thin:" + $server + ":1521/via", "user", "pass");

I get after execution an exception:
ERROR
exception: java.sql.SQLException: E/A-Exception: The Network Adapter could not establish the connection

What is wrong?

2.
I am trying to run one suite with testrunner.bat file
testrunner.bat testsuite.suite [url]http://our_testserver.com[/url] ie
For FF is ok, but for IE7 I get : Script did not start within 150 seconds, so the url is opened, but execution does not start
I checked in the lan settings after run, they are set to localhost

Comments

Sign In or Register to comment.