Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can you connect the database with QTP?

Answers were Sorted based on User's Feedback



How can you connect the database with QTP?..

Answer / sandeep.puchakayala

Thru Data Base Wizard in QTP

Is This Answer Correct ?    2 Yes 0 No

How can you connect the database with QTP?..

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

How can you connect the database with QTP?..

Answer / prashanth

Hi Sandeep,
What are the steps through database wizanrd, will u give
clear steps.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

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).

2 Answers   Cap Gemini,


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

0 Answers   Value Labs,


Can we select add ins in UFT during run time

1 Answers   NIIT,


How can the name of a checkpoint be changed in Qtp

2 Answers   Ordain Solutions,


What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?

4 Answers  


My project title is "DRUG Audition and research management" it comes which domain?

4 Answers  


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

0 Answers  


Write Descriptiv prg 4 login logn....txt bx password---txt bx ok---btn

2 Answers   Hewitt,


Can you list some technologies that support qtp?

0 Answers  


How can we QTP Scripts in xml format? is there any way to do so?

2 Answers   Apex,


tell me about regular expressions in QTP? where we use? give eample?

2 Answers   IBM,


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..

5 Answers  


Categories