You are on page 1of 4

Solve Any five 1. What is the Diff between Image check-point and Bit map Check point?

Image checkpoints enable you to check the properties of a Web image. You can che ck an area of a Web page or application as a bitmap. While creating a test or co mponent, you specify the area you want to check by selecting an object. You can check an entire object or any area within an object. Quick Test captures the spe cified object as a bitmap, and inserts a checkpoint in the test or component. Yo u can also choose to save only the selected area of the object with your test or component in order to save disk Space. For example, suppose you have a Web site that can display a map of a city the user specifies. The map has control keys f or zooming. You can record the new map that is displayed after one click on the control key that zooms in the map. Using the bitmap checkpoint, you can check th at the map zooms in correctly. You can create bitmap checkpoints for all support ed testing environments (as long as the appropriate add-ins are loaded). Note: T he results of bitmap checkpoints may be affected by factors such as operating sy stem, screen resolution, and color settings 2. What is Accessibility Checkpoint? World Wide Web Consortium (W3C) came up with some instructions and guidelines fo r Web-based technology and information systems to make it easy for the disabled to access the web. For example the standards make it mandatory to have an 'alt t ext' for an image. So a blind person who is accessing the website, will use text - to -speech converters and at least understand what the image is about if not see it. All these standards are checked by Accessibility Checkpoints. 3. What is Parameterizing Tests? Give Types of Parameterization When you test your application, you may want to check how it performs the same o perations with multiple sets of data. For example, suppose you want to check how your application responds to ten separate sets of data. You could record ten se parate tests, each with its own set of data. Alternatively, you can create a par ameterized test that runs ten times: each time the test runs, it uses a differen t set of data There are four types of parameters: 1. Test, action or component parameters 2. Data Table parameters 3. Environment variable parameters 4. Random number parameters 4. Explain the concept of object repository & how QTP recognizes objects? Object Repository: displays a tree of all objects in the current component or in the current action or entire test (depending on the object repository mode you selected). We can view or modify the test object description of any test object in the repository or to add new objects to the repository. Quicktest learns the default property values and determines in which test objec t class it fits. If it is not enough it adds assistive properties, one by one to the description until it has compiled the unique description. If no assistive p roperties are available, then it adds a special Ordinal identifier such as objec ts location on the page or in the source code.

5. What is Object spy? Why it is used? The Object Spy enables you to view both the run-time object methods and the test object methods associated with an object and to view the syntax for a selected method. You use the Object Spy pointer to point to an object. The Object Spy dis plays the object hierarchy tree and the run-time object methods or test object m ethods associated with the selected object in the Methods tab of the Object Spy dialog box. It is also use to check whether AUT (Application under test) can be automated or

not by QTP 6. What is Object Repository? Give types of Object Repositories and file ex tension used to store them. QuickTest identifies objects in your application based on a set of test object p roperties. It stores the object data it learns in the object repository. You can save your objects either in a shared object repository or in action object repo sitory. In shared object repository mode, you can use one object repository file for multiple tests or components. In object repository peraction mode, QuickTes t automatically creates an object repository file for each action in your test. Object repository per-action mode is not available for components There are two types of Object Repository files in QTP 1) Per-Action Repository file. The Extension of Per-Action is .mtr 2) Shared Repository file.The Extension of Shared is .tsr 7. Write down new features of QTP 11.0 Below are few of the most useful new features in QTP 11: 1. Test GUI and GUI-Less Application in one test. 2. The New HP Run Results Viewer is much improved over the previous one wit h pie charts and some interesting statistics. 3. Visual Relation Identifiers can now be used to identify objects based on objects near them. 4. QuickTest 11.00 provides Web Add-in Extensibility-based add-ins for ASP .NET 5. Ajax, GWT, Yahoo UI, and Dojo Web 2.0 toolkits. 6. New Silverlight Add-in 7. Record steps on Firefox 8. Identify a Web-based object based on an event associated with that objec t. 9. You can embed JavaScripts in all loaded browser pages and frames or to run JavaScripts in specific pages. 10. Syntax hints for regular expressions and Regular Expression Evaluato Solve any 10 questions 1. a) b) c) d) Answer: All check points are stored in . File. .bdb .tsr .mtr In Any Object Repository file. d

2. a) b) c) d) Answer

Which keyword used for switch between Tree View and Expert View ? Ctrl+Tab Ctrl+Shift Alt+Shift Alt + Tab : a

3. Where can you reset the add-in manager if it does not display when you l aunch QuickTestProfessional? a) General Options b) Run Options c) Test Properties d) Test Settings Answer: d 4. If you have multiple test cases that require you to test valid and inval id username and password combinations. Which parameter type should you use? a) Output

b) Input c) Random Number d) Environment Answer: b 5. How will you decide whether QuickTestProfessional supports automation of given application? a) By using learn objects b) By selecting correct add in and then using Object spy c) By record and Play back d) By descriptive programming Answer : b 6. The method that is not used the test while implementing Synchronization is a) Wait b) WaitProperty c) Sync d) Delay Answer : d 7. Which of the below View option is used to parameterize the actions? a) Keyword view b) Expert View c) Action view d) Data table Answer : a 8. Where can we find run time data table values of an executed script. a) Test folder b) Result folder c) Run time data table of result file d) Data table. Answer: c 9. How to merge local Object repository to shared Object Repository. a) Using Object Repository merge tool b) Using Object Repository manager. c) Associate the shared repository with the action with whom you want to me rge local Object repository and then export all to the shared Object repository. d) We can t merge Local and shared object Repository Answer: c 10. A QuickTestProfessional user can increase or decrease the active screen information saved with the test. a) True b) False Answer : a 11. Which of the following statement is True: QuickTestProfessional enables you to a) Open and work on one test at a time b) Open and work on two tests at a time c) Open and work on predefined number of tests at a time d) Open and work on nine test at a time Answer : a 12. a) b) c) d) Answer 13. There are .........object type filters in Object spy dialog box. Two Three Four Five : a We can import and export object repositories from and to .... files.

a) b) c) d) Answer

XML MTS TSR XLS : a

You might also like