1. What is the default Identifier?
A. The Location.
B. The Object Id.
C. The Native Class.
D. The Index Number.
2. Which of the following is an example of missing resource?
A. An Object
B. Run Results.
C. A Regular Action.
D. An External Action.
3. What are the available Environment Types?
A. Built-In
B. User-defined.
C. User-Function.
D. Built-In, User-Defined.
E. Built-In, User-Function.
4. How can you retrieve the number of items in the list of Web List object?
A. GetList.
B. GetItem.
C. GetItems Count.
D. GetROProperty.
5. What method is used to send run-time Data sheet to an excel sheet?
A. Send
B. Export
C. Sendsheet.
D. ExportSheet.
6. What does the GetROProperty method do?
A. Retrieves the value of a property from the test object.
B. Retrieves the available properties from a test object.
C. Retrieves the value of a property from a run time object.
D. Retrieves the available properties from a run time object.
7. What is the first thing that must be defined in a Recovery Scenario?
A. Trigger.
B. Recovery Operation.
C. Recovery Scenario Name.
D. The function used in the Scenario.
8. What does the source property of a database checkpoint object represent?
A. The SQL Query
B. The Identification number of the database.
C. The number of rows returned from the query.
D. The connectionstring used to connect to the database.
9. If a Procedure is defined in a test script, that procedure is accessible to which test/scripts?
A. Only to other procedures
B. It is not usable to any test scripts.
C. The test script in which it is defined.
D. Using the Step Generator, it is available to any test script.
10. Where do you set the action iterations for a specified action?
A. Action Settings
B. Action Properties.
C. Action Run Settings.
D. Action Call Properties.11. How do you know if Smart Identification has been used in a test?
A. The Smart Identification icon appears in the test results.
B. The test results will show a run error, causing a test failure.
C. The Properties used by the object repository will be changed.
D. The object repository will show the Smart Identification Icon.
12. By default, how does Quick Test pass arguments to the procedure?
A. ByVal
B. ByRef
C. ByArg
D. ByRes
13. What looping statments are available in Quick Test?
A. Whileend, Doloop, Ifthen
B. Switchcase,ifthen, Fortext
C. Fortext, Whileend, Doloop.
D. Fortext, Doloop, Switchcase.
14. When does a Do loop statement evaluate for continuation?
A. At the end of the loop
B. At the start of the loop
C. At the Start or the end of the loop
D. This loop used a counter variable.
15. Where do you turn Smart Identification IN?
A. The Object Repository.
B. The Test Settings dialog.
C. The General Options dialog.
D. The object Identification dialog.
16. What are test object properties?
A. Those properties as defined in a description object.
B. Those properties as defined in Object identificaton.
C. Thos properties displayed by an object at run-time.
D. Those properties used in the object repository for object identification.
17. What are the two most commanly used ADO objects?
A. Fields
B. Execute
C. Connection, RecordSet
D. Open, ConnectionString
18. What is the function of Object Repository Manager?
A. Assign Variable names to the test objects
B. View/make/modify a Local Object Repository
C. View/make/modify a Shared Object Repository
D. Define new test objects using programmatic descriptions.
19. Which method for that Data utility object will allow you to retrieve information from the Data Table during a test run?
A. Value
B. Import
C. GetCell
D. GetValue
20. When a procedure is created in the Function Library editor, what is the extension on the file?
A. .INI
B. .TXT
C. .QFL
D. .VBS21. Where do you mark an action as reusable?
A. Action Settings
B. Action Properties
C. Action Run Settings
D. Action Call Properties
22. What is the keyword used to define how the counter variable in a or next loop increments?
A. ++
B. Next
C. Skip
D.Step
23. What does the ChildObjects method return?
A. A Collection object
B. A String True/False
C. A Boolean True/False
D. The number of objects matching the ChildObject description.
24. What are the available trigger event types?
A. Pop-up window, Object state, VBScript
B. Object State , VBScript event, Application crash
C. Pop-up window, object state, test run error, QTP crash
D. Pop-up window, object state, test run error, application crash.
25. What information can be seen in the information pane?
A. Syntax errors
B. The test name and author
C. The QTP license information.
D. The machine ID and operating system.
26. What are the available step commands in Quick Test?
A. Step.Step Into,Step Out
B. Step Into, Step Over, Step Out
C. Step Test, Step Action, Step Function
D. Run from Step, Debug from Step, Run from Step.
27. What are the categories in Step Generator?
A. Object, Operation, Value
B. Library, Built-in. Local Script.
C. Operation, Arguments, Return Value.
D. Test objects, Utility Objects, Functions
28. Where do you configure an action to use a shared object repository?
A. Test Settings
B. Action Settings
C. Action Call properties
D. Associate Repositories.
29. What options are available to filter objects in the Target Object Repository pane when mergind object
repositories?
A. Show all objects or show only objects with conflicting object types
B. Show all objects or show only objects with conflicting descriptions.
C. Show only objects with conflicting logical names or show only objects with conflicting object types.
D. Show only objects with conflicting logical names or show only objects with conflicting
descriptions.
30. What does a break point do?
A. Stops test execution at the specified step, after executing that step
B. Stops test execution at the specified step, before executing that step.
C. Pauses test execution at the specified step, after executing that step
D. Pauses test execution at the specified step, before executing that step.Software Testing (2nd Edition)
Hi Ashish,
ReplyDeleteIf i am not wrong, GetROPrpoerty method
C. Retrieves the value of a property from a run time object.
not the Test object's. Please clarify me. My mail id is adhikari.monica@gmail.com
Hi Monica,
ReplyDeleteYou are right, I have updated the answer.
Thanks,
Ashish