How to retrieve runtime property of an object?
GetToProperty
GetProperty
GetRoProperty
ObjectProperty
How you will comment a line in QTP?
' (Single Quote)
/*
//
REM
Your application contains objects that behave like standard objects but are not recognized by QuickTest. How you will handle them?
Use descriptive programming.
Use QTP record option.
Use virtual objects
None of above
How do you convert the string to upper case?
UpperCase
UpCase
UCase
Upper
What statement will end execution of current action?
Exit
ExitAction
Exit Action
Exit Now
VBScript classes are supported by QTP?
True
False
Which of following statement is true while instantiating a VBScript class.
CreatePage = New Pages
New CreatePage = Pages()
Set CreatePage = New Pages
Dim CreatePage = New Pages
What is number of parameters required for using Reporter.ReportEvent statement.
2
3
4
0
What is method to count number of rows in a WebTable.
Rows
RowCount
GetRows
None of the above.
Following method exports a specified sheet of the run-time Data Table to the specified file.
DataTable.ExportSheet
DataTable.Exports
DataTable.Export
All of the above.