Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

How do you connect/configure qtp to access data from database?

This is a discussion on How do you connect/configure qtp to access data from database? within the QTP forums, part of the Software Testing category; Question asked by visitor Laxmi How do you connect/configure qtp to access data from database? What database it is compatible with?...

Go Back   Geeks Talk > Software Testing > QTP
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 03-29-2007
Expert Member
 
Join Date: Feb 2007
Posts: 1,279
Thanks: 0
Thanked 192 Times in 154 Posts
Geek_Guest has a spectacular aura aboutGeek_Guest has a spectacular aura aboutGeek_Guest has a spectacular aura about
How do you connect/configure qtp to access data from database?

Question asked by visitor Laxmi

How do you connect/configure qtp to access data from database? What database it is compatible with?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-30-2007
Expert Member
 
Join Date: Apr 2007
Location: Kolkata
Posts: 151
Thanks: 3
Thanked 11 Times in 10 Posts
debleena23 is on a distinguished road
Re: How do you connect/configure qtp to access data from database?

Access is well compatable with QTP. Just give the DSN file path.....Its preety easy
Reply With Quote
  #3 (permalink)  
Old 05-02-2007
Junior Member
 
Join Date: Feb 2007
Location: hyd
Posts: 18
Thanks: 0
Thanked 3 Times in 3 Posts
lata_115 is on a distinguished road
Re: How do you connect/configure qtp to access data from database?

Dim con,rs
set con = CreateObject("ADODB.Connection")
set rs =CreateObject("ADODB.recordset")
con.provider "microsoft.jet.oledb.4.o"
con.open "D:\programfile\mercuryinteractive\................xxx.mdb"
rs.open select * from emp,con
rs.movefirst
while not rs.EOF
msgbox rs.fileds("column name")
rs.movenext
wend
Reply With Quote
The Following User Says Thank You to lata_115 For This Useful Post:
Reply

  Geeks Talk > Software Testing > QTP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
looking for formula kind in Database esp in MS ACCESS direct4 Database General 0 03-12-2007 08:25 PM
MS-Access database JobHelper Database Design 1 12-11-2006 02:47 AM
Data Access Layer For Microsoft Access Lokesh M VB.NET 0 12-02-2006 11:35 AM
Access Rights of database joel Oracle 5 07-27-2006 07:22 AM
Database access using C program fred C and C++ 1 07-13-2006 10:52 PM


All times are GMT -4. The time now is 03:12 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved