You are on page 1of 19

1 1. What is the purpose of loading an Add-In? a) To help the performance of QuickTest Professional when it runs.

b) To restore the layout of the QuickTest window so that it displays the panes in their default sizes and positions. c) To enable QuickTest Professional to recognize objects in an AUTs development environment. d) Both b and c 2. What is the most appropriate Record and Run setting when you expect that the Windows application will be already running on the desktop when the test starts? a) Record and Run test on any open Windows-based application. b) Record and Run on these applications (opened on session start). c) None of the above. d) Both of the above. 3. What access permissions do the test and tester needs to have? a) Database. b) Host systems. c) Input/Output data. d) All of the above. 5. Which application must be started first in order to ensure that QTP will be able to start to automate testing? a) The application under test. b) QuickTest Professional. c) Neither of the above. d)Host Systems 6. When outlining your test steps, what principle is important to implement so a test can be re-used any number of times? a) Load the appropriate Add-In. b) Have all required applications running on the desktop. c) Set initial and end conditions as part of the test. d)None 7. How can you tell that QTP is in the Record mode? a) The Keyword View changes. b) The word Recording flashes in the lower right corner of the interface.

2 c) There is no indication. d)None 8. Which tool is available to help analyze the outcome of a test run? a) The Active Screen. b) The Global data table. c) The test results. d) The Record and Run settings.

9. Which of the following would represent a QTP object class? a) Test b) Data entry c) Drop-down List d)None 10. To change the logical name of an object recorded by QuickTest, which step should you take first? a) View the test results b) Right-click on the object in the Keyword View and select Object Repository c) View the documentation field in the Keyword View d)None 11. Which icon on the QTP toolbar represents the Object Spy? a) The man b) The bulls eye c) The paper and glasses d) None of the above

12. What is the function of a synchronization point? a) To update test data b) To give more time for an object to process before moving onto the next step c) To set an environment variable for an object d)None 13. What is the default time QuickTest waits for a step to process? a) 2 minutes b) 20 seconds c) 2 milliseconds d)None

14. What operation in the Flight AUT might require synchronization? a) Entering the passenger name b) Deleting an order c) Inserting an order d) Selecting the business class

15. How long will QTP wait if: synchronization timeout is set to 10 seconds and the global timeout is set to 40 seconds, but the actual time for the object to be recognized is 25 seconds: a) 10 b) 40 c) 50 d) None of the above 16. What is a standard checkpoint? a) A mechanism to check the property of an object b) An add-in c) An object type d) All of the above 17. How do you know a checkpoint has been used in a test? a) A check mark appears next to the step in the test results. b) The operation field of the keyword view lists the operation as Check. c) A checkmark appears at each level of the test results tree. d) All of the above. 18. QuickTest verify only aspects of the application that are visible to the user? a)True b)False _______________________________________________________________ 19. What do Regular Expressions allow you to do? a) Set an object property. b) Define a checkpoint that can accept a range of values. c) Checks that all add-ins are installed. d)Both a and b

20. Which best describes the purpose of an input parameter? a) A way to create a parameter standard b) A way to set a constant parameter value c) A way to drive a variety of data values through a test d) None of the above 21. Where can the result of an output parameter be found? a) In the design-time data table b) In the run-time data table c) In the .usr file d) None of the above

22. How can a checkpoint be made flexible? a) Use the Object Properties dialog b) Create and insert a regular expression c) Input data to the parameter using the design-time table d)None

23. Which type of action can be called from the other test? a) Reusable action b) Regular (non-reusable) action c) External action d)All of the above 24. Where would you set action iterations for a specified action? a) Action Run Settings b) Action Properties c) Action Call Properties d)None 25. Which of the following is created (as a default) with any new action? a) Object repository b) Local data sheet c) Folder d) All of the above

5 26. What is the benefit of the Step Generator feature? a) Captures steps that otherwise cannot be captured. b) Automatically predicts steps for a test. c) Neither of the above. d) Both of the above. 27. Which Step Generator field is optional, depending on the object and operation? a) Category. b) Value/Argument. c) Documented steps. d)None 28. The Report Event feature can be inserted using which of the following? a) Insert >Step. b) Step Generator - Utility. c) None of the above. d) Both of the above. 29. In order for the ElseIf to be available in the Step list, what must be done? a) The object repository must be created. b) Save and run the test. c) The If step must exist and be highlighted. d) All of the above. 30. What was one application usage difference in the Web AUT as compared to the Windows AUT? a) More screens b) More steps to complete a manual test for a new order c) Different login processes d) All of the above 31. What did you do to use the load add-in for this application? a) Restart the Mercury Tours application b) Restart QuickTest to get the Add-In Manager dialog c) Neither of the above d) Both of the above 32. Which of the available recovery scenario options must be configured before the

6 system can recognize that a problem exists? a) The record and run settings b) The recovery operation c) The event trigger d)None

33.Which of the object s properties QTP use for the Logical names? a. Attached text b.Label c.Class d.Either a or b 34.Atool used to determine object Properties and values of an object is a.Object Spy 2.Object Repository 3.Object Repository Manager 4.Object Identification

35.The ______________ view enables you to create and view the steps of your test in a keyword driven,modular,table format. a.Keyword b.Expert c.Tree d.None 36.The _________________ provides a snap shot of your Application as it appears when you performed a certain step during a Recording session. a.Active Screen b.Data Table c.Debug Viewer d.None

37.Use low-level recording mode,when you want to Record. a.Mouse movements b.when an object is not recognized by Qtp c.mouse Actions d.None of the Above 38.We can edit Analog Recording steps from within Quick test. a.True

7 b.False 39.Steps recorded using Low-level Recording mode may not run correctly on all objects. a.True b.False 40.QTP captures active screen images when recording in Analog mode a.True b.False 41.When you record in Analog recording mode, the statement added to your test is___________ a.Run Analog b.System util c.Function d.None 42.You can retrieve values from your test and store them in the Data table using a.Output value b.Add Object c.Standard checkpoint d.Step Generator. 43.What is the file extension for Recovery Scenario file? a. *.mts b.*.qrs c.*.vbs d.None of the above 44.Reasons for using Checkpoints a.To confirm that the tests actions produce intended results b.Default values need to be consistent c.The results should adhere to company business rules d.All of the above. 45.You can add checkpoints through a.Insert menu b.Active Screen c.Keyword view d.All of the above 46.To compare bitmap images, checkpoints used is a.standard checkpoint b.Database checkpoint c.Bitmap checkpoint d.All of the above

47.Script generated in the Expert view is a.VBScript b.TSL c.C d.None

48.Types of events handled using QTP are a.Pop-up b.Test run error c.Object state d.All of the above 49.A reusable action can be a.Called from another action b.can be copied c.both a & b d.None of the above

50.A regular action can be a.Called from another action b.can be copied c.both a & b d.None of the above 51.when you call or copy an action, Parameters and data are reflected into the calling test. a.True b.False 52.Default Object timeout in QTP is a.10 sec b.20 sec c.5 sec d.none of the above 53.Synchronization point can be inserted using menu options after recording. a.True b.False 54.checkpoints can be added only during recording a.True

9 b.False 55.Synchronization points a.wait until a state of the object change appears b.Timeout is reached c.Both of the above d.None of the above 56.To create a database checkpoints a.Must have MS Query install for wizard b.Must have a DSN setup to select DB c.Wizard specifies tables/columns to be checked d.All of the above 57.How QTP recognizes objects in AUT? a.class b.Properties c.Logical name d.All of the above

60.Which is the Default Object Repository mode used in QTP a.Shared mode b.Per-action mode c.Both a& b d.None of the above 61.If an Objects name changes Dynamically,How can we handle this? a.Object spy b.Regular Expression c.Object Repository d.None 62.To which environment does QTP supports? a.Java/J2EE b.Siebel c.SAP d.All of the above. 63.You can Insert a breakpoint by a.Clicking in the Left margin at the Point where u want to insert a Breakpoint. b.Selecting the step and Pressing F9 c.Choosing Debug>Insert/ Remove Breakpoint. d.All of the above.

