How to handle exception when data table is not available in
local host system or path is not correct(explain statement
with example)
Dim Dsn_conn,rs
Set objConnection=Createobject("ADODB.Connection")
Dsn_conn= "DSN=QT_Flight32;DBQ=C:\Program Files\Mercury
Interactive\QuickTest
Professional\samples\flight\app\flight32.mdb;Driver=C:\WINNT
\system32\odbcjt32.dll;DriverId=281;FIL=MS
Access;MaxBufferSize=2048;PageTimeout=5;"
objConnection.Open(Dsn_conn)
Set rs=CreateObject("ADODB.RecordSet")
Set rs=objconnection.execute(" select flight_Number from
Flights where flight_Number>20330") (Instead of this
statement search the table u will get it
)
rs.MoveFirst
While Not rs.EOF
Msgbox rs.fields.item("flight_Number")
rs.movenext
Wend
| Is This Answer Correct ? | 0 Yes | 2 No |
my assignment is,how can i differentiate between readed & unreaded mails in my inbox ?, since for both readed & unreaded having same properties for both test objects &run time objects
What are the features supported by UFT?
How does qtp recognize objects in aut?
What is the present version of the VB Script we are using
How many types of recording modes in qtp?
How will internal and external links be validated and updated? how often?
How qtp recognizes the object?
After Creation of your QTp frame work, The folders are saved in VSS or Other. plz explain brifly?
what is the use of VIRTUAL OBJECTS? explain ?
What is standalone database?
Few basic questions on commonly used Excel VBA functions.
What is the difference between shared and local object repository?