Sunday, 26 July 2015

OUTPUT VALUES IN QTP WITH EXAMPLES


        OUT PUT VALUE:
            Output value is a feature provided by QTP, which is    used for  capturing a value from an application or from a database or from a XML file and stores it under specified column in the runtime data table

               Operational overview of output value: -

            The output value feature works in two phases
               1. Pre-Execution Phase
               2. While –Execution Phase

               1.Pre-Execution phase:

             It will capture the field name from which it need to capture the value
             It will generate the corresponding script

               2.While-Execution phase:
            Captures the actual value from the field
            Stores it under a specified column in the run time data table


               Types of Out Put Values:
            There are five types of output values…


           1.Standard Out Put Value:
           It is used for capturing property value of a standard GUI object

           2.Text Out Put Value:

           It is used for capturing the text present on a specified object

          3.Text-Area Out Put Value:
           It is used for capturing the Text present in a specified area

            4.Data Base Out Put Value:
          It is used for capturing a value from the database

          5.XML Output Value:
          It is used for capturing a value from the XML file


                Navigation for Standard Output value through application:
·               Keep the cursor in the desired location
·               Keep the tool under recording mode
·               Activate the menu item insert
·               Go to output value
·              Select the option standard output value
·              Click on the desired object in the AUT
·              Click on OK
·              Select the desired property to be captured
·              Click on modify
·              Specify the desired column name
·              Click on Ok
·              Once again click on ok
·              Stop recording

                 Navigation For standard check point through Active Screen

·             Keep the cursor under the desired location
·             Click on active screen
·             Right click on desired location
·             Click on insert output value
·             Click on ok
·              Select the desired property
·             Click on modify
·             Specify the desired column name
·             Click on ok
·             Once again click on ok.

No comments:

Post a Comment