10 64.A verification Point that compares a current value for a specified Property with the expected value for that property is called as___________ a.Checkpoint b.Regular expression c.Parameter d.None 65. Among below given columns of the Keyword View , which is not the part of columns? a) Item b) Operation c) value d) Parameter 66. which is not the check point in QTP? a) Database b) HTML c) Text Area d) Accessibility

67. What are the default Addins in QTP? a) Visual Basic, Web, ActiveX b) Java, Web, ActiveX c) Visual Basic, Net, ActiveX d) Visual Basic, Web, Unix

68. Which recording mode is disabled by default in QTP? a) Context Sensitive and Analog b) Analog and Low level c) Context Sensitive and Low level d) None of them

69. What is the shortcut for Analog Recording in QTP? a) F3 b) Ctrl+F3 c) Alt+Shift+F3 d) Ctrl+Shift+F4

11

70. Which is the default Action in QTP? a) Action b) Action 0 c) Action 1 d) None of them

71. Run Time Data Table is always visible in the summary of Result in QTP? a) True b) False

72. When Actions are called, Modifications in Actions are possible in which options of QTP? a) Call to Copy of Actions b) Call to existing Action c)Both a and b d) None of them

73. To make an Action Reusable, This option is present in which dialog window? a) Action Properties b) Action Call Properties c)Both a and b d) None of them

74. What are the different types of Run-Modes are there in QTP? a) Context Sensitive and Analog b) Normal and Fast c)Both a and b d) None of them

75. Synchronization is available both During the Recording and After the Recording in QTP? a) True b) False

12

76. Which among the given below items provides a snapshot of your application as it appeared when you performed a certain step during the recording session.? a) Test Pane b) Active Screen c) Result Window d) None of them

77. The iteration summary table indicates which iterations passed and which failed. a) True b) False

78. The status summary table indicates the number of checkpoints or reports that passed, failed, and raised warnings during the test a) True b) False

79.we use low-level recording mode,when we want to Record. a.Mouse movements b.when an object is not recognized by Qtp c.mouse Actions d.None of the Above

80. What is the use of Object Spy? a) To view the properties of an object b) To add the properties of an object c)Both a and b d) None of the Above

81. Fill in the blank: The ________________dialog box contains the set of object properties and values that make up the test object description of a selected object. a)Object Repository

13 b)value configuration options c)Both a and b d)None 82. The column which is not available in the keyword view is: a. Item b.Operation c.Value d.Property 83. The Test Results window contains a. Test Results Tree b. Test Result Details c.Both a and b d.None 84.When you create a checkpoint ,QTP creates a. Checkpoint name b. Checked Value c. Both a and b d. None

85.You can add Standard checkpoints by a. Using Active screen b.Right clicking on Keyword view c.Using Insert Menu d. All the above 86. To Parameterize the Data, Click on Parameterization Icon available in the _________ column of the Keyword View. a.Item b.Operation c.Value d.None 87. Using Output values we can a. Insert different data into each iteration of a test run. b.Retrieve data from your application and output it to the Data Table. c.Both a and b d.None 88.You can create a output value using

14 a. Using Active screen b.Right clicking on Keyword view c.Using Insert Menu d. All the above 89.Output value configuration can be modified using a. Output Value Properties dialog box. b. Checkpoint properties dialog box. c.Both a and b d.None 90.The parameter types available in the Parameter Options dialog box . a.Datatable b.Environment c.Random Number d.All the above 91.In the Result window if the checkpoint is marked Green, it indicates a.Checkpoint is Passed. b.Checkpoint is Failed c.Checkpoint is not Valid d.None of the above

92. To increase the flexibility and adaptability of your tests use a. Regular Expressions b. Data Table c.Checkpoints d.None of the above 93. can use regular expressions a. when defining the properties of an object b. the methods of an argument c. when creating checkpoints with varying values. d.All of the above 94.The Reusable blue color arrow marks with the action indicates that the action is a. Reusable b.External c.Regular d.None 95. When you insert a call to a copy of an existing action a. you can make changes to the copied action b.You cannot make changes to the copied action

