Pages

Showing posts with label QTP Questions and Answers. Show all posts
Showing posts with label QTP Questions and Answers. Show all posts

Sunday, October 19, 2014

Quick Test Professional (QTP) - Object Repository Modes

There are two types of object repositories or rather the object repository modes

Pre-Action versus Shared Object Repository


Monday, November 12, 2012

QTP Questions and Answers - 4

Q. 61: In the Object Repository window.
A. Local objects are editable (black)
B. Shared objects are in read-only format (gray)
C. Local objects are in read-only format (gray)
D. Shared objects are editable (black)

Q. 62: Mark the true statement
A. You can delete objects from a shared object repository using the Object Repository window.
B. You can delete objects from the local object repository using the Object Repository Manager
C. You can delete objects from the local object repository using the Object Repository window
D. You can delete objects from a shared object repository using the Object Repository Manager

Q. 63: You can modify an object stored in a shared object repository.
A. Using the Object Repository Manager
B. Using the Object Repository window
C. You can copy it to the local object repository and then modify its properties
D. You cannot modify properties of objects stored in Shared object repository

Q. 64: If an object is contained in both local and shared repositories then, during a run session.
A. QuickTest will use the object in the local object repository
B. QuickTest will use the object in the Shared object repository
C. There will be a conflict
D. QuickTest will use Descriptive Programming

Q. 65: When you copy an object to the local object repository
A. Its parent objects are also copied to the local object repository
B. Its parent objects are not copied to the local object repository
C. You have to manually copy its parent objects are also copied to the local object repository
D. You have to manually drag and drop its parent objects

Q. 66: For tests, you can also view test object properties and property values for objects in the Active Screen, regardless of whether the objects are stored in the object repository.
A. True
B. False

Q. 67: Object Properties window differs for objects stored in Shared and Local object repository.
A. True
B. False 

Q. 68: You can rename objects in the shared object repository using the Object Repository Manager
A. True
B. False, you cannot rename objects in shared object repository

Q. 69: When you modify the name of an object in the local object repository, the name is automatically updated in ___________ for all occurrences of the object.
A. in the Keyword View 
B. in the Expert View 
C. Both Keyword and Expert View
D. Changing name of an object does not affect keyword or expert view

Q. 70: When you modify the name of an object in a shared repository, the name is automatically updated in all tests 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

Q. 71: 'Browser navigation timeout' is in which tab of Test Settings (File->Settings) window.
A. Properties 
B. Resources 
C. Web
D. Web Settings

Q. 72: How many tabs are there in Test Settings (File->Settings) window?
A. 7
B. 6
C. 5
D. 8

Q. 73: Identify the tabs in the Test Settings (File->Settings) window
A. Properties, Run, Resources, Parameters, Environment, Web, Recovery
B. Properties, Run, Resources, Parameters, Environment, Web Settings, Recovery
C. Properties, Run Options, Resources, Parameters, Environment, Web, Recovery
D. Properties, Run, Resources, Input Parameters, Environment, Web, Recovery

Q. 74: 'Generate Script' is in which tab of Test Settings (File->Settings) window
A. Properties
B. Web 
C. Resources
D. Recovery

Q. 75: The following are the four main columns in the Keyword view
A. Item, Operation, Value, Comments
B. Item, Operation, Value, Documentation
C. Item, Operation, Property, Documentation
D. Number, Operation, Value, Documentation

Q. 76: For each object and method in an Expert View statement, a corresponding row exists in the Keyword View.
A. True
B. False 
C. There is a problem with the statement.
D. None of above

Q. 77: You can work on one or several function libraries at the same time.
A. True
B. False

Q. 78: You can insert additional steps on the test objects captured in the Active screen after the recording session.
A. True
B. False

Q. 79: The Active Screen enables you to parameterize object values and insert checkpoints
A. True
B. False

Q. 80: A QTP user can increase or decrease the active screen information saved with the test.
A. True
B. False

Sunday, November 11, 2012

QTP Questions and Answers - 1

Q. 1: You can manage the test actions and the test or function library steps using the __menu commands
A. File
B. Edit
C. Automation
D. Tools

Q. 2: To expand all the steps in the keyword view which option you would use from the View menu.
A. Expand
B. Expand All
C. Expand Items
D. Expand Rows

Q. 3: What is the shortcut key to open a Step Generator?
A. F2
B. F5
C. F6
D. F7

