![]() |
Data base connection problem - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Data base connection problem (/Thread-Data-base-connection-problem) |
Data base connection problem - Ashley - 07-16-2008 I am having trouble with oracle database connection, how should I know my connection is success or not. When I run the script it is giving 0 failed result, any sample code is very helpful. Please check the below sample code Code: Dim OdbcDSN RE: Data base connection problem - niranjan - 07-16-2008 Please do not post multiple same questions. I have deleted your second post RE: Data base connection problem - anemuday - 07-17-2008 Hi, This is the sample script to connect to the DB(presently i used it for MS Access). It may helpfule to u: Code: conStr="DSN=sampleDB" Uday. RE: Data base connection problem - Ashley - 07-17-2008 I didnot do it intentionally, it might be a mistake. RE: Data base connection problem - somisays - 07-17-2008 Dear Ashley, Read this about Database Example. https://www.learnqtp.com/forums/Thread-DatabaseExample |