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 - You can remove the call to an action from a test by selecting the action using

  1. Resource pane

  2. Test Flow pane

  3. Keyword view

  4. Expert view

A - (1) and (3) only

B - (2) and (4) Only

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

D - (3) and (4) only

Answer : C

Explanation

An action call can be removed from the test either from Keyword view or Resource or Test flow pane.

Q 2 - The changes made in Call to Action, will be reflected in the original action (from where the script is called) where as in Copy Action , the changes made in the script ,will not effect the original script(Action)

A - True

B - False

Answer : A

Explanation

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

Q 3 - We can use regular expression for urls in the list of Browsers under Tools > Options > Web to ignore them during record and replay time.

A - True

B - False

Answer : A

Explanation

We can use regular expression for urls in the list of browsers to ignore.

Q 4 - Which checkpoint type uses a query to validate expected value?

A - standard

B - table

C - database

D - SQL Checkpoint

Answer : C

Explanation

Database checkpoint is used to query to validate expected value.

Q 5 - Which Settings tab enables UFT to measure the resources being used by the application?

A - Resources

B - Environment

C - Local System Monitor

D - Run

Answer : C

Explanation

Local System Monitor enables UFT to measure the resources being used by the application.

Q 6 - What happens when you hit debug button on a run error message box during a run session?

A - stops the run session.

B - attempts to perform the step again.

C - skips the step and continue execution.

D - suspends the run session.

Answer : D

Explanation

UFT suspends the run session and enable you to debug the test.

Q 7 - A checkpoint returns a _________ value.

A - Integer

B - Float

C - Boolean

D - Checkpoint does not return a value

Answer : C

Explanation

Checkpoint returns a Boolean value.

Answer : B

Explanation

Using asterisk(*) in regular expression indicates to match zero or more specific characters.

Q 9 - Which statement can be used to handle unexpected errors in your test?

A - On Error Goto 0

B - On Error Goto ErrHandler

C - On Error Resume Next

D - ON Error SKIP

Answer : C

Explanation

We can use ‘On error resume next’ in UFT script to handle unexpected errors.

Answer : A

Explanation

Contains information about license code and can be found under C:\Program Files\Common Files\HP\License Manager\lservrc


qtp_questions_answers.htm

Advertisements