Q. 4: Function Definition Generator in found in which menu option.
A. File
B. Tools
C. Insert
D. View

Q. 5: The shortcut keys for Record, Stop and Run respectively are
A. F3, F4, F5
B. F4, F3, F5
C. F4, F5, F3
D. F3, F5, F4

Q. 6: What is the shortcut key for opening an Object Repository?
A. Alt+R
B. Shift+R
C. Ctrl+R
D. Shift+O+R

Q. 7: Shortcut key to Insert/Remove a break-point is
A. F9
B. F8
C. Ctrl+b
D. Shift+b

Q. 8: The __________ runs only the current line of the script. If the current line calls a method, the method is displayed in the view but is not performed.
A. Step over
B. Step out
C. Step into
D. Step Till

Q. 9: The ________ runs only the current line of the script. When the current line calls a method, the method is performed in its entirety, but is not displayed in the view.
A. Step Over
B. Step Out
C. Step Into
D. Step Till

Q. 10: What is the shortcut key to clear all Breakpoints?
A. Ctrl+Shift+F9
B. Shift+Ctrl+F9 
C. Alt+Shift+F9
D. Alt+Ctrl+F9


Q. 11: Using the Object Spy, you can view
A. The run-time or test object properties and methods of any object in an open application.
B. The run-time or test object properties of any object in an open application.
C. The test object properties and methods of any object in an open application.
D. The run-time object properties and methods of any object in an open application.

Q. 12: There are ________ object type filters in Object spy dialog box.
A. Two
B. Three
C. Four
D. Five

Q. 13: In the Object Spy window, in the Properties Tab
A. Copying of Properties and its values is possible with CTRL+C
B. Copying of Properties and its values is possible by right clicking on it and choosing copy.
C. Copying of Properties and its values is possible with both A. and B. methods
D. Copying of Properties and its values is possible is not possible

Q. 14: In the Object Spy window, in the methods Tab
A. Copying of Methods is possible with CTRL+C
B. Copying of Methods is possible by right clicking on it and choosing copy.
C. Copying of Methods is possible with both A. and B. methods
D. Copying of Methods is possible is not possible

Q. 15: Object Spy dialog box
A. Can be resized
B. Cannot be resized

Q. 16: The ___________ are the highest level of the test hierarchy in the Keyword view.
A. Tests
B. Steps
C. Call to Actions
D. Actions

Q. 17: You can copy and paste or drag and drop actions to move them to a different location within a test
A. True
B. False

Q. 18: You can print the contents of the Keyword View to your Windows default printer (and even preview the contents prior to printing).
A. True
B. False

Q. 19: In the Keyword View, you can also view properties for items such as checkpoints.
A. True
B. False

Q. 20: In the step Browser > Page > Edit > Set "Genius", identify container object(s)
A. Browser
B. Edit
C. Page
D. Both Browser & Page


QTP Certification procedure

HP0-M47 certification: HP Functional Testing 11.x




Before we proceed, we need to know what HP0-M47 certification is. It’s a QTP v11 certification provided by HP for Testers who are interested in getting certified in the fields of Automation testing using QTP v11.

This is a technical certification that validates the candidate's understanding of the test automation workflow and tasks, and the ability to automate basic tests to attain repeatable test implementation and maintenance.

The exam is intended for Testers, Automation Engineers, Services Specialists and technical personnel who will implement test automation by creating, enhancing and running tests and analysing run results with HP Functional Testing 11.x. It is assumed that they will work in QA teams under the supervision of a senior consultant. It proves that you have good technical knowledge of how to use the HP Functional Testing software in order to deliver high quality business application.

The HP0-M47 is the basic level QTP certification. HP also offers advanced level which is HP0-M98. In order to get certified in QTP v11, you have to complete two certifications i.e. HP0-M47 & HP0-M46.

The cost for HP0-M47 & HP0-46 is 100$ each.


Additional important information:

  • You can change the examination date but you cannot make change if you’re within 24hrs time.
  • In case one fails then he can re-appear again as per his convenience. But after 2 unsuccessful attempts you can again re-appear only after 30/60 day period.
  • After clearing, the certificate will be available online at HP login site.
  • You need to carry Xerox copy of 2 identity proof.
  • The exams are divided into 11 blocks. Each block has some set of questions (not more than 5-6 questions in each). Once you pass a block, you won’t be able to come back and make changes in your selections. So you have to be very sure in your selections.
  • The result are declared there itself, you’ll get a copy of your result.

