0

testing Online Quiz - 162

Description: testing Online Quiz - 162
Number of Questions: 20
Created by:
Tags: testing
Attempted 0/20 Correct 0 Score 0

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

  1. XML

  2. MTS

  3. TSR

  4. XLS


Correct Option: A

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


Correct Option: B

How can you retrieve an object's properties?

  1. By recording

  2. Object Spy

  3. Net Spy

  4. Step Generator


Correct Option: B

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


Correct Option: B

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


Correct Option: D

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


Correct Option: A,B,C

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

  1. mtr

  2. mts

  3. qfl

  4. tsr


Correct Option: D

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


Correct Option: A,D

Following are types of Actions available in QTP?

  1. Non-reusable

  2. End to End

  3. Reusable

  4. External


Correct Option: A,C,D

How to retrieve runtime property of an object?

  1. GetToProperty

  2. GetProperty

  3. GetRoProperty

  4. ObjectProperty


Correct Option: C

How you will comment a line in QTP?

  1. ' (Single Quote)

  2. /*

  3. //

  4. REM


Correct Option: A,D

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


Correct Option: C

How do you convert the string to upper case?

  1. UpperCase

  2. UpCase

  3. UCase

  4. Upper


Correct Option: C

What statement will end execution of current action?

  1. Exit

  2. ExitAction

  3. Exit Action

  4. Exit Now


Correct Option: B

VBScript classes are supported by QTP?

  1. True

  2. False


Correct Option: A

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


Correct Option: C

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

  1. 2

  2. 3

  3. 4

  4. 0


Correct Option: B

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

  1. Rows

  2. RowCount

  3. GetRows

  4. None of the above.


Correct Option: B

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.


Correct Option: A,C

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


Correct Option: A
- Hide questions