This question is locked. New answers and comments are not allowed.
Currently we are running telerik test cases on local machine, but pointing to database(DB2 database) on different machine.
In our use case, where we need to connect to DB and excute an query before execution of test case.
So, we have written a coded step to get the database connection like :
//
cn = new OdbcConnection("Driver={IBM
DB2 ODBC DRIVER};Database="+sID+";Hostname=" + sHostName +";Port=" + sPort + ";Protocol=TCPIP;Uid=" + sUID + ";Pwd=" +sPWD+";");
}
but while running we are getting an error "DataSource name not found and no default driver specified".
Do you need an datasource in our local machine also ?.
Can someone help me out in getting connection of remote DB machine
In our use case, where we need to connect to DB and excute an query before execution of test case.
So, we have written a coded step to get the database connection like :
//
cn = new OdbcConnection("Driver={IBM
DB2 ODBC DRIVER};Database="+sID+";Hostname=" + sHostName +";Port=" + sPort + ";Protocol=TCPIP;Uid=" + sUID + ";Pwd=" +sPWD+";");
}
but while running we are getting an error "DataSource name not found and no default driver specified".
Do you need an datasource in our local machine also ?.
Can someone help me out in getting connection of remote DB machine