Sunday, April 26, 2009

QTP Multiple Choice Questions - Set 26 - Actions - 2

1)The ...... enables you to view either the entire test flow (the calls to the actions in the test) or you can view the steps for a selected reusable or external action.

A) Action MenuB) Action ListC) Action ToolbarD) Action View

2)You can view the ....... of the original action in the General tab of the Action Properties dialog box.

A) ParametersB) LocationC) Associated RepositoriesD) Type

3)You can create an additional call to any reusable or external action in your test by pressing ...... while you drag and drop the action to another location at a parallel (sibling) level within your test.

A) F3B) altC) shiftD) ctrl

4)You can use action parameters in any step in your action (including function calls).

A) TrueB) False

5)Input values for an action parameter can be retrieved

A) from the test (for a top-level action)B) from the parameters of the parent action that calls it (for a nested action)C) from the output of a previous action call (for a sibling action)D) All of above

6)The Action Call Properties dialog box enables you to set options that apply only to a ...... action call.

A) requiredB) optionalC) required only for internal actionD) both A & B

8)You can share a value that is generated in one action with other actions in your test by storing the value in the ..... Data Table.

A) InternalB) ExternalC) LocalD) Global

9)ExitAction:

A) Exits the current action, regardless of its iteration attributes.B) Exits the current iteration of the action.C) Exits the test, regardless of its iteration attributes.D) Exits the current global iteration.

10)If the action called by the RunAction statement includes an ExitAction statement, the RunAction statement can return the value of the ExitAction's RetVal argument.