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
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
What are the types of object repository?
what is the difference between built-i function and In-built function?
Explain the checkpoint in qtp?
How can I import environment from a file on disk?
What are the benefits of quick test pro(qtp)?
Have you used xml check point in your project?
What is a checkpoint? How many check points are there in qtp?
i can done the project with QTP in that time i can say how many members in my team size?
How to get Traceability matrix from TD?
What are the various automation frameworks available in qtp?
If the objects hierarchy is changing from build to build, then how you will handle that condition?
What are the different types of qtp test assets and their extensions?
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?