Results 1 to 3 of 3

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

  1. #1
    Geek_Guest
    Guest

    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?


  2. #2
    Expert Member
    Join Date
    Apr 2007
    Answers
    147

    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


  3. #3
    Junior Member
    Join Date
    Feb 2007
    Answers
    17

    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
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact