|
211. Differentiate The Two Object Repository Types Of The QTP?
Date Posted: 06/27/2012
Ans: In QTP there are two object repositories, they are 1. Shared object repository and per action mode, by default it’s per action mode. We want to maintain the object repository per each action separately. Select a per action mode.
|
|
|
212. Explain The Concept Of How QTP Identifies Object?
Date Posted: 06/27/2012
Ans: During recording QTP looks at the objects and stories it as test objects. For each object QT earns a set of default properties called as mandatory properties and look at the rest of the objects to check whether these properties are enough to uniquely identify.
|
|
|
213. Discuss QTP Environment?
Date Posted: 06/27/2012
Ans: Quick test professional environment using the graphical interface and action screen technologies- A testing process for creating test scripts, relating manual test requirements to automated verification features-Data driving to use several sets of data using.
|
|
|
214. How To Do Data Driving In QTP?
Date Posted: 06/27/2012
Ans: By parameter zing the test script.
|
|
|
215. Testing Mainframe Application?
Date Posted: 06/27/2012
Ans: First we have install terminal emulator add-in. They try to identify the objects.
The objects will be added to the object repository, but these objects will be identified depends the X, Y co-ordinates of the objects.
|
|
|
216. How Do You Retrieve The Class Name Of A Test Object Programmatically From Within A Script?
Date Posted: 06/27/2012
Ans: Using GetRoproperty () function.
|
|
|
217. How To Call A Function Present In D11 File In The QTP Script?
Date Posted: 06/27/2012
Ans: Execute file “Path of the .vbs file”.
|
|
|
218. What Is The Use Of Function And Sub Function In QTP?
Date Posted: 06/27/2012
Ans: Function and sub function are similar. Only the difference is sub function will not return anything to the function. But using function it returns result to the function.
We can use function wherever we need it.
We can do parameterization and also reducing the lines of code etc.
|
|
|
219. Is There Any Function To Double Click A Particular Row In A Web Tables?
Date Posted: 06/27/2012
Ans: There will be a function by the name activate, use that function, required argument is the row number.
|
|
|
220. What Conditions We Go For Reusable Scripts And How We Create And Call That In To Another Script?
Date Posted: 06/27/2012
Ans: When we are going to call the action to another action we are going to set the calling action as reusable. BY setting this then only you are going reuse some other action. Otherwise you cannot call that action.
|
|