I am a new qtp user, my project demands me to get a value from DB and compare it with some value.
To do this i guess DB checkpoint would be the best appraoch, but to connect to th db i need connection string.
Can someone plz guide what all i need to do to get this db connection.
Today only i have raised request for Toad.
What other things i need to do to get this.
Please consider that i am very new and guide me accordingly
open the new QTP test, copy and paste it. it works
Dim con, rs
con.open("provider=sqloledb;server=servername;user id=ABC;password=123456; database=Databasename")
rs.open "Select * From Tablename", con
e=a&" "&b&" "&c &" "&d
Loop While NOT rs.EOF