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 to handle the exceptions using the recovery scenario manager in qtp?
What is reusable action?
What the differences are and best practical application of Object Repository?
Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints
How to use output values in qtp ?
What are the advantages of qtp?
What are the different types of recovery operation?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
What is the expert view?
Can I change properties of a test object?
hi nani my doubt is how does qtp process metrix related to software process.
What is throw Object?
Explain data driven framework?
How to check feasibility of the appliction?in automation testing?
What are the two types of repositories available, explain them?