Monday, July 18, 2011

What are the parameters available in QTP?

There are three types of parameters available in QTP. They are,

• Method Argument

• Data Driven

• Dynamic

Labels:

Thursday, July 14, 2011

What is parameterization in QTP?

Parameterization is used in the application to check how the same operation is performed with multiples sets of data.

If the requirement is to check how the application responds to five separate sets of data, we can record five separate tests with five sets of data. By using parameterization we can run the test five times with different set of data.

Labels:

What is the difference between ‘Test Object’ and ‘Run-Time Object’ in QTP?

Test Object

Test Object resides in Object Repository where the QTP uses while running the script.

Run Time object

Run time object is present in the application, while running QTP compares the Test object and Run time object to check the object existence in the application.

Wednesday, July 13, 2011

Explain Active Screen in QTP.

The ‘Active Screen’ provides the snap shot / screen shot of the application as it appeared during the recording session. In active screen the detailed description of the object properties can be found.
Navigation :
View – Active Screen

Labels:

Explain the Keyword View and Expert view in Test Pane of QTP.

Keyword View helps to create and view the steps of test in keyword driven format, by selecting the ‘items’ and ‘operations’ we can create or modify the tests.

Expert view displays the each operation we perform in the application in script format, script can be edit with the available script editing capabilities.

Note :
If a row is typed in ‘Keyword view’ simultaneously a script is generated in expert view, likewise for every script typed in ‘Expert view’ simultaneously a row exists in keyword view.

Labels:

Tuesday, July 12, 2011

Explain the QTP Testing process.

Create Test Plan / Preparing for Recording

Test steps, Input Data and other items to be verified are prepared in this stage, the application environment needs to be analysed cause we need to load QTP add-ins to enable the QTP identify and test for the application.
Recording
In this stage, recording the action of the application takes place and recorded in the form of VB scripts, some types of recording are,
Context Sensitive Recording
Analog Recording
Low level Recording
Enhancing
Inserting Checkpoints into the search helps to find a specific value, object, text string. It also helps to identify whether you are testing the application correctly or not.
Adding Parameters helps to check whether the application performs the same operations with multiple set of datas.
Logical, conditional and loop statements can also be added to enhance your test.
Debugging, Running and Analysing the test
Debugging is done to ensure that the application is operating smoothly without interruption.
Running the application is done to check the behavior of the application, here the QTP opens the application and performs each step in the test.
Analysing the test results is done to identify the defects in the application. The results can be viewed in the Test Results window.
Reporting defects
The defects can be reported directly if the Quality Center (QC) is installed in the system. The defect reporting can be done automatically or manually from the Test results window.

Labels:

What are the environments QTP supports?

QTP supports Windows, Web, .NET, Java/J2EE, Siebel, SAP, Oracle, Peoplesoft, Visual basic, Active X and Web services.

Labels:

Monday, July 11, 2011

Explain the Short cut keys for executing commands in QTP.