1. What is the difference between XML checkpoint (From Resource) and XML checkpoint (From Application)?
Answer: XML checkpoint (From Resource): It support all add-in environment like Web, Standard windows, VB, ActiveX
XML checkpoint (From Application): It support only Web add-in environment.
2. Can I create image checkpoint for desktop based application?
Answer: No It is supported for only web based application.
3. Can I create page checkpoint for desktop based application?
Answer: No It is not applicable for desktop based application. It is only applicable for web based application.
4. Can I create accessibility checkpoint for desktop based application?
Answer: No It is supported for only web based application.
5. What is the difference between text checkpoint and text area checkpoint?
Answer: Text checkpoint: IT checks that a text string is displayed in the appropriate place in a Web page or application.
For e.g. I am a big thinker. We can configure that “a big” string is displayed between “I am” and “thinker” string.
Text area checkpoint: It checks that a text string is displayed within a defined area in a Windows-based application.
6. Can I store my local object repository in file? How to store my local object repository?
Answer: Yes, First open the test whose object repositories you want to store, than go to Resource->Object Repository Manager,
Than Go to File->Save as, File will be saved in “.tsr” format.
7. Shortcut key to open Object repository.
Answer: Ctrl+R
8. Shortcut key for comment one or more lines of code in QTP?
Answer: Ctrl+M
9. Shortcut key for uncomment one or more lines of code in QTP?
Answer: Ctrl+Shift+M
10. Shortcut key to put standard checkpoint during recording?
Answer: F12
11.What is the use of recovery scenario manager?
Answer: It is used for Exception handling.
12.What is the significance of gray and black text color of objects in Obect repository window?
Answer: Gray color objects shows object in shared object repository and Black color objects shows object in local object repository.
13.How can I add function libraries and vb script to my test?
Answer: Go to File-> setting, and in that Resource tab you can add function libraries and VB script to your project.
14.Shortcut key for “Run from step step” execution?
Answer: Ctrl+F5
15.How to add object repository (.tsr) in my project?
Answer: First the open the test to which you want to add object repository.
Go to Edit->Action->Action properties, than at Associated Repository tab,
You can add the Object repository (.tsr) file.
0 comments:
Post a Comment