15 c. Both a and b d. None of the above. 96. When you insert a call to a copy of an existing action, you can make changes to the copied action, and a. your changes will neither affect, nor be affected by,any other tests b. your changes will be affected by other tests c.Both a and b d. None 97. When you insert a call to an existing action a. you can make changes to the copied action b.You cannot make changes to the copied action c. Both a and b d. None of the above. 98. What type of work organizations can do by using QuickTest Professional?
a) b) c) d)

Verify the functionality of integrated, multi-environment enterprise solutions Minimize the time and effort required to develop a powerful test suite Integrate with WinRunner, LoadRunner, and TestDirector All of the above

99. Which Core Environments can be supported by QuickTest Professional? a) Windows applications (MFC) b) Visual Basic c) Java & ActiveX d) All of the above

100. Which Enterprise Applications is not supported by QuickTest Professional? a) SAP and Oracle b) Siebel and People Soft c) All of the above d) Only b) 101. Why initial and end conditions are necessary while creating tests?

16 a) to ensure test case independence b) to ensure the ability to successfully iterate a single test to through several sets of data c) both a) and b) d) None of them 102. Which element is not the part of test steps? a) Object b) Method c) Property d) Active screen 103. Which is the best practice to hold the results while debugging your tests? a) New Run Result folder b) Temporary folder c) Desktop d) All of the above 104. What does the yellow arrow in the left margin of the keyword view points-out? a) The step currently running b) The step with checkpoint c) The step with a break point d) The Optional step 105. What will happen if you resize or move the QTP window? a) It will not impact the recording. b) It will impact the recording c) It will not impact the recording, but will impact the run d) None of them 106. Which is the not standard Object Class? a) Pixel b) Button c) Graphic image d) Edit box 107. What are the default set of properties that are always learnt by QTP? a) Class and attached text b) Height & width c) Enabled & Focused

17 d) Abs_x & Abs_y 108.Why the object Spy tool is used? a) To determine the unknown object properties only b) To determine the unknown object properties and their values during runtime c) None of them d) Both a and b 109.Synchronization is available: a) During recording b) After Recording c) Both a & b d) Only b 110. Why Checkpoints are used? a) To verify the state of an object b) To confirm that an application performs as expected c) Both a & b d) None of them 111.Checkpoints can be used for: a) The objects and their properties which are visible on the screen only b) The objects and their properties which are not even visible on the screen c) None of the above d) Both a and b
112. What is the extention of the data table that can be used in your test? a) .xls b) .doc. c) Txt d) All of the above 113. What is parameterization? a) to remove a data from the test itself and put into the data table. b) to replace the hardcoded value with the parameter c) The parameter is associated with the column of the same name in the data table. d) All of the above

114.The Data Table contains one Global tab plus an additional tab for each action. a)True b)False 115.Low level Recording and Analog Recording are enabled only after default recording. a)True b)False 116.we can view Vbscript in a)Expert view

18 b)Keyword view c)Tree view d)All of the above 117.We can create Multiple Actions using QTP a)True b)False 118.What mode would you use to record free hand Drawing a)Context sensitive b)Analog c)Low level d)None 119.What mode would you use to Record data entry a)Context sensitive b)Analog c)Low level d)None 120.Tracability Matrix gives a) Test coverage b) Mapping of test cases to Requirements c) Mapping Automation Tool d) Both a) & b) 121. Change Request is a work product which contains a) Changes made to the Requirements of application. b) Changes given to phases of testing c) Changes given Audits d) Changes to roles 122. Test Director is a) Functionality Testing Tool b) Load Testing Tool c) Test Management Tool d) Memory Testing Tool 123. Rational Purifier is a) Functionality Testing Tool b) Memory Testing Tool c) Load Testing Tool d) Test Management Tool 124. QTP uses a) VB Script b) Test Script Language c) J Script

19 d) Both a) & c) 125. QTP is best suitable for a) ASAP Testing b) Manual Testing c) Regression Testing d) Static Testing

You might also like