Minimum qualifications
To pass this exam, it is recommended that you have at least three months experience with HP Functional Testing 11.x Software. Exams are based on an assumed level of industry-standard knowledge that may be gained from the training, hands-on experience, or other pre-requisite events.

Exam details 
The following are details about this exam: Number of items: 72 Item types: multiple choice, drag-and-drop, and point and click Exam time: 105 minutes Passing score: 75% Reference material: No on-line or hard copy reference material will be allowed at the testing site.

Exam content



10%
Automated test planning
• Plan for general testing and automation.
• Plan for QTP testing.
• Identify and describe features and settings.
• Explain QTP licensing and packaging.


19%
Basic test creation and how QTP works with objects
• Create the basic test.
• Explain how QTP works with objects.
• Add steps without recording.
• Explain the purpose and operation of Smart Identification feature



24%
Basic test verification and enhancement
• Add standard and custom verification points.
• Enhance tests with parameters.
• Add custom checkpoints.
• Add database checkpoints.
• Add bitmap checkpoints.
• View test results.

11%
Modular automated test builds
•Explain how to build modular QTP tests with Actions.
•Use a Shared Object Repository.

7%
QTP and ALM integration
•Explain the QTP/ALM connection.
•Define ALM management of QTP resources.
•Explain versioning features in QTP


10%
Automated test troubleshooting
•Troubleshoot Object Recognition problems.
•Use Recovery scenarios.
•Use the Debugging Tool.
•Measure System Performance.
•Configure log tracking

4%
Advanced QTP Scripting
• Import and export Excel sheets.
• Get and set object properties.
• Identify descriptive programming to bypass repository.

7%
Expert View
• Describe Expert View features.
• Describe dynamic object programming.
• Identify and describe VBScript elements.

8%
Web applications
• Recognize Web Add-in Extensibility.
• Describe Web event recording use and configuration.
• Identify new web testing capabilities.


Study references

HP QuickTest Professional 11.0 User Guide
Chapters 1 and 8
Chapter 4, Pages 174-175
Chapter 7, Pages 292-298
Chapter 9, Pages 338-349
Chapter 12, Pages 463-475
Chapter 17, Pages 620-635
Chapter 31, Page 1092
Chapter 32, Pages 1170-1173
Chapter 34, Page 1251
Chapter 35, Pages 1299-1300
Chapter 46, Pages 1461-1463
Chapter 48, Pages 1513-1517
Chapter 52 Pages 1605-1617 and 1635-1640 Chapter 55, Pages 1695-1699
HP QuickTest Professional Add-ins Guide
Chapter 38, Pages 623-631, 659-660 and 665-667 
Chapter 39, Pages 675-683
HP QuickTest Professional Web Add-in Extensibility 11.0 Developer Guide Pages 16, 17, and 43
HP Software BTO Price Guide

Study reference doc




Follow my site for support. Click on above links to view the reference documents.


How to start for this certification.
0

1. Click on below link to learn more about the certification

Basic level



Advance level
QTP v11         : HP ASE - Functional Testing v11

2. For India customer support
+91 99100 68885    (New Delhi) 
+91 98475 99822 
+91 080 2504 1841 
+91 98441 28317 
+91 080 2504 1862 (Bangalore) 
+91 98203 33050    (Mumbai) 
+91 98496 58910    (Hyderabad) 
+91 98411 91472    (Chennai)

For other countries please click here


3. Before you apply for certification you first need to create you HP Learner ID. You need to do the registration which is free. Once the registration is done, you’ll receive your HP Learner ID in 3-5 working days through the mail you registered.
Make sure the registration details are the same as you want in your certificate to be printed.
Click below link for registration

Get started - for customers
Get started - for partners
Get started - for students


4. Click on Create your account if new user or Update your account for existing one

5. After clicking on “Create your account” link, you’ll be asked certain questions. Fill those and click on “Submit Registration” button.

6. Once you receive your HP Learner ID you can click on below link to create your PEARSON profile
Here click on Create Profile and then on Continue button.

7. After submission you should be able to login to PEARSON. After login, simply click on “Purchase Web-Based Exams” link in the right side of the page.

8. Click on “View Proctored Exam” and then select “HP Functional Testing 11.x Software”.

9. Select the date and the vendor based on your location. Make payment and you’re done.