-
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?
-
Expert Member
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
-
Junior Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules