Showing posts with label Data Table. Show all posts
Showing posts with label Data Table. Show all posts

Tuesday 7 January 2014

HP QTP : What is a Run-Time Data Table? Where can I find and view this table


Data like parameterized output, checkpoint values, and output values are stored in the Run-time Table. It is an XLS file which is stored in the Test Results Folder.  It can also be viewed in the Test Report. Click on View -> Data Table to display data table.

HP QTP : What is the difference between functions and actions in QTP




               QTP Action
                 Function
  • Action is a QTP concept and it can use QTP features like own Object Repository, Data Table, checkpoints etc.
  • Actions help make your Test modular and increase reuse. Example: You can divide your script into Actions based on functionality like Login, Logout etc.
  • It is slow in execution.
  • Functions is a VB Script programming concept and do not have their own Object Repository or Data Table. Functions help in re-use of your code. Ex:  You can create a Function in your script to concatenate two strings.
  • We can’t use checkpoints in functions, instead of checkpoints we can use validation points (Loops and Conditional statements)
  • Functions are faster in execution than Actions

Monday 4 November 2013

Explain the HP QTP Tool interface

 HP QTP 11.0 contains the following key elements:
·   Title bar, displaying the name of the currently open test
·   Menu bar, displaying menus of QuickTest commands
·   File toolbar, containing buttons to assist you in managing tests
·   Test toolbar, containing buttons used while creating and maintaining tests
·   Debug toolbar, containing buttons used while debugging tests.

Note: The Debug toolbar is not displayed when you open QuickTest for the first time. You can display the Debug toolbar by choosing View > Toolbars > Debug.

·   Action toolbar, containing buttons and a list of actions, enabling you to view the details of an individual action or the entire test flow.

Note: The Action toolbar is not displayed when you open QuickTest for the first time. You can display the Action toolbar by choosing View > Toolbars > Action. If you insert a reusable or external action in a test, the Action toolbar is displayed automatically.

·  Test pane, containing two tabs to view your test-the Tree View and the Expert View Test Details pane, containing the Active Screen.
·  Data Table, containing two tabs, Global and Action, to assist you in Parameterzing your test Debug Viewer pane, containing three tabs to assist you in debugging your test-Watch Expressions, Variables, and Command. (The Debug Viewer pane can be opened only when a test run pauses at a breakpoint.)
·  Status bar, displaying the status of the test.