Saturday, September 5, 2009

QTP Multiple Choice Questions - Set 43

The Export and Replace Local Objects option (in Object Repository window) .....

A) exports the local objects to a shared object repository
B) associates the new shared object repository with your action
C) deletes the objects in the local object repository
D) All of above

You cannot define the priorities of the object repositories associated with an action using the Associate Repositories dialog box.

A) True
B) False

The Object Repository window is read-write-only during record and run sessions.

A) True
B) False

You can modify the properties of the temporary version of the object during the run session without affecting the permanent values in the object repository by adding a ...... statement.

A) SetROProperty
B) GetTOProperty
C) SetTOProperty
D) Both C & A

You can add a test object to the local object repository only if that test object does not already exist in a shared object repository that is associated with the action.

A) True
B) False

You cannot add new test objects to your object repository that do not yet exist in your application.

A) True
B) False

You cannot add ..... objects directly to an object repository using the Add Objects to Local button in the Object Repository window.

A) Web
B) WinMenu
C) Webelement
D) Both B & C

You can add test objects to the local object repository of the current action by selecting the required object in the Active Screen.

A) True
B) False

To copy an object to a different location within an object repository press the .... key while dragging the object and drop it at the required location in the tree.

A) Shift
B) Alt
C) Shift
D) Ctrl

You can modify the root node of an object repository.

A) True
B) False

1) D, 2) A, 3) B, 4) C, 5) A, 6) B, 7) B, 8) A, 9) D, 10) B