How to connect to the Database from QTP?
Answer Posted / surendra adapa
For Sql-Server:
"provider=SQLOLEDB;Server=servername;Databae=dbname;Userid= ;Password= :"
or
"provider=SQLOLEDB;Server=servername;Databae=dbname;Trusted-Connection=yes;" (windows Authentication)
For MS-Access:
"provider=Microsoft.Jet.OLEDB.4.0;DataSoure=Path;uid= ;pwd= ;"
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What are the disadvantages of recording test cases in qtp?
How to give a call to another action from one action?
What is parameter in qtp?
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
Hi All, I need code for how to execute qtp scripts from excell sheet
Hi Samrat, Thank u very much, what u said it is right.
what is impact analysis on regression testing?
In qtp, how you can use xpath to identify objects?
What is CMMP and CMMH?
is it possible to add sheets to excel at runtime
What ate the Technologies supported by QTP?
How to explain a banking project in interview as a test engineer???
what could go wrong with test automation?
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
how to know no.of mails in our g mail by using vb-script