1. Quick Test Pro FAQ
RAHMAN, OZONE PARK, NY
1) Give the name of some Test Automation products or vendors?
Quick Test Professional – HP
TestComplete – AutomatedQA
Rational Robot - IBM
2) What Automation Testing tools have you used yet?
I have used version: Quick Test Professional 10.00 and build: 513
3) What is QTP?
QTP is Mercury Interactive Functional Testing Tool. QTP stand for Quality Test Professional.
4) By using QTP, What kind of applications we can test?
QTP enables us to test Windows Application, Web Objects, ActiveX Controls, Visual Basic
Applications and Multimedia Objects on Web Pages.
5) What is an Add-in in QTP?
Add-in is additional plug-in in QTP which will be used for supporting the different application
environments.
6) Could you tell some additional Add-in in QTP?
Java, Oracle, SAP Solutions, .NET, Windows and Web Forms, Siebel, PeopleSoft, Web
Services and terminal emulator application etc.
7) What is the basic concept of QTP?
QTP is based on two concept - *Recording and *Playback
8) What is Software Test Automation?
Software Test Automation is the process of automating the steps of Manual Test Cases
using an Automation tool or utility tool to shorten the testing life cycle with respect to time.
OR
Software Test Automation is automating the manual testing process.
9) What is the benefit of Test Automation?
2. Reliable: Automated Test performs precisely the same operations each time they are run,
thereby eliminating human error.
Repeatable: You can test how the software reacts under repeated execution of the same
operations.
Programmable: You can program sophisticated tests that bring out hidden information.
Comprehensive: You can build a suite of tests that cover every feature in your application.
Reusable: You can reuse tests on tests on different versions of an application, even if the
user interface has been changed.
Fast: Automated tools run test significantly faster than human users.
Cost Reduction: As the number of resources for regression test are reduced.
10) Which types of testing can be automated?
Functional: Testing that operations perform as expected.
Regression: Testing that the behavior of the system has not changed.
Exception or Negative: Forcing error conditions in the system.
Stress: Determining the absolute capacities of the application and operational
infrastructure.
Performance: Providing assurance that the performance of the system will be adequate for
both batch runs and online transactions in relation to business projections and
requirements.
Load: Determining the points at which the capacity and performance of the system become
degraded to the situation that hardware or software upgrades would be required.
11) When did you go for Automation testing?
a. When we need to test the same functional testing with more set of input data.
b. If it becomes tedious and time-consuming to manually input data and trigger actions
in the software build, then we go for Automation.
c. If the application is difficult to do manual testing(time wise, resource wise)
d. When the scope of repeatability is more.
e. When application needs high amount of regression testing.
f. When we are expecting the changes request often.
g. Where users work mostly on that particular page or section of that application.
h. Pages or sections are very important to the users.
12) What is the Automation Testing best practice?
3. Stability of AUT (Application under Test)
Number of regression cycles to be performed
Compatibility of App platform with testing tools
Cost benefit analysis (ROI)
Availability of skilled resources
13) What Automation Testing tools have you used yet?
I have used version: Quick Test Professional 10.00 and build: 513
14) How QTP learns objects in application?
QTP identifies object on the application by its logical name, class and by different types of
properties such as
1. Mandatory properties
2. Assistive properties
3. Ordinal identifier
4. Smart identification
15) QTP how to identify objects during run time or the test run?
QTP searches for a run time object that exactly matches the description of the test object
from object repository it learned while recording.
16) What is the difference between Test Object (TO) and Run-Time Object (RO)?
Test Object is an object that QTP creates in the test to represent the actual object in the
application.
Run-Time Object is the actual object in the application on which methods are performed
during the run time.
17) What are the types of object repository in QTP?
A shared object repository contains test objects that can be used in multiple actions.
A local object repository stores test objects that can be used in one specific action.
18) What types of recording modes does QTP have?
Normal Recording Mode or Context Sensitive Recording Mode: This recording mode is
used for recording the operations performed on the standard GUI objects in different
situations.
4. Analog Recording Mode: This recording mode is used for recording continuous operations
on the application. The generated script during this mode will not understandable by the
Tester.
Low Level Recording Mode: Based on the co-ordinates of the object script will be created.
This mode is used to record the exact “X” ”Y” coordinates of the mouse operations.
It is helpful in testing hash maps. It is useful for recording objects that are not identified by
normal recording mode.
19) What is the QTP testing process?
QTP testing process consist of seven steps-
1. Preparing to recoding 2. Recording 3. Enhancing your script 4. Debugging
5. Run 6. Analyze 7. Report Defects.
20) What is Checkpoints for QTP?
A checkpoint verifies that expected information is displayed in your application while the
test is running.
Example:
Verify text in status bar
Verify value in a grid
Verify bitmaps
21) How many types of checkpoints QTP does have?
*Standard Checkpoint, *Image Checkpoint,
*Table Checkpoint, *Page Checkpoint,
*Text or Text Area Checkpoint, *Bitmap Checkpoint,
*Database Checkpoint, *Accessibility Checkpoint,
*XML Checkpoint.
22) What is parameterization in QTP?
A parameter is a variable that is assigned a value from the external data source or
generator.
23) How many parameter types does QTP have?
There are four type parameters in QTP.
1. Data Table: By that process QTP takes data from various type of data table.
There are two types of data table parameter-
o Input parameter: Allow us to run a test using different sets of data
value as an input.
o Output parameter: Allow us to capture output from application run time.
2. Parameter:
5. It is just variable like others language, is provided by QTP.
o Action Parameter: You can define the parameter for each action. Those
parameter will not be available to the others actions.
o Test Parameter: Same as Action Parameter but only difference that Test
Parameter will be available for others actions.
o Component Parameter: Same as Test Parameter. But used in the component.
3. Environment Variable:
There are actually two kind of Environment variables.
o Built-In: Those environment variables are built-in QTP. You can get following
information from Built-In environment variables in QTP
- Local host name
- Operating System name
- OS version
- Path of the directory where the QTP is installed
- Name of the product (QTP)
- Name of test ( Main project file)
- Current directory path at you are working
o User-Defined: User can define environment variable.
There are two ways to define user specific environment variable manually.
External: Load variables and values from external file.
Internal: Enter one by one by variable name and its value.
4. Random Number:
The random number input parameter generates random numbers and uses them as
input value for a parameter. By default, the random number ranges between 0 and 100.