QTP QuickTest Professional

Test your knowledge of QTP QuickTest Professional software testing automation tool including methods, object repositories, actions, and scripting

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which file format is used by QTP to export and import object repositories.

  1. XML
  2. MTS
  3. TSR
  4. XLS
Question 2 Multiple Choice (Single Answer)

In general which object repository is easiest to use when we are creating simple record and run tests.

  1. Shared
  2. Local
  3. Both
  4. None of the above
Question 3 Multiple Choice (Single Answer)

How can you retrieve an object's properties?

  1. By recording
  2. Object Spy
  3. Net Spy
  4. Step Generator
Question 4 True/False

SetTOProperty changes the property values used to identify an object during the test run. It also effects the values saved in Object Repository for the object.

  1. True
  2. False
Question 5 Multiple Choice (Single Answer)

After creating or editing an object repository XML file. Which Quick test functionality is recommended to use in order to verify, our file confirms to QTP object repository scheme.

  1. Scheme Verification
  2. XML Validation
  3. XML Verification
  4. Scheme Validation
Question 6 Multiple Choice (Multiple Answers)

What extensions are supported by QTP, if we want to add a resource for function library?

  1. QFL
  2. VBS
  3. No Extension
  4. BAT
Question 7 Multiple Choice (Single Answer)

What is the file extension of Shared object repository file in QTP?

  1. mtr
  2. mts
  3. qfl
  4. tsr
Question 8 Multiple Choice (Multiple Answers)

How to Import data from a .xls file to Data table during Runtime?

  1. Datatable.Import
  2. Excel.GetSheet
  3. DataTable.GetSheet
  4. DataTable.ImportSheet
Question 9 Multiple Choice (Multiple Answers)

Following are types of Actions available in QTP?

  1. Non-reusable
  2. End to End
  3. Reusable
  4. External
Question 10 Multiple Choice (Single Answer)

How to retrieve runtime property of an object?

  1. GetToProperty
  2. GetProperty
  3. GetRoProperty
  4. ObjectProperty
Question 11 Multiple Choice (Multiple Answers)

How you will comment a line in QTP?

  1. ' (Single Quote)
  2. /*
  3. //
  4. REM
Question 12 Multiple Choice (Single Answer)

Your application contains objects that behave like standard objects but are not recognized by QuickTest. How you will handle them?

  1. Use descriptive programming.
  2. Use QTP record option.
  3. Use virtual objects
  4. None of above
Question 13 Multiple Choice (Single Answer)

How do you convert the string to upper case?

  1. UpperCase
  2. UpCase
  3. UCase
  4. Upper
Question 14 Multiple Choice (Single Answer)

What statement will end execution of current action?

  1. Exit
  2. ExitAction
  3. Exit Action
  4. Exit Now
Question 15 True/False

VBScript classes are supported by QTP?

  1. True
  2. False
Question 16 Multiple Choice (Single Answer)

Which of following statement is true while instantiating a VBScript class.

  1. CreatePage = New Pages
  2. New CreatePage = Pages()
  3. Set CreatePage = New Pages
  4. Dim CreatePage = New Pages
Question 17 Multiple Choice (Single Answer)

What is number of parameters required for using Reporter.ReportEvent statement.

  1. 2
  2. 3
  3. 4
  4. 0
Question 18 Multiple Choice (Single Answer)

What is method to count number of rows in a WebTable.

  1. Rows
  2. RowCount
  3. GetRows
  4. None of the above.
Question 19 Multiple Choice (Multiple Answers)

Following method exports a specified sheet of the run-time Data Table to the specified file.

  1. DataTable.ExportSheet
  2. DataTable.Exports
  3. DataTable.Export
  4. All of the above.
Question 20 Multiple Choice (Single Answer)

Which of the following is NOT a reasonable test objective

  1. to find faults in software
  2. to prove that software has no faults
  3. to give confidence in the software
  4. to find performance problems