Saturday, January 5, 2008

QTP Questions - 16

1.      What is Object Spy?
We can view the object properties of an open application, test object methods and run time object methods, and also we can view selected object hierarchy tree properties and values in object spy dialog box.

2. What is the extension of script and object repositary files?

The extension for Script file is .mts and the extentsion of the repository file is .tsr
mtr : Modular Test Repository
mts: Mercury Test Script
tsr: Test Script Repository
vbs: vb Script
 
What are the file extensions for per-action, shared object repository files and what is the extension for library files?
Per-Action Object Repository - .mtr (Mercury test Script)
Shared Action object Repository - .tsr (Test repository) 
Library files - .vbs or .txt
 
3.      What is the difference Between LowLevel and Normal Recording Modes?
Low-Level Recording: Is useful if the exact coordinates of the object are important for your test.
Normal recording: Is useful when the recording operations that cannot be recorded at the level of an object.
Low-level record is used to record the session even the object is not recognized by the QTP.
 
2nd answer
Normal Level Is Object Context Level where QTP recognize object with Physical Description Of only interacted object.
 
Low-Level Recording—enables you to record on any object in your application, whether or not QuickTest recognizes the specific object or the specific operation. This mode records at the object level and records all run-time objects as Window or WinObject test objects. Use low-level recording for recording in an environment or on an object not recognized by QuickTest. You can also use low-level recording if the exact coordinates of the object are important for your test or component.
 
 
4.      What are the challenges do we face while testing web-based applications using the automation tool QTP or any?
1) Unable to understand custom object, then we have to map that object to standard object.
2) To handle the runtime objects.
3) Using Regular Expressions.
 
5.How we can add actions in the test using QTP?
There are four actions call to action, copy of action, call to existing action, call to winner, split action just right click on any one select it

6.Does QTP provide any tools for parameterization?

Yes, QTP uses Microsoft Excel for parameterization

No comments: