Pages

Monday, November 12, 2012

QTP Questions and Answers - 8


Q. 141: If it is important for you to save the resulting data from the run-time Data Table, you can insert a __ statement to the end of your test to export the run-time Data Table to a file.
A. Export.Datatable 
B. DataTable_Export 
C. DataTable.Export 
D. Both A & B

Q. 142: When you parameterize a step in a test using the Data Table, you must decide whether you want to make it a global Data Table parameter or an action Data Table parameter.
A. True 
B. False

Q. 143: After running a parameterized test, you can view the actual values taken from the Data Table in the Test Results Run-Time Data Table.
A. True
B. False

Q. 144: The _________ property - returns the design-time Data Table, which enables you to modify the data that is used for the Data Table parameters in your test or business component.
A. DataTable 
B. DesignTable 
C. Design_Table 
D. None

Q. 145: The Data Table assists you in parameterizing your test.
A. True 
B. False

Q. 146: You can parameterize values ___________ in your test.
A. In Steps 
B. In Checkpoints 
C. Of Action Parameters 
D. Both A & B 
E. All of above

Q. 147: You can parameterize values in steps and checkpoints while _________ your test.
A. Recording 
B. Editing 
C. Both A & B

Q. 148: There are four types of parameters: Test/Action, Random number, Environment Variable, Regular Expression.
A. True 
B. False

Q. 149: While using Test and Action Input Parameters, you can enter the parameter name in the Expert View using the Parameter utility object, in the format: ______________for the current action.
A. Parameter("ParameterName": 
B. ParameterName("Parameter":
C. Parameter("Parameter-Name": 
D. Parameter("Parameter_Name":

Q. 150: The _____________ parameters are available only for top-level actions.
A. Action 
B. Environment Variable
C. Test 
D. None

Q. 151: Only the file name _________ is recognized as an action template
A. ActionTemplate.mst 
B. Action_Template.mst
C. Action-Template.mst
D. ActionTemplates.mst

Q. 152: You can import and export object repositories from and to __________files.
A. XML
B. MTS
C. TSR 
D. XLS

Q. 153: 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

Q. 154: 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

Q. 155: 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

Q. 156: 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

Q. 157: 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

 Q. 158: 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

Q. 159: ObjectRepositoryUtil Object enables you to manipulate _________ object repository files from outside of QuickTest Professional.
A. Shared
B. Local 
C. Both
D. None

Q. 160: 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

No comments:

Post a Comment