QuickTest Professional™ - An Automation Tool by Mercury - Questions and Answers

Wednesday, December 31, 2008

QTP Question 31: How many types of Actions are there in QTP?

There are three kinds of actions:

non-reusable action—an action that can be called only in the test with which it is stored, and can be called only once.

reusable action—an action that can be called multiple times by the test with which it is stored (the local test) as well as by other tests.

external action—a reusable action stored with another test. External actions are read-only in the calling test, but you can choose to use a local, editable copy of the Data Table information for the external action

Tuesday, December 30, 2008

QTP Question 30: How to open a Notepad window without recording a test and without using SystemUtil.Run command?

You can still make the notepad open without using the record or System utility script, just by mentioning the path of the notepad “( i.e., where the notepad.exe is stored in the system) in the “Windows Applications Tab” of the “Record and Run Settings window.

Monday, December 29, 2008

QTP Question 29: What are the properties you would use for identifying a browser and page when using descriptive programming?

“name” would be another property apart from “title” that we can use. OR We can also use the property “micClass”. ex: Browser(”micClass:=browser”).page(”micClass:=page”)

Sunday, December 28, 2008

QTP Question 28: Explain the concept of object repository & how QTP recognises objects?

Object Repository: displays a tree of all objects in the current component or in the current action or entire test( depending on the object repository mode you selected). we can view or modify the test object description of any test object in the repository or to add new objects to the repository.

Quicktest learns the default property values and determines in which test object class it fits. If it is not enough it adds assistive properties, one by one to the description until it has compiled the unique description. If no assistive properties are available, then it adds a special Ordinal identifier such as objects location onthe page or in the source code.


Index of QTP Questions

  • QTP Question 01: What is QTPro? What is Quick Test Pro? What is Quick Test Professional?
  • QTP Question 02: What's New in QuickTest Professional 8.2?
  • QTP Question 03: Explain QTP Testing process?
  • QTP Question 04: How Does Run time data (Parameterization) is handled in QTP?
  • QTP Question 05: What is keyword view and Expert view in QTP?
  • QTP Question 06: Explain about the Test Fusion Report of QTP?
  • QTP Question 07: To which environments does QTP supports?
  • QTP Question 08: What is QTP or Quick Test Pro?
  • QTP Question 09: Explain the QTP Tool interface
  • QTP Question 10: How QTP recognizes Objects in AUT?
  • QTP Question 11: What are the types of Object Repositorys in QTP?
  • QTP Question 12: Explain the check points in QTP?
  • QTP Question 13: In how many ways we can add check points to an application using QTP?
  • QTP Question 14: How does QTP identifies the object in the application?
  • QTP Question 15: If an application name is changes frequently i.e while recording it has name, in this case how does QTP handles?
  •