Software QA FYI - SQAFYI

QuickTest Professional (QTP) Questions and Answers

Part:   1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24   25  26  27  28  29 

(Continued from previous part...)

How to Merge Object repositories?

With QTP 8.2 ,there is QTP Plus setup.It provides Repositories Merge Utility.The Object Repository Merge Utility enables user to merge Object repository files into a single Object repository file.


What are the different scripting languages you could use when working with QTP ?

Visual Basic (VB), XML, JavaScript, Java, HTML


Can you do more than just capture and playback?

I have done Dynamically capturing the objects during runtime in which no recording, no playback and no use of repository is done AT ALL. -It was done by the windows scripting using the DOM(Document Object Model) of the windows.


How many types of Actions are there in QTP?

There are three kinds of actions: (1)non-reusable action—an action that can be called only in the test with which it is stored, and can be called only once. (2)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. (3)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


How can we write scripts without having GUI(means u dont have any GUI and u want to write a script in QTP)?

By descriptive programming


What is the descrirptive progrmaing?.what is the use of descriptive programing?

QTP uses its object repository to refer to objects present in your test and which have been recorded, if you wish to use objects that were not recorded and are not present in your object repository then we use descriptive programming, where QTP does not refer to object repository but the property name and value are mentioned in the code itself for QTP to use it for e.g this is not Desc. prog. Browser("Mercury Tours").Page("Mercury Tours").WebEdit("username") This is desc prog. Browser("Title:=Mercury Tours").Page("Title:=Mercury Tours").WebEdit("Name:=Author", "Index:=3").Set "Mark Twain"


Explain the need to use analog recording in qtp?

This mode records exact mouse and Key Board operations you perform in relation to the screen /Application Window. This mode is useful for the operation which you can record at Object Level, such as drawing a picture, recording signature. The steps recorded using Analog Mode is saved in separated data file, Quick Tests add to your Test a Run Analog File statement that calls the recorded analog File. This file is stored with your action in which these Analog Steps are created. The Step recorded in Analog mode can not be edited within QT.

(Continued on next part...)

Part:   1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24   25  26  27  28  29 

QuickTest Professional (QTP) Questions and Answers