TS 61 BPELNavigator

Revision as of 17:19, 5 November 2009 by Admin (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)

Navigator Test Specification

Author: Mikhail Kondratyev, Victoria Zhukovskaya
Version: 1.1
Last update: 01 October 2007
Introduction: This specification provides the testcases for BPEL Logical View Navigator testing

    

Comments:


Contents


Test suite: Checking Activity and Activity-related nodes

Purpose: Check nodes corresponding to the BPEL Activities.
Setup: Open the test project attached here

  1. Receive activity
    1. Select Receive activity in diagram
    2. Select another activity in diagram
    3. Select Receive activity in Navigator
    • EXPECTED RESULT: When selecting activity on diagram it should become selected in the Navigator
    • EXPECTED RESULT: When selecting activity in Navigator it should become selected in the diagram
    • EXPECTED RESULT: Activity node in Navigator should have the same context menu items as the Activity on the diagram
  1. Invoke activity
    1. Select Invoke activity in diagram
    2. Select another activity in diagram
    3. Select Invoke activity in Navigator
    • EXPECTED RESULT: When selecting activity on diagram it should become selected in the Navigator
    • EXPECTED RESULT: When selecting activity in Navigator it should become selected in the diagram
    • EXPECTED RESULT: Activity node in Navigator should have the same context menu items as the Activity on the diagram
  1. Reply activity
    1. Select Reply activity in diagram
    2. Select another activity in diagram
    3. Select Reply activity in Navigator
    • EXPECTED RESULT: When selecting activity on diagram it should become selected in the Navigator
    • EXPECTED RESULT: When selecting activity in Navigator it should become selected in the diagram
    • EXPECTED RESULT: Activity node in Navigator should have the same context menu items as the Activity on the diagram
  1. Assign activity
    1. Select Assign activity in diagram
    2. Select another activity in diagram
    3. Select Assign activity in Navigator
    • EXPECTED RESULT: When selecting activity on diagram it should become selected in the Navigator
    • EXPECTED RESULT: When selecting activity in Navigator it should become selected in the diagram
    • EXPECTED RESULT: Activity node in Navigator should have the same context menu items as the Activity on the diagram
  1. Particular Assignments nodes
    1. Select Assign activity in diagram
    2. Select Assignment node in the Navigator
    • EXPECTED RESULT: There should be a special node for each assignment in the Assignment activity
    • EXPECTED RESULT: The assignment text label should reflect the type of assignment
    • EXPECTED RESULT: Assignments should have two properties: CopyFrom and CopyTwo that display the corresponding tags contents
  1. Empty activity
    1. Select Empty activity in diagram
    2. Select another activity in diagram
    3. Select Empty activity in Navigator
    • EXPECTED RESULT: When selecting activity on diagram it should become selected in the Navigator
    • EXPECTED RESULT: When selecting activity in Navigator it should become selected in the diagram
    • EXPECTED RESULT: Activity node in Navigator should have the same context menu items as the Activity on the diagram
  1. Wait activity
    1. Select Wait activity in diagram
    2. Select another activity in diagram
    3. Select Wait activity in Navigator
    • EXPECTED RESULT: When selecting activity on diagram it should become selected in the Navigator
    • EXPECTED RESULT: When selecting activity in Navigator it should become selected in the diagram
    • EXPECTED RESULT: Activity node in Navigator should have the same context menu items as the Activity on the diagram
  1. Throw activity
    1. Select Throw activity in diagram
    2. Select another activity in diagram
    3. Select Throw activity in Navigator
    • EXPECTED RESULT: When selecting activity on diagram it should become selected in the Navigator
    • EXPECTED RESULT: When selecting activity in Navigator it should become selected in the diagram
    • EXPECTED RESULT: Activity node in Navigator should have the same context menu items as the Activity on the diagram
  1. If activity
    1. Select If activity in diagram
    2. Select another activity in diagram
    3. Select If activity in Navigator
    • EXPECTED RESULT: When selecting activity on diagram it should become selected in the Navigator
    • EXPECTED RESULT: When selecting activity in Navigator it should become selected in the diagram
    • EXPECTED RESULT: Activity node in Navigator should have the same context menu items as the Activity on the diagram
    • EXPECTED RESULT: There should be subnodes for the If activity: for if and else branches and for all else-if branches
  1. The If branch node
    1. Select If branch node in the navigator
    2. Try to ad some new activities to the branch
    • EXPECTED RESULT: When selecting the node the If activity should be selected
    • EXPECTED RESULT: All the child activities in the branch must be displayed under this node
  1. The Else-if branch node
    1. Select Else-if branch node in the navigator
    2. Try to ad some new activities to the branch
    • EXPECTED RESULT: When selecting the node the If-else activity should be selected
    • EXPECTED RESULT: The node should have Condition property with the condition displayed
    • EXPECTED RESULT: All the child activities in the branch must be displayed under this node
  1. The Else branch
    1. Select Else branch node in the navigator
    2. Try to ad some new activities to the branch
    • EXPECTED RESULT: When selecting the node the If activity should be selected
    • EXPECTED RESULT: All the child activities in the branch must be displayed under this node
  1. While activity
    1. Select While activity in diagram
    2. Select another activity in diagram
    3. Select While activity in Navigator
    4. Add some different activities to the While activity
    • EXPECTED RESULT: When selecting activity on diagram it should become selected in the Navigator
    • EXPECTED RESULT: When selecting activity in Navigator it should become selected in the diagram
    • EXPECTED RESULT: Activity node in Navigator should have the same context menu items as the Activity on the diagram
    • EXPECTED RESULT: All child activities should be displayed as subnodes in the Navigator
  1. Repeat Until activity
    1. Select Repeat Until activity in diagram
    2. Select another activity in diagram
    3. Select Repeat Until activity in Navigator
    4. Add some different activities to the activity
    • EXPECTED RESULT: When selecting activity on diagram it should become selected in the Navigator
    • EXPECTED RESULT: When selecting activity in Navigator it should become selected in the diagram
    • EXPECTED RESULT: Activity node in Navigator should have the same context menu items as the Activity on the diagram
    • EXPECTED RESULT: All child activities should be displayed as subnodes in the Navigator
  1. Foreach activity
    1. Select Foreach activity in diagram
    2. Select another activity in diagram
    3. Select Foreach activity in Navigator
    4. Add some different activities to the activity
    • EXPECTED RESULT: When selecting activity on diagram it should become selected in the Navigator
    • EXPECTED RESULT: When selecting activity in Navigator it should become selected in the diagram
    • EXPECTED RESULT: Activity node in Navigator should have the same context menu items as the Activity on the diagram
    • EXPECTED RESULT: All child activities should be displayed as subnodes in the Navigator
  1. Pick activity
    1. Select Pick activity in diagram
    2. Select another activity in diagram
    3. Select Pick activity in Navigator
    • EXPECTED RESULT: When selecting activity on diagram it should become selected in the Navigator
    • EXPECTED RESULT: When selecting activity in Navigator it should become selected in the diagram
    • EXPECTED RESULT: Activity node in Navigator should have the same context menu items as the Activity on the diagram
    • EXPECTED RESULT: Pick node should have subnodes for each Message and Alarm handler
  1. Message handler node under Pick node
    1. Select Message Handler node in the Navigator
    2. Add some activities to the Message Handler
    • EXPECTED RESULT: When selecting node in Navigator it should become selected in the diagram
    • EXPECTED RESULT: The node should have the same properties and context menu items as the Activity on the diagram
  1. Alarm handler node under Pick node
    1. Select Alarm Handler node in the Navigator
    2. Add some activities to the Alarm Handler
    • EXPECTED RESULT: When selecting node in Navigator it should become selected in the diagram
    • EXPECTED RESULT: The node should have the same properties and context menu items as the Activity on the diagram
  1. Flow activity
    1. Select Flow activity in diagram
    2. Select another activity in diagram
    3. Select Flow activity in Navigator
    4. Add some different activities to the activity
    • EXPECTED RESULT: When selecting activity on diagram it should become selected in the Navigator
    • EXPECTED RESULT: When selecting activity in Navigator it should become selected in the diagram
    • EXPECTED RESULT: Activity node in Navigator should have the same context menu items as the Activity on the diagram
    • EXPECTED RESULT: All child activities should be displayed as subnodes in the Navigator
  1. Sequence activity
    1. Select Sequence activity in diagram
    2. Select another activity in diagram
    3. Select Sequence activity in Navigator
    4. Add some different activities to the activity
    • EXPECTED RESULT: When selecting activity on diagram it should become selected in the Navigator
    • EXPECTED RESULT: When selecting activity in Navigator it should become selected in the diagram
    • EXPECTED RESULT: Activity node in Navigator should have the same context menu items as the Activity on the diagram
    • EXPECTED RESULT: All child activities should be displayed as subnodes in the Navigator
  1. Exit activity
    1. Select Exit activity in diagram
    2. Select another activity in diagram
    3. Select Exit activity in Navigator
    • EXPECTED RESULT: When selecting activity on diagram it should become selected in the Navigator
    • EXPECTED RESULT: When selecting activity in Navigator it should become selected in the diagram
    • EXPECTED RESULT: Activity node in Navigator should have the same context menu items as the Activity on the diagram


