Showing posts with label UFT. Show all posts
Showing posts with label UFT. Show all posts

Thursday 2 January 2014

What is Text output & its use in QTP

A Text Output values enables to capture or to output text strings displayed in an AUT during run time. For example, suppose that you want to store the text of any error message that appears after a specific step in the Web application you are testing. You can create a text output value while recording or editing your test.

To create a text output value while recording:
1.   Highlight or display the text string you want to use for an output value.
2.  Select Insert > Output Value > Text OutputValue. The pointer changes into a pointing hand.
3.  In your application, click the text string for which you want to specify a text output value. The Text Output Value Properties dialog box opens.

4.  QTP creates a column (using logical name of object) in Global DataTable to store output value.

Monday 4 November 2013

What is QTP testing process

QuickTest testing process consists of 7 main phases:
1.  Create your test plan - This is preparatory phase where you identify the exact test steps, test data and expected results for you automated test. You also identify the environment and system configurations required to create and run QTP Tests.
2.  Recording a session on your application - During this phase, you will execute test steps one by one on your AUT, and QTP will automatically record corresponding VB script statements for each step performed.
3. Enhancing your test - In this stage you will insert checkpoints, output values, parametrization  programming logic like if…else loops to enhance the logic of your test script.
4. Replay & Debug - After enhancements you will replay the script to check whether it’s working properly and debug if necessary.
5.  Run your Tests - In this phase you will perform the actual execution of your Test Script.
6.  Analysing the test results - Once test run is complete, you will analyse the results in the Test Fusion report generated.
7.  Reporting defects - Any incidents identified needs to be reported. If you are using Quality Centre, defects can be automatically raised for failed tests in QTP.