QTP Online Quiz


Advertisements

Following quiz provides Multiple Choice Questions (MCQs) related to QTP Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Q 1 - UFT license type that is specific to a computer on which it is installed is known as ________

  1. Concurrent license

  2. Floating license

  3. Seat License

  4. Personal License

A - (1) (2) and (3) only

B - (3) Only

C - (1) and(3) Only

D - All (1) (2) (3) and (4)

Answer : B

Explanation

Seat license is specific to a computer on which it is installed.

Q 2 - Which of the following could be possible objective(s) for test automation? Mark all that apply.

  1. Increase speed of testing

  2. Reduce manual effort

  3. Ensure consistency

  4. Eliminate manual testing.

A - (1) (2) and (3) only

B - (3) Only

C - (1) and(3) Only

D - All (1) (2) (3) and (4)

Answer : A

Explanation

Automating a test, provides you an increased speed of your testing, it reduces manual effort and ensures consistency, It does not replace manual testing.

Q 3 - How can you add recordable or non-recordable operations to your test?

  1. Use the Step Generator

  2. Insert through Keyword View.

  3. Drag objects from Available Keywords.

  4. Drag objects from the Data Table.

A - (1) (2) and (3) only

B - (3) and (4) Only

C - (1) (2) and(3) Only

D - All (1) (2) (3) and (4)

Answer : C

Explanation

It can be added using step generator or through keyword view or it can be dragged objects from available keywords.

Q 4 - Which statement type can you use in your test to wait for a condition to be met and fail the test if it times out before meeting the condition?

A - pause method

B - exist method

C - standard checkpoint

D - wait statement

Answer : C

Explanation

Standard Checkpoint helps testers to wait for a condition to be met and fail the test if it times out before meeting the condition

Answer : A

Explanation

You have to navigate to Resources > Object Repository Manager.

Q 6 - Which DataTable method makes an external spreadsheet available to UFT?

A - GetSheet

B - OpenSheet

C - ImportSheet

D - ExportSheet

Answer : C

Explanation

ImportSheet method makes an external spreadsheet available to UFT.

Q 7 - If you have not saved your test with active screen files and later you want to edit your test using active screen options. How can you regenerate the active screen information?

A - you can not edit it now, test should be re-designed.

B - performing the maintenance run.

C - performing the update run.

D - Saving the active screens resources with test.

Answer : C

Explanation

Active screen can be regenerated by performing the update run.

Q 8 - Which test object property is used to access native properties of a run-time object?

A - ChildObjects

B - GetROProperty

C - GetTOProperty

D - Object

Answer : D

Explanation

Object property of an object can be used to access native properties of a run-time object.

Answer : D

Explanation

There is an option to enable editing for read-only function library at File > Enable Editing.

Q 10 - What are the naming restrictions for a variable?

  1. Must not begin with an alphabetic character.

  2. Cannot contain an embedded period.

  3. Must not exceed 255 character

  4. Must be unique in the scope in which it is declared.

  5. Cannot contain an underscore.

A - (1) ,(3) and (5)

B - (2) and (4) only

C - (2) and (5) only

D - (2), (3) and (4) only

Answer : D

Explanation

A variable name must be unique and in the scope in which it is declared. it should not exceed 255 chars and also it should not contain an embedded period

qtp_questions_answers.htm
Advertisements