how we connect oracle or sql data server database to qtp.
Answer Posted / mohit
You may try:
Dim rs,sq,pkey
set conn=createobject("adodb.connection")
set rs=createobject("adodb.recordset")
' Oracle client is required to be installed on your box
conn.open= "Provider=OraOLEDB.Oracle.1;Password=***;Persist
Security Info=True;User ID=****;SERVER=****;Data
Source=****;DBQ=****;"
sql="your sql"
rs.open sql,conn
rs.close
set rs=nothing
conn.close
set conn=nothing
Is This Answer Correct ? | 7 Yes | 6 No |
Post New Answer View All Answers
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
What is expert view in qtp?
What are the advantages of parameterization ?
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?
Explain the types of object repositorys in qtp?
how to acess a test in RSA?
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
How to get Traceability matrix from TD?
Have you done batch testing in qtp? If yes how you are doing?
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page
Brief the process of testing with UFT?