Monday, July 7, 2008

How can you split actions in a test, what is the use of splitting the test?


You can split an action that is stored with your test into two sibling actions or into parent-child nested actions. When you split an action, the second action starts with the step that is selected when you perform the split action operation.

We can split the action in two ways:

Independent of each other—Splits the selected action into two sibling actions.

Nested (the second action is called by the first)—Splits the selected action into a parent action whose last step calls the second, child action.

To split an action:

  1. Select the step before which you want the new (second) action to begin.
  2. Choose Step > Split Action. (In QTP 9.2, Edit -> Action -> Split Action)
  3. Choose one of the following options:
    1. Independent of each other
    2. Nested
  4. If you wish, modify the name and description of the two actions in the Name and Description boxes.

No comments: