I have been using Winrunner till now.Recently started working on Rational Robot.
Could anyone of you tell me how to use db verification points.From the robot script,I need to query a table from an SQL server db and verify that with a data field in a datapool table.
Use following code:
Dim outputStr As String
Dim connection As Long
Dim prompt As Integer
Dim retcode As Variant
Dim query as String
connection = SQLOpen("DSN=rc; UID=newrc; PWD=newrc", outputStr, prompt:=3)
query="delete from RC_SESSION_USERID_TRACK"
retcode=SQLExecQuery ( connection , query)
Refer to online help for details.
A highly advanced bug is indistinguishable from a feature.
Thanks Manoj for the help on this.