QTP Multiple Choice Questions Set 13 - Synchronization

144)  If you do not want QuickTest to perform a step or checkpoint until an
object in your application achieves a certain status, you should insert
a .......... point to instruct QuickTest to pause the test until the object property
achieves the value you specify
A) Synchronization
B) Check
C) Smart Identification
D) none of above

145) Where do we Specify the Maximum Time to Wait for a Web Page to Load
A) File->Settings, Web Tab.
B) Tools->Options, Web Tab.
C) Resources->Settings, Web Tab
D) None of above

146) You can insert ........ statements that instruct QuickTest to wait until an object

A) Exist
B) Wait
C) Both A & B
D) None

147) ...... Method Waits for the browser to complete the current navigation.
A) Exist
B) Wait
C) WaitProperty
D) Sync

148) Sub Sync_Example()

Browser("Mercury Tours").Page("Mercury Tours").Sync
End Sub
The above example uses the Sync method to wait for the Mercury Tours page to
synchronize before performing the next operation.

A) True
B) False

149) .....Property- The period of time QuickTest waits before checking the emulator
status (in milliseconds).

A) SyncTime
B) Sync.Time
C) TimeSync
D) Time.Sync

150) ....... Property- Indicates whether QuickTest beeps after performing each Sync
function during a run session.

A) BeepAfterSync
B) BeepOnSync
C) BeepSync
D) Beep.Sync

151) Unlike the Exist method, the ....... method enables you to synchronize
the test run based on a specific object property.
A) WaitProperty
B) Wait
C) Sync
D) Exit

152) ...... Statement - Initiates a pause during a run session.
A) WaitProperty
B) Wait
C) Sync
D) Exit

153) ........... Property - The maximum time (in milliseconds) that QuickTest
waits for a Web page to load before running a step.
A) BrowserTimeout
B) Browser_Navigation_Timeout
C) BrowserNavigationTimeout
D) Browser_Timeout

QTP Multiple Choice Questions Set - 12

122) You can import and export object repositories from and to .... files.

123) In general, the ....... object repository is easiest to use when you are
creating simple record and run tests.
A) Shared
B) Local
C) Both
D) None

124) The Object Repository automation object model enables you to manipulate
QuickTest ....... object repositories and their contents from outside of QuickTest.
A) Shared
B) Local
C) Both
D) None

125) Before using the Object Repository automation object model to manipulate
shared object repository stored in Quality Center, you must download the shared
object repository and save it to the file system.
A) True
B) False

126) SetTOProperty changes the property values used to identify an object
during the test run. It also effects the values saved in the Object Repository for
the object.
A) True
B) False

127) After creating or editing an object repository XML file, it is recommended to
use the QuickTest ..........functionality to verify that your file conforms to the
QuickTest object repository schema.
A) Schema Verification
B) Schema Validation
C) XML Validation
D) XML Verification

128) To display the Comment in the Object Repository dialog box, you must use
the attribute name .........
A) miccommentproperty
B) commentproperty
C) mic_comment_property
D) None of above

129) ObjectRepositoryUtil Object Enables you to manipulate .....object
repository files from outside of QuickTest Professional.
A) Shared
B) Local
C) Both
D) None

130) You can use the Object Repository Merge Tool to merge objects from ......
A) two shared object repositories into a single shared object repository.
B) the local object repository of one or more actions or components into a
shared object repository.
C) Both A & B
D) None

131) GetTOProperty method returns the value of a specified property for a test
object from the Object Repository.
A) True
B) False

132) The new Object Repository Comparison Tool is accessible from the Object
Repository Manager. You can use this tool to identify the differences between
objects in ........
A) two specified shared object repository files.
B) a Shared and a Local object repository files.
C) either Shared or Local object repository files.
D) two specified Local object repository files.

133) You can use the objects and methods of the QuickTest .................... to write
scripts that automatically manipulate object repositories, instead of performing
these operations manually using the Object Repository Manager.
A) Automation object model
B) Object Repository automation object model
C) Object Repository model
D) Object Repository Script Object model

134) You must convert object repository files from QuickTest Professional 8.2.1
or earlier to the current format before you can use them in QuickTest
Professional 9.0 or later. Which method lets you do so.
A) Conversion method
B) Converge method
C) Convert method
D) None

135) You open the Object Repository window for a specific component by
choosing ..........
A) Resources > Object Repository
B) Tools > Object Repository
C) File > Object Repository
D) Help > Object Repository

