QTP Interview Questions and Answers
Here you can find QTP Interview Questions and Answers.
Why QTP Interview Questions and Answers Required?
In this QTP Interview Questions and Answers section you can learn and practice QTP Interview Questions and Answers to improve your skills in order to face technical
inerview by IT companies. By Practicing these interview questions, you can easily crack any QTP interview.
Where can I get QTP Interview Questions and Answers?
AllIndiaExams provides you lots QTP Interview Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students,
freshers can download QTP Interview Questions and Answers as PDF files and eBooks.
How to solve these QTP Interview Questions and Answers?
You no need to worry, we have given lots of QTP Interview Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the QTP
technical interview.
QTP Interview Questions and Answers
What are the advantages in Test Automation?
a) Fast: Test Tool runs tests significantly faster than human users.
b) Reliable: Automation tool can perform the same operation each time, if we repeated multiple times, so that we can eliminate human errors.
c) Repeatable: We can check how application or website reacts after repeated the same operation with multiple times.
d) Reusable: Automation scripts are reusable on different version of the application of websites even if the user interfaces changes.
e) Comprehensive: In automation testing we can build a suit of tests that covers every feature in the application or website.
f) Programmable: We can program sophisticated Tests that bring out hidden information from the application
QTP Interview Questions and Answers
What are the drawbacks in Test Automation?
a) It is expensive
b) We cannot automate all areas.
c) Lack of Skill
d) It has some limitations (It cannot test every thing)
QTP Interview Questions and Answers
What type of test tools available in the industry?
We can segregate Test tools in 2 categories
a) Business Classification
Vendor Tools
Open Source Tools
In-house Tools
b) Technical Classification
Functional and Regression Test Tools
Load/Stress/Performance Test Tools
Security Test Tools
Test Management Tools
Unit Test Tools
Requirement Management Tools Etc…
QTP Interview Questions and Answers
What are the important factors in test tool selection?
a. Technical factors:
Nature of the AUT (Application Under Test)
Tool Features (Facilities available)
Availability of Skilled professionals
Organizations experience
Technical support from vendor
b. Business factors:
Budget
Vendor’s Reputation
Client’s Interest
QTP Interview Questions and Answers
What test cases can be automated?
Test cases that we want to execute on number of versions of the software
Ex: Regression test cases
Test cases that we want to execute with multiple sets of data
Ex: Data driven test cases
Test cases having complex functionality
QTP Interview Questions and Answers
What test cases cannot be automated?
Dynamically changing functionality
Test cases that require more Human interaction
CUI (command user interface) based test cases
QTP Interview Questions and Answers
Explain about the Testing process in QTP?
Planning:
Analyzing the Application
Automation Framework Implementation
Selecting/Generating Test cases for Automation
Collecting Test Data
Configuring Tool Settings
Generating the basic tests
Using Object Repository method or using Descriptive Programming, we can generate Tests
Enhancing Tests
With respect to our project requirements, we have to enhance our tests. For enhancing tests QTP is providing various features like:
Inserting Transaction points
Synchronization
Parameterization
Inserting VB script Flow Control statements
Adding comments
Calling Functions/ calling Actions
Using Environment variables
Entering Regular Expressions
Inserting Checkpoints
Inserting Output values
Etc..
Note: For any Test all enhancement methods not required.
Debugging Tests (if required)
It is optional; basically scripting languages are Light weight languages, no need to compile them separately. During execution Scripts can be compiled and Run.
If we have any doubts about some scripts, then we can execute them step by step with the support of VBScript Debug commands and Break points
Running tests
Generally, many companies are using Framework feature for Running Tests.
QTP Supports Individual Test execution, Batch execution, Tests execution through AOM Scripting, and Scheduled execution with the support of Windows Operating system.
Analyzing Results
It is not the Responsibility of QTP; Test engineer has to do this manually.
QTP is providing Result window in XML format.
QTP is providing Result deletion tool also.
QTP is providing Test results exporting facility. It supports HTML, Word document and PDF (portable document format) formats.
Reporting defects
Reporting defects also not a QTP responsibility that we have to do manually after analyzing the results, but if we are using Quality Center, from QTP result window we can send defects directly.
QTP Interview Questions and Answers
What types of License available for QTP?
a) Seat License or Node locked
Fixed for one System (Machine), we can use from that System only
b) Concurrent License or Floating License
This License, we can use from different Systems but one at a time
QTP Interview Questions and Answers
What are the QTP supported environments?
QTP Supports Software Applications based on Add-ins only
Add-in means Technology supporting files
QTP Add ins available for following technologies:
a) Default Add ins
1) Activex
2) Visual Basic
3) Web
b) Other Add-ins
1) Delphi
2) Java
3) .NET Web forms
4) .NET Windows forms
5) WPF (Windows Presentation Foundation)
6) Oracle
7) People Soft
8) Power Builder
9) SAP for Web
10) SAP GUI for windows environment
11) Siebel Environment
12) Standard Windows
13) Terminal Emulator (TE)
14) Visual Age Smalltalk Environment
15) Web Services Environment
QTP Interview Questions and Answers
Does QTP Support UNIX Environment?
No, QTP doesn’t support UNIX/Linux Environment, Supports Windows Operating Environment only, but LoadRunner and Quality Center have support both Windows and UNIX Operating Environments.