• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
 Q.T.P QUESTION’S
1.
What is the default Add-ins in QTP?
A.ActiveX, Visual Basic, Web, Multimedia
2.Is QTP Supports UNI-CODE?
A.
Yes. UNI-CODE is a 16-bit machine understandable language.
3.How you are developing the script? Using record and play back ormanual?
A. Both. Developing the Script depends on the Test Scenario.
4.How many types of recording modes are there? 
A. Three modes. They are Normal, Analog, and Low-level 
5.
What is the difference between Analog and Low level recording?
A.Analog recording will record the Mouse & Keyboard movements with respectto the Window or Application co-ordinates. Whereas low-level recording willrecord the all the objects in the Application whether or not Quick Testrecognizes them.
6.Where we can use the Analog Mode and where we can use the Low –level Mode?
A.Analog Mode is used for Signatures.Low – level Mode is used when your Quick test is not recognizing certainobjects in your Application.
7.Is it possible to change the values of Analog Recording?
A.No
8.How many types of Run modes are there in QTP?
A.Test Run Mode, Update Run Mode and Debug Run Mode
9.What are Test Settings and Global Settings?
A.Test Settings are settings of that particular test only.Global Settings are settings that reflect any test in QTP.
10.How many types of Objects are there in QTP?
A.Two types. Test Objects and Run Time Objects.
11.What is test object?
A.test object are basic and generic objects that QTP recognize
12.What is Run Time Object?
A.Runtime object means the actual object to which a test object maps
13.Difference between Test Object and Run Time Object?
A.Test object are basic and generic objects that QTP recognizeRuntime object means the actual object to which a test object maps
 
14.What is Action? How many types of Actions are there in QTP?
A.
An Action is a series of operations to do some work. There are 3 types of Actions in QTP. They are i) Non-Reusable Action (default)ii) Reusable Actioniii) External Action
15.
Difference between Copy to Action and Call to Action?
A.In Copy to Action you will copy the Script of an Action and hence can makeNecessary modifications to the script.In Call to Action you are directly calling an Action either from the same test orfrom some other test. So, you can’t make any changes to the script. If youwant to do any changes to the script, you need to go to that particular testand make changes. 
16.What is an Object Repository?
A.An Object Repository is an interface between QTP script and the Application.Quick Test stores all its objects’ information in Object Repository to identifythem later.
17.What are the types of Object Repositories? Which one is u using?
A.Two types of Object Repositories arePer-Action (default)SharedWe are using Shared Object Repository.
18.Have you faced any problems with Object Repository?
A.
Yes, you can have problems with Object repository while identifying theobjects. Also, if you are using Shared Repository, then if u r changingproperties of an object which u want to reflect only in that particular action,will be reflected in all other actions of that test. 
19.Is it possible to merge two Object Repository files in QTP?
A. No, u can’t merge Object repository files with each other.
20.
What is the difference between Per-Action and Shared?
A.Per-Action Repository will store only those objects that are recorded in thatParticular action. Each Action will have its own Per-Action Repository.Shared Repository will store all the objects that are recorded during the testIrrespective of the Actions.
21.How QTP recognizes the Object?
A.QTP recognizes Objects through Object Repository.
22.If I change the object name in one action will it be updated in all theactions? Or not?
A.No, changes made to objects in one Action will not be reflected in any otherAction.
23.How to get the particular property value?
A.
Either using Object Spy or using GetTOProperty (Property Name).
 
24.Is it possible to change the property value at runtime? How it ispossible?
A. Yes, using SetTOProperty (property name, Value)
25.If I change the property value at runtime is it effect is ObjectRepository?
A. No.
26.What is the parameterization? Give one example?
A.Parameterization means executing the same operation many times withdifferent Input data.
27.How many ways is to parameterize the value?
A.Four ways. They are:i)Test/Actionii)Data Driveriii)Environment variableiv)Random Number 
28.What is a checkpoint? How many check points are there in QTP?
A.
It is a Verification point that compares the current value with the expectedvalue for a specified property of an object.The different types of checkpoints are:i)Standard checkpointii)Text Checkpointiii)Text Area checkpointiv)Page checkpointv)Image checkpoint
vi)
Bitmap checkpointvii)Table checkpointviii)Database checkpointix)XML checkpoint
29.
What is the diff between image and bitmap check point?
A.
Image:
Used to check the property of an image.
Bitmap:
Used to check the selected/full image comparison.
30. Have u used XML check point in your project? How?
A. No
31. For example u r checking bit map check point before coming to theresults. How can u say it is passed? Or failed? Any ways?
A.
If the Execution has halted at a Step for more than estimated time, then ucan Estimate that the check has been failed. U need not wait for the resultswindow to come to tell whether the result is pass or fail.
32.What is text check point and text area check point?
A.
Text:
With Text checkpoint u can check only a single string value
Text Area:
With Text Area u can check multiple rows and columns of textStrings.
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...