How can you connect the database with QTP?
Answers were Sorted based on User's Feedback
Answer / siva
set mycon = CreateObject("ADODB.Connection")
mycon.open("driver=SQL Server;Server=localhost;database=(database name);trusted_connection=yes")
set myresult=mycon.execute(Select * from emp)
while myresult.EOF<>TRUE
msgbox.myresult.fields(0)
myresult.movenext
wend
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / prashanth
Hi Sandeep,
What are the steps through database wizanrd, will u give
clear steps.
| Is This Answer Correct ? | 0 Yes | 0 No |
Hi, how can we retrieve a specific value from Excel Sheet (Not datatable. for externel file).i mean to say from .xls file. and also tell me from xml file and .doc file. and how can u parameterize ur script from .xls file.(Not data table).
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
Can we select add ins in UFT during run time
How can the name of a checkpoint be changed in Qtp
What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?
My project title is "DRUG Audition and research management" it comes which domain?
How do you do batch testing in wr and is it possible to do in qtp, if so explain?
Write Descriptiv prg 4 login logn....txt bx password---txt bx ok---btn
Can you list some technologies that support qtp?
How can we QTP Scripts in xml format? is there any way to do so?
tell me about regular expressions in QTP? where we use? give eample?
whenever a scenario is recorded ever, it creates a object repository automatically (‘per action’ /local ). we do not need to make them individually…then why we need a shared object repository. How it will be practically utilized ?? your input will be highly appreciated..