136) In QTP 9 or above, Test objects can be stored in two types of object
A) a shared object repository and a Per-Action object repository.
B) a shared object repository and a local object repository.
C) a shared object repository and a Action object repository.
D) Both A & C

137) The Object Repository Manager enables you to open ...... shared object
repositories and modify them as needed
A) multiple
B) three
C) two
D) Seven

138) ........ Method Loads the specified object repository.
A) Overload
B) Load
C) Both A & B
D) None

139) An object repository that is currently open by another user is locked, is it
possible to merge a locked object repository.
A) Yes
B) No

140) You can manage the shared object repository associations of a selected
test using the ............
A) Associate Repositories dialog box
B) Object Repositories dialog box
C) Associate Repositories Manager dialog box
D) Object Repositories Manager dialog box

141) All changes you make to an object repository are automatically updated in
all components open on the same computer that use the object repository as
soon as you make the change—even if you have not yet saved the object
repository with your changes.
A) True
B) False

142) If you want to modify an object stored in a shared object repository, you can
modify it.......
A) using the Object Repository Manager
B) you can modify it locally using the Object Repository window.
C) Both A & B
D) None of above

143) ................ Returns an ObjectRepositories collection representing all object
repository files associated with the action.
A) Object Property
B) Automation Object Model
C) ObjectRepositories Property
D) OR Property

QTP Multiple Choice Questions - Set 11

101) A test comprises calls to actions. When you create a new test, it contains a
call to a ...... action.
A) One
B) Two
C) Three
D) Multiple

102) When you open a test, you can choose to view ......
A) the test flow (calls to actions)
B) you can view and edit the individual actions stored with your test.
C) Both A & B
D) None

103) For every action called in your test, QuickTest creates a corresponding
........ in the Data Table so that you can enter Data Table parameters that are
specific to that action only.
A) action sheet
B) Excel sheet
C) Both A & B
D) None

104) When you create a test, it includes ..... action.
A) Single
B) unlimited
C) Three
D) Multiple

105) There are three kinds of actions:
A) non-reuse action, reuse action, external action
B) Call to internal action, Call to reusable action, external action
C) non-reusable action, reusable action, external action
D) Call to non-reusable action, reusable action, external action

106) By default, new actions are
A) Short
B) External
C) reusable
D) non-reusable

107) You can display or hide the Action toolbar in the Keyword View by choosing
A) View > Toolbars > Action
B) View > Toolbars > Actions
C) View > Toolbar > Action
D) Views > Toolbars > Action

108) 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
A) Action Flow
B) Action file
C) Action List
D) Action Repository

109) In the ......., the Action List is always visible and the Expert View always
displays the script for the selected action.
A) Keyword View
B) Expert View
C) Action Flow
D) Action View

110) If the action is called more than once within the test flow or if the action is
called by a reusable action, the Reusable action option is ......
A) read-only
B) write-only
C) both read and write
D) read-write-executable.

111) You cannot expand ...... actions from the test flow view.
A) reusable
B) non-reusable
C) both A & B
D) None

112) You can associate shared object repositories with ...... actions
simultaneously, using the Associate Repositories dialog box
A) seven
B) Two
C) Three
D) Multiple

113) You can associate ....... object repositories with an action, and the same
object repository can be associated with different actions as needed
A) Nine
B) Twenty one
C) as many as you need
D) Twelve

114) Sometimes you may want to call an action from within an action. This is
called .......
A) Reusability
B) Nesting
C) Sharing
D) None

115) If a reusable action is called more than once in a test and you split the
action into two independent actions, each call to the action within the test will be
followed by a call to the new (reusable) action. If a reusable action is called from
another test, however, ...... it may cause the calling test to fail.
A) Nesting
B) Splitting
C) Reusing
D) Both A & C

116) You must use the ...... Action option in QuickTest if you want to save an
action under another name.
A) Resave
B) Rename
C) Reuse
D) Split

117) When you remove an external action, you remove all calls and the action
from the action list. The original action is also affected.
A) True
B) False

18) You can also press ...... to open the Rename Action dialog box
A) Shift + F2
B) Shift + F3
C) Shift + F4
D) Shift + F5

119) If you want to include one or more statements in every new action in your
test, you can create an ....
A) reusable action
B) split action
C) Function
D) action template

120) With QuickTest Professional 9.0, a maximum of .......... Actions can be
placed into a script
A) 110
B) 256
C) 120
D) 512

121) Only the file name ...... is recognized as an action template
A) ActionTemplate.mst
B) Action_Template.mst
C) Action-Template.mst
D) ActionTemplates.mst