Test suite: Navigator Specific Nodes

Purpose: Check some Navigator-specific nodes
Setup: Open the test project attached here

  1. Add a variable to process or scope
    1. Select the variables node in a process
    2. Try to add a variable from context menu.
    3. Do the same for a scope.
    • EXPECTED RESULT: Process (Scope) should be selected when selecting Variables node
    • EXPECTED RESULT: All variables in the process should be displayed as the Variables node subnodes.
    • EXPECTED RESULT: For all scope-level variables special Scope container nodes should be displayed.
  1. Add a correlation set to process
    1. Select the correlation sets node in a process
    2. Try to add a correlation set from context menu.
    • EXPECTED RESULT: Process should be selected when selecting Correlation Sets node
    • EXPECTED RESULT: All sets in the process should be displayed as the Correlation Sets node subnodes.
  1. Imports node
    1. Select the Imports node in the process
    • EXPECTED RESULT: All imported xsd and wsdl files should be displayed as the subnodes of this node
    • EXPECTED RESULT: Every import node should have Import Type, Namespace and Location editable properties.
  1. PartnerLinkType node
    1. Expand the process wsdl node under the imports node
    • EXPECTED RESULT: There must be a partnerLinkType node for each partnerLinkType defined in the process
    • EXPECTED RESULT: The node label should be the same as the partnerLinkType name
  1. Property node
    1. Expand the process wsdl node under the imports node
    • EXPECTED RESULT: There must be a properties nodes for each property defined in the process
    • EXPECTED RESULT: The node label should be the same as the property name
    • EXPECTED RESULT: The property node should have the editable name property
    • EXPECTED RESULT: There should be propertyAliases subnodes for each propertyAlias for this property
    • EXPECTED RESULT: The propertyAliases nodes should have the PropertyName, MessageType, MessagePart and Query properties


Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo