QTP Questions
Back
Next
- How to handle runtime errors?
A. By using Recovery Scenario manager or by using a simple
If (..............Exists) Then
Do action......
End If
using exception handling we can handle the run time errors
They are three types in winrunner
1. tsl.
2. object.
3. pop-up.
In qtp they are 4 types
1. pop-up window.
2. object state.
3. Test run error.
4. application crash.
- Difference between Stress Testing and LoadTesting? Define Performance Test?
A.Load Test: Testing the application performance when number of users are concurrently accessing the application.
Stress Test: By increasing the load, at what point of load the application would fail to perform.
Performance Test: Testing for the Volume, response time and stress of the application.
- What is driver in testing point of view?
A.Test Driver or Test Harness: A program or test tool used to execute tests. Also known as a Test Harness.
Driver is a dummy program used instead of main module.It activates connection to sub module. Drivers for input purpose.
- What is Pairwise Testing?
A. All pairs testing or pairwise testing is a combinatorial testing method that, for each pair of input parameters to a
system tests all possible discrete combinations of those parameters.
In pairwise testing, two testers combinly working on the same system for the same project.
The main aim of pairwise testing is, to exchange of ideas between the testers.
The sucess of pairwise testing depends on coordination between the testers.
- What is Sequential Injection?
A. SQL Injection is the hacking technique which attempts to pass SQL commands through a web application
for execution by the backend database.
- What is Volume Testing?
A. Volume Testing means Testing the software with large volume of data in the database. Testing the software
with heavy volumes of data. It is done to find out memory leaks and buffer overflows.
- What is Component Testing? How to do Component Level Testing?
A. Component Testing: Testing of individual software components.
Ex : You have different functionalities (modules/sub modules), those are either satisfying customer requirements or not. (BRS/SRS/FS).
Component Testing means testing the component of the system. A group of components is known as module. So a tester always starts his/her
testing from the basic level i.e. component of the application.
- Black Box testing attempts to find errors in which of the following categories 1)Incorrect or missing functions 2) Interface errors 3)Performance errors?
A. Incorrect or missing fuction comes in white box testing.....performance error we are getting in load testing, so my answer is interface error.
While Black box testing we find Interface errors.
Incorrect or missing functions - White box testing.
Perfomance errors - Performance testing.
Interface errors - Black box testing.
