TS 61 BPELMapperSpec

"BPEL Mapper Test Specification" Test Specification for "NetBeans 6.1"

Author: "Victoria Zhukovskaya"
Version: "1.5"
Last update: "19 February 2008"
Introduction: "This specification provides a usecases of work with help BPEL Mapper in the Netbeans 6.1."
Comments: ""

Contents


Test suite: "Test of BPEL Mapper View"

Purpose: Work with windows of the BPEL Mapper.
Setup: Start IDE. Create Travel Reservation Example. Open bpel-file (design view).


  1. "Open BPEL Mapper View for wrong activity."
    1. "Select on bpel diagram TravelReservationService Process and push 'Mapper' button from toolbar."
    2. "Push 'Design' button from toolbar."
    • EXPECTED RESULT: "BPEL Mapper View has context: 'Unable to show bpel mapper. The bpel mapper does not required for the (TravelReservationService Process) activity'."
  1. "Check content of BPEL Mapper View"
    1. "Select CopyItineraryIn Assign activity on bpel diagram and push 'Mapper' button from toolbar.."
    2. "Push 'Design' button from toolbar."
    • EXPECTED RESULT: "BPEL Mapper View has a content. There are two Business Process Attributes tree trees: input and output trees. There are seven buttons on the top of view: Operator, Boolean, String, Node, Number, Date & Time, BPEL."
    • EXPECTED RESULT: "Design View should be opened - CopyItineraryIn Assign activity is selected.."
  1. "Invoke BPEL Mapper from context menu"
    1. "Select CopyItineraryIn Assign activity. Invoke from context menu "Go To"->"BPEL Mapper"."
    2. "Push 'Design' button from toolbar."
    • EXPECTED RESULT: "BPEL Mapper View has a content. There are two Business Process Attributes tree trees: input and output trees. There are seven buttons on the top of view: Operator, Boolean, String, Node, Number, Date & Time, BPEL."
    • EXPECTED RESULT: "Design View should be opened."


  1. "Check Date and Time button"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar."
    2. "Press on Date & Time button."
    3. "Push 'Design' button from toolbar."
    • EXPECTED RESULT: "BPEL Mapper View has a content. There are two Business Process Attributes tree trees: input and output trees. There are seven buttons on the top of view: Operator, Boolean, String, Node, Number, Date & Time, BPEL."
    • EXPECTED RESULT: "There are 'Duration Literal', 'Current Date', 'Curent Time' and 'Current Date & Time' subitems."
  1. "Check Operator button"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar."
    2. "Press on Operator button."
    3. "Push 'Design' button from toolbar."
    • EXPECTED RESULT: "BPEL Mapper View has a content. There are two Business Process Attributes tree trees: input and output trees. There are seven buttons on the top of view: Operator, Boolean, String, Node, Number, Date & Time, BPEL."
    • EXPECTED RESULT: "There are 'Greater', 'Greater or Equal', 'Less', 'Less or Equal', 'Addition', 'Subtraction', 'Multiplication', 'Division', 'Remainder', 'Negativ', 'Equal', 'Not Equal' subitems."
  1. "Check Boolean button"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar."
    2. "Press on Boolean button."
    3. "Push 'Design' button from toolbar."
    • EXPECTED RESULT: "BPEL Mapper View has a content. There are two Business Process Attributes tree trees: input and output trees. There are seven buttons on the top of view: Operator, Boolean, String, Node, Number, Date & Time, BPEL."
    • EXPECTED RESULT: "There are 'Logical True', ' LogicalFalse', 'Logical And', 'Logical Or', 'Logical Not', 'Language', 'Boolean' subitems."


  1. "Check Nodes button"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar."
    2. "Press on Nodes button."
    3. "Push 'Design' button from toolbar."
    • EXPECTED RESULT: "BPEL Mapper View has a content. There are two Business Process Attributes tree trees: input and output trees. There are seven buttons on the top of view: Operator, Boolean, String, Node, Number, Date & Time, BPEL."
    • EXPECTED RESULT: "There are 'Last', 'Count', 'ID', 'Local Name', 'Name', 'Position', 'Namespace URI', 'Union', 'key' subitems."
  1. "Check Number button"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar."
    2. "Press on Number button."
    3. "Push 'Design' button from toolbar."
    • EXPECTED RESULT: "BPEL Mapper View has a content. There are two Business Process Attributes tree trees: input and output trees. There are seven buttons on the top of view:Operator, Boolean, String, Node, Number, Date & Time, BPEL."
    • EXPECTED RESULT: "There are 'Number Literal', 'Sum', 'Ceiling', 'Floor', 'Number', 'Round', 'Format Number' subitems."
  1. "Check BPEL button"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar."
    2. "Press on BPEL button."
    3. "Push 'Design' button from toolbar."
    • EXPECTED RESULT: "BPEL Mapper View has a content. There are two Business Process Attributes tree trees: input and output trees. There are seven buttons on the top of view: Operator, Boolean, String, Node, Number, Date & Time, BPEL."
    • EXPECTED RESULT: "There are 'Do XSL Transform', 'Get Variable Property', 'Wrap with Service Reference', 'Do Marshal', 'Do Unmarshal'subitems."


  1. "Expand/Collapse Variables"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar."
    2. "Click on Variables node on left panel of Mapper View and select expand all nodes."
    3. "Click on Variables node on right panel of Mapper View and select expand all nodes."
    4. "Click on Variables node on left panel of Mapper View and select collapse all nodes."
    5. "Click on Variables node on right panel of Mapper View and select collapse all nodes."
    6. "Push 'Design' button from toolbar."
    • EXPECTED RESULT: "BPEL Mapper View has a content. There are two Business Process Attributes tree trees: input and output trees."
    • EXPECTED RESULT: "All nodes wich have children can be expanded."
    • EXPECTED RESULT: "All nodes wich have children can be expanded."
    • EXPECTED RESULT: "All nodes wich have children can be collapsed."
    • EXPECTED RESULT: "All nodes wich have children can be collapsed."
  1. "Check BPEL Mapper View for While, If, Wait, For Each, Assign activities"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar."
    2. "Select on bpel diagram HasAirline (If activity) and push 'Mapper' button from toolbar.."
    3. "Select Timer (Wait activity)."
    4. "Drag from Palette For Each activity and drop on diagramm, select this activity."
    5. "Push 'Design' button from toolbar."
    6. "Drag from Palette While activity and drop on diagramm, select this activity."
    • EXPECTED RESULT: "BPEL Mapper View has a content. There are two Business Process Attributes tree trees: input and output trees."
    • EXPECTED RESULT: "BPEL Mapper View has a content for If activity."
    • EXPECTED RESULT: "BPEL Mapper View has a content for Wait activity."
    • EXPECTED RESULT: "BPEL Mapper View has a content for While activity."
    • EXPECTED RESULT: "BPEL Mapper View has a content for For Each activity."


Test suite: "Test Operator Support for BPEL Mapper"

Purpose: Work with windows of the BPEL Mapper.
Setup:Start IDE. Create Synchronous BPEL Process Example. Add to bpel Assign activity. Bpel file has three integer variables and three boolean variables: <variable name="Var1" type="xsd:int"/> <variable name="Var2" type="xsd:int"/> <variable name="Var3" type="xsd:int"/> <variable name="Var1b" type="xsd:boolean"/> <variable name="Var2b" type="xsd:boolean"/> <variable name="Var3b" type="xsd:boolean"/>

  1. "Check Addition Operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3 node in right tree of Mapper View."
    2. "Press on Operator button and select Addition."
    3. "Select Var1 on left panel, drag Var1, and drop on first parameter of operation for addition operator."
    4. "Select Var2 on left panel, drag Var2, and drop on second parameter for addition operator"
    5. "Select Var3 on right panel, drag Var3, and drop on return parameter for addition operator"
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select addition operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is Addition Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1 and first parameter of operation."
    • EXPECTED RESULT: "There is connection between Var2 and second parameter."
    • EXPECTED RESULT: "There is connection between Var3 and return parameter."
    • {{{1}}}
  1. "Check Division operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3 node in right tree of Mapper View."
    2. "Press on Operator button and select Division."
    3. "Select Var1 on left panel, drag Var1, and drop on first parameter for Division operator."
    4. "Select Var2 on left panel, drag Var2, and drop on second parameter for Division operator"
    5. "Select Var3 on right panel, drag Var3, and drop on return parameter for Division operator"
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select Division operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is Division Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1 and first parameter of operation."
    • EXPECTED RESULT: "There is connection between Var2 and second parameter."
    • EXPECTED RESULT: "There is connection between Var3 and return parameter."
    • {{{1}}}
  1. "Check Remainder operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar.Select Var3 node in right tree of Mapper View."
    2. "Press on Operator button and select Remainder."
    3. "Select Var1 on left panel, drag Var1, and drop on first parameter for Remainder operator."
    4. "Select Var2 on left panel, drag Var2, and drop on second parameter for Remainder operator."
    5. "Select Var3 on right panel, drag Var3, and drop on return parameter for Remainder operator."
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select Remainder operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is Remainder Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1 and first parameter of operation."
    • EXPECTED RESULT: "There is connection between Var2 and second parameter."
    • EXPECTED RESULT: "There is connection between Var3 and return parameter."
    • {{{1}}}
  1. "Check Multiplication operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3 node in right tree of Mapper View."
    2. "Press on Operator button and select Multiplication"
    3. "Select Var1 on left panel, drag Var1, and drop on first parameter for Multiplication operator."
    4. "Select Var2 on left panel, drag Var2, and drop on second parameter for Multiplication operator."
    5. "Select Var3 on right panel, drag Var3, and drop on return parameter for Multiplication operator."
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select Multiplication operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is Multiplication Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1 and first parameter of operation."
    • EXPECTED RESULT: "There is connection between Var2 and second parameter."
    • EXPECTED RESULT: "There is connection between Var3 and return parameter."
    • {{{1}}}
  1. "Check Subtraction operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3 node in right tree of Mapper View."
    2. "Press on Operator button and select Subtraction"
    3. "Select Var1 on left panel, drag Var1, and drop on first parameter for Subtraction operator."
    4. "Select Var2 on left panel, drag Var2, and drop on second parameter for Subtraction operator."
    5. "Select Var3 on right panel, drag Var3, and drop on return parameter for Subtraction operator."
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select Subtraction operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is Subtraction Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1 and first parameter of operation."
    • EXPECTED RESULT: "There is connection between Var2 and second parameter."
    • EXPECTED RESULT: "There is connection between Var3 and return parameter."
    • {{{1}}}
  1. "Check Equal operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar.Select Var3b node in right tree of Mapper View."
    2. "Press on Operator button and select Equal"
    3. "Select Var1 on left panel, drag Var1, and drop on first parameter for Equal operator."
    4. "Select Var2 on left panel, drag Var2, and drop on second parameter for Equal operator."
    5. "Select Var3b on right panel, drag Var3b, and drop on return parameter for Equal operator."
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select Equal operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is Equal Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1 and first parameter."
    • EXPECTED RESULT: "There is connection between Var2 and second parameter."
    • EXPECTED RESULT: "There is connection between Var3b and return parameter."
    • {{{1}}}
  1. "Check Greater or Equal operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3b node in right tree of Mapper View."
    2. "Press on Operator button and select greater or equal"
    3. "Select Var1 on left panel, drag Var1, and drop on first parameter for greater or equal operator."
    4. "Select Var2 on left panel, drag Var2, and drop on second parameter for greater or equal operator."
    5. "Select Var3b on right panel, drag Var3b, and drop on return parameter for greater or equal operator."
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select greater or equal operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is greater or equal Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1 and first parameter."
    • EXPECTED RESULT: "There is connection between Var2 and second parameter."
    • EXPECTED RESULT: "There is connection between Var3b and return parametr."
    • {{{1}}}
  1. "Check Greater operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3b node in right tree of Mapper View."
    2. "Press on Operator button and select greater."
    3. "Select Var1 on left panel, drag Var1, and drop on first parameter for greater operator."
    4. "Select Var2 on left panel, drag Var2, and drop on second parameter for greater operator."
    5. "Select Var3b on right panel, drag Var3b, and drop on return parameter for greater operator."
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select greater operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is greater Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1 and first parameter."
    • EXPECTED RESULT: "There is connection between Var2 and second parameter."
    • EXPECTED RESULT: "There is connection between Var3b and return parameter."
    • {{{1}}}
  1. "Check Less or Equal operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3b node in right tree of Mapper View."
    2. "Press on Operator button and select Less or equal"
    3. "Select Var1 on left panel, drag Var1, and drop on first parameter. for Less or equal operator."
    4. "Select Var2 on left panel, drag Var2, and drop on second parameter for Less or equal operator."
    5. "Select Var3b on right panel, drag Var3b, and drop on return parameter for Less or equal operator."
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select Less or equal operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is Less or equal Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1 and first parameter."
    • EXPECTED RESULT: "There is connection between Var2 and second parameter."
    • EXPECTED RESULT: "There is connection between Var3b and return parameter."
    • {{{1}}}


  1. "Check Less operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3b node in right tree of Mapper View."
    2. "Press on Operator button and select Less."
    3. "Select Var1 on left panel, drag Var1, and drop on first parameter for Less operator."
    4. "Select Var2 on left panel, drag Var2, and drop on second parameter for Less operator."
    5. "Select Var3b on right panel, drag Var3b, and drop on return parameter for Less operator."
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select Less operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is Less then Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1 and first parameter."
    • EXPECTED RESULT: "There is connection between Var2 and second parameter."
    • EXPECTED RESULT: "There is connection between Var3b and return parameter."
    • {{{1}}}
  1. "Check Not Equal operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3b node in right tree of Mapper View."
    2. "Press on Operator button and select EQUAL"
    3. "Select Var1 on left panel, drag Var1, and drop on first parameter for not equal operator."
    4. "Select Var2 on left panel, drag Var2, and drop on second parameter for not equal operator."
    5. "Select Var3b on right panel, drag Var3b, and drop on return parameter for not equal operator."
    6. "Select Source View for bpel file."
    7. "Select Mapper View.Select not equal operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is not equal Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1 and first parameter."
    • EXPECTED RESULT: "There is connection between Var2 and second parameter."
    • EXPECTED RESULT: "There is connection between Var3b and return parameter."
    • {{{1}}}
  1. "Check Negative operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3 node in right tree of Mapper View."
    2. "Press on Operator button and select Negative"
    3. "Select Var1 on left panel, drag Var1, and drop on number1 for Negative operator."
    4. "Select Var3 on right panel, drag Var3, and drop on return number for Negative operator."
    5. "Select Source View for bpel file."
    6. "Select Mapper View. Select Negative operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is Negative Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1 and first parameter of operation."
    • EXPECTED RESULT: "There is connection between Var3 and return parameter."
    • {{{1}}}



Test suite: "Test Boolean Support for BPEL Mapper"

Purpose: Work with windows of the BPEL Mapper.
Setup:Start IDE. Create Synchronous BPEL Process Example. Add to bpel Assign activity. Bpel file has three integer variables and three boolean variables: <variable name="Var1" type="xsd:int"/> <variable name="Var2" type="xsd:int"/> <variable name="Var3" type="xsd:int"/> <variable name="Var1b" type="xsd:boolean"/> <variable name="Var2b" type="xsd:boolean"/> <variable name="Var3b" type="xsd:boolean"/>

  1. "Check Boolean operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3b node in right tree of Mapper View."
    2. "Press on Boolean button and select boolean."
    3. "Select Var1 on left panel, drag Var1 and drop on first parameter for boolean operator."
    4. "Select Var3b on right panel, drag Var3b, and drop on return parameter for boolean operator."
    5. "Select Source View for bpel file."
    6. "Select Mapper View. Select boolean operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is boolean Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1 and first parameter."
    • EXPECTED RESULT: "There is connection between Varb3 and return parameter."
    • {{{1}}}
  1. "Check Logical Not operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3b node in right tree of Mapper View."
    2. "Press on Boolean button and select Logical Not"
    3. "Select Var1b on left panel, drag Var1 and drop on first input parameter for Logical Not operator."
    4. "Select Var3b on right panel, drag Var3b, and drop on return parameter for Logical Not operator."
    5. "Select Source View for bpel file."
    6. "Select Mapper View. Select Logical Not operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is Logical Not Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1b and first input parameter."
    • EXPECTED RESULT: "There is connection between Var3b and return parameter."
    • {{{1}}}
  1. "Check Logical True operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3b node in right tree of Mapper View."
    2. "Press on Boolean button and select Logical True"
    3. "Select Var3b on right panel, drag Var3b, and drop on return parameter for Logical True operator."
    4. "Select Source View for bpel file."
    5. "Select Mapper View. Select Logical True operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is Logical True Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var3b and return parameter."
    • {{{1}}}
  1. "Check Logical False operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3b node in right tree of Mapper View."
    2. "Press on Boolean button and select Logical False"
    3. "Select Var3b on right panel, drag Var3b, and drop on return boolean parameter for Logical False operator."
    4. "Select Source View for bpel file."
    5. "Select Mapper View. Select Logical False operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is Logical False Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var3b and return boolean parameter"
    • {{{1}}}
  1. "Check Language operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3b node in right tree of Mapper View."
    2. "Press on String button and select string literal."
    3. "Press on Boolean button and select Language"
    4. "Select string literal on view, drag it and drop on string parameter of Language operator."
    5. "Select Var3b on right panel, drag Var3b, and drop on return parameter for Language operator."
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select false operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is string literal Operator on Mapper view."
    • EXPECTED RESULT: "There is Language Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between string literal and string input parametr."
    • EXPECTED RESULT: "There is connection between Var3b and return boolean parameter ."
    • {{{1}}}
  1. "Check Logical And operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3b node in right tree of Mapper View."
    2. "Press on Operator button and select Logical And"
    3. "Select Var1b on left panel, drag Var1b, and drop on first boolean parameter for Logical And operator."
    4. "Select Var2b on left panel, drag Var2b, and drop on second boolean parameter for Logical And operator."
    5. "Select Var3b on right panel, drag Var3b, and drop on return boolean parameter for Logical And operator."
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select Logical And operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is Logical And Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1b and first boolean parameter."
    • EXPECTED RESULT: "There is connection between Var2b and second boolean parameter."
    • EXPECTED RESULT: "There is connection between Var3b and return boolean parameter."
    • {{{1}}}
  1. "Check Logical Or operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3b node in right tree of Mapper View."
    2. "Press on Operator button and select Logical Or"
    3. "Select Var1b on left panel, drag Var1b, and drop on first boolean parameter for Logical Or operator."
    4. "Select Var2b on left panel, drag Var2b, and drop on second boolean parameter for Logical Or operator."
    5. "Select Var3b on right panel, drag Var3b, and drop on return boolean parameter for Logical Or operator."
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select Logical Or operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is Logical Or Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1b and first boolean parameter."
    • EXPECTED RESULT: "There is connection between Var2b and second boolean parameter."
    • EXPECTED RESULT: "There is connection between Var3b and return boolean parameter."
    • {{{1}}}



Test suite: "Test String Support for BPEL Mapper"

Purpose: Work with windows of the BPEL Mapper.
Setup:Start IDE. Create Synchronous BPEL Process Example. Add to bpel Assign activity. Bpel file has four string, three boolean and three integer variables: <variable name="Var1b" type="xsd:boolean"/> <variable name="Var2b" type="xsd:boolean"/> <variable name="Var3b" type="xsd:boolean"/> <variable name="Var1str" type="xsd:string"/> <variable name="Var2str" type="xsd:string"/> <variable name="Var3str" type="xsd:string"/> <variable name="Var4str" type="xsd:string"/>

<variable name="Var1" type="xsd:int"/>  

<variable name="Var2" type="xsd:int"/> <variable name="Var3" type="xsd:int"/>



  1. "Check Concat operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3str node in right tree of Mapper View. "
    2. "Press on String button and select concat."
    3. "Select Var1str on left panel, drag Var1str and drop on string parameter for concat."
    4. "Select Var2str on left panel, drag Var2str and drop on next string parameter for concat."
    5. "Select Var3str on right panel, drag Var3str and drop on return string parameter for concat."
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select concat operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is concat Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1str and string parameter."
    • EXPECTED RESULT: "There is connection between Var2str and next string parameter. And there is one more string argument on concat operator element."
    • EXPECTED RESULT: "There is connection between Var3str and return string parameter."
    • {{{1}}}
  1. "Check Substring After operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3str node in right tree of Mapper View. "
    2. "Press on String button and select substring after."
    3. "Select Var1str on left panel, drag Var1str and drop on first string arg for substring after."
    4. "Select Var2str on left panel, drag Var2str and drop on second string arg for substring after."
    5. "Select Var3str on right panel, drag Var3str and drop on return string parameter for substring after."
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select substring after operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is substring after Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1str and first string arg ."
    • EXPECTED RESULT: "There is connection between Var2str and second string arg ."
    • EXPECTED RESULT: "There is connection between Var3str and return string parameter."
    • {{{1}}}
  1. "Check Substring Before operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3str node in right tree of Mapper View. "
    2. "Press on String button and select substring before"
    3. "Select Var1str on left panel, drag Var1str and drop on first string arg for substring before"
    4. "Select Var2str on left panel, drag Var2str and drop on next string arg for substring before"
    5. "Select Var3str on right panel, drag Var3str and drop on return string for substring before"
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select substring before operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is substring before Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1str and first string arg."
    • EXPECTED RESULT: "There is connection between Var2str and next string arg."
    • EXPECTED RESULT: "There is connection between Var3str and return string."
    • {{{1}}}
  1. "Check Starts With operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3b node in right tree of Mapper View. "
    2. "Press on String button and select starts with"
    3. "Select Var1str on left panel, drag Var1str and drop on first string arg for starts with"
    4. "Select Var2str on left panel, drag Var2str and drop on next string arg for starts with"
    5. "Select Var3str on right panel, drag Var3b and drop on return boolean parameter for starts with"
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select starts with operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is starts with Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1str and first string arg."
    • EXPECTED RESULT: "There is connection between Var2str and next string arg."
    • EXPECTED RESULT: "There is connection between Var3b and return boolean parameter"
    • {{{1}}}
  1. "Check Contains operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3b node in right tree of Mapper View. "
    2. "Press on String button and select contains"
    3. "Select Var1str on left panel, drag Var1str and drop on first string arg for contains"
    4. "Select Var2str on left panel, drag Var2str and drop on next string arg for contains"
    5. "Select Var3str on right panel, drag Var3b and drop on return boolean parameter for contains"
    6. "Select Source View for bpel file."
    7. "Select Mapper View. Select contains operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is contains Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1str and first string arg."
    • EXPECTED RESULT: "There is connection between Var2str and next string arg."
    • EXPECTED RESULT: "There is connection between Var3b and return boolean parameter"
    • {{{1}}}
  1. "Check String operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3str node in right tree of Mapper View. "
    2. "Press on String button and select string"
    3. "Select Var1str on left panel, drag Var1b and drop on first input parameter for string"
    4. "Select Var3str on right panel, drag Var3str and drop on return string parameter for string"
    5. "Select Source View for bpel file."
    6. "Select Mapper View. Select string operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is string Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1b and input parameter."
    • EXPECTED RESULT: "There is connection between Var3str and return string."
    • {{{1}}}
  1. "Check String Literal operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var4str node in right tree of Mapper View. "
    2. "Press on String button and select string literal."
    3. "Double click on string literal element and enter 'mystring'. Press enter."
    4. "Select Var3str on right panel, drag Var4str and drop on 'mystring' for string literal"
    5. "Select Source View for bpel file."
    6. "Select Mapper View. Select string literal operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is string literal Operator on Mapper view."
    • EXPECTED RESULT: "There is 'mystring' in string literal Operator."
    • EXPECTED RESULT: "There is connection between Var4str and 'mystring'."
    • {{{1}}}
  1. "Check Translate operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var4str node in right tree of Mapper View. "
    2. "Press on String button and select translate"
    3. "Select Var1str on left panel, drag Var1str and drop on first string arg for translate"
    4. "Select Var2str on left panel, drag Var2str and drop on next string arg for translate"
    5. "Select Var3str on left panel, drag Var3str and drop on next string arg for translate"
    6. "Select Var4str on right panel, drag Var4str and drop on return string for translate"
    7. "Select Source View for bpel file."
    8. "Select Mapper View. Select translate operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is translate Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1str and first string arg."
    • EXPECTED RESULT: "There is connection between Var2str and next string arg."
    • EXPECTED RESULT: "There is connection between Var3str and next string arg."
    • EXPECTED RESULT: "There is connection between Var4str and return string."
    • {{{1}}}
  1. "Check Substring operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3 node in right tree of Mapper View. "
    2. "Press on String button and select substring"
    3. "Select Var1str on left panel, drag Var1str and drop on first string arg for substring"
    4. "Select Var2 on left panel, drag Var2 and drop on input parameter for substring"
    5. "Select Var3 on left panel, drag Var3 and drop on next input arg for substring"
    6. "Select Var4str on right panel, drag Var4str and drop on return string for substring"
    7. "Select Source View for bpel file."
    8. "Select Mapper View. Select substring operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is substring Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1str and first string arg."
    • EXPECTED RESULT: "There is connection between Var2 and second parameter."
    • EXPECTED RESULT: "There is connection between Var3 and next parameter."
    • EXPECTED RESULT: "There is connection between Var4str and return string."
    • {{{1}}}
  1. "Check String Length operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var3 node in right tree of Mapper View. "
    2. "Press on String button and select string length"
    3. "Select Var1str on left panel, drag Var1str and drop on first string arg for string length"
    4. "Select Var3 on right panel, drag Var3 and drop on return number for string length"
    5. "Select Source View for bpel file."
    6. "Select Mapper View. Select string length operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is string length Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1str and first string arg."
    • EXPECTED RESULT: "There is connection between Var3 and return number"
    • {{{1}}}
  1. "Check Normalize Space operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var4str node in right tree of Mapper View. "
    2. "Press on String button and select string length"
    3. "Select Var1str on left panel, drag Var1str and drop on first string arg for normalize space"
    4. "Select Var3str on right panel, drag Var4str and drop on return string for normalize space"
    5. "Select Source View for bpel file."
    6. "Select Mapper View. Select normalize space operator on BPEL Mapper View. Press Del. Save All."
    • EXPECTED RESULT: "BPEL Mapper View has a content."
    • EXPECTED RESULT: "There is normalize space Operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1str and first string arg."
    • EXPECTED RESULT: "There is connection between Var4str and return string"
    • {{{1}}}


Test suite: "Test Number Support for BPEL Mapper"

Purpose: Work with windows of the BPEL Mapper.
Setup:Start IDE. Create Synchronous BPEL Process Example. Add to bpel Assign activity. Bpel file has two integer variables and one string variable: <variable name="Var1" type="xsd:int"/> <variable name="Var2" type="xsd:int"/> <variable name="Var1str" type="xsd:string"/> . Change element element name="paramA" to xsd file to element: <element name="paramA" type="xsd:string" minOccurs="0" maxOccurs="18" id="MyID1"</element>.

  1. "Check Cailing operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var2 node in right tree of Mapper View. "
    2. "Press Number button and select ceiling item."
    3. "Connect Var1 from left panel of Mapper view and number on ceiling operator on Mapper view."
    4. "Connect Var2 from right panel of Mapper view and return number on ceiling operator on Mapper view."
    5. "Select Source view of bpel file."
    6. "Select Design view of bpel file. Select assign activity on bpel view. Select ceiling element on Mapper view and press Del. "
    • EXPECTED RESULT: "There is Mapper view and the view has a content."
    • EXPECTED RESULT: "There is ceiling element on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1 on left panel of Mapper view and number arg on ceiling operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var2 on right panel of Mapper view and return number on ceiling operator on Mapper view."
    • {{{1}}}
    • EXPECTED RESULT: "There is no ceiling element on Mapper view."
  # "Check Floor operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var2 node in right tree of Mapper View. "
    2. "Press Number button and select floor item."
    3. "Connect Var1 from left panel of Mapper view and number arg on floor operator on Mapper view."
    4. "Connect Var2 from right panel of Mapper view and return number on floor operator on Mapper view."
    5. "Select Source view of bpel file."
    6. "Select Design view of bpel file. Select assign activity on bpel view. Select floor element on Mapper view and press Del. "
    • EXPECTED RESULT: "There is Mapper view and the view has a content."
    • EXPECTED RESULT: "There is floor element on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1 on left panel of Mapper view and number arg on floor operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var2 on right panel of Mapper view and return number on floor operator on Mapper view."
    • {{{1}}}
    • EXPECTED RESULT: "There is no floor element on Mapper view."
  1. "Check Round operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var2 node in right tree of Mapper View. "
    2. "Press Number button and select round item."
    3. "Connect Var1 from left panel of Mapper view and number arg on round operator on Mapper view."
    4. "Connect Var2 from right panel of Mapper view and return number on round operator on Mapper view."
    5. "Select Source view of bpel file."
    6. "Select Design view of bpel file. Select assign activity on bpel view. Select round element on Mapper view and press Del. "
    • EXPECTED RESULT: "There is Mapper view and the view has a content."
    • EXPECTED RESULT: "There is round element on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1 on left panel of Mapper view and number arg on round operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var2 on right panel of Mapper view and return number on round operator on Mapper view."
    • {{{1}}}
    • EXPECTED RESULT: "There is no round element on Mapper view."
  1. "Check Number operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var2 node in right tree of Mapper View. "
    2. "Press Number button and select number item."
    3. "Connect Var1str from left panel of Mapper view and Any Type on number operator on Mapper view."
    4. "Connect Var2 from right panel of Mapper view and return number on number operator on Mapper view."
    5. "Select Source view of bpel file."
    6. "Select Design view of bpel file. Select assign activity on bpel view. Select number element on Mapper view and press Del. "
    • EXPECTED RESULT: "There is Mapper view and the view has a content."
    • EXPECTED RESULT: "There is number element on Mapper view."
    • EXPECTED RESULT: "There is connection between Var1str on left panel of Mapper view and Any Type on number operator on Mapper view."
    • EXPECTED RESULT: "There is connection between Var2 on right panel of Mapper view and return number on number operator on Mapper view."
    • {{{1}}}
    • EXPECTED RESULT: "There is no number element on Mapper view."
  1. "Check Number literal operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select Var2 node in right tree of Mapper View. "
    2. "Press Number button and select number literal item."
    3. "Double click on number literal element on Mapper view and enter '18'. Press Enter."
    4. "Connect Var2 from right panel of Mapper view and '18' on number literal operator on Mapper view."
    5. "Select Source view of bpel file."
    6. "Select Design view of bpel file. Select assign activity on bpel view. Select number literal element on Mapper view and press Del. "
    • EXPECTED RESULT: "There is Mapper view and the view has a content."
    • EXPECTED RESULT: "There is number literal element on Mapper view."
    • EXPECTED RESULT: "There is '18' on number literal on Mapper view."
    • EXPECTED RESULT: "There is connection between Var2 on right panel of Mapper view and '18' on number literal operator on Mapper view."
    • {{{1}}}
    • EXPECTED RESULT: "There is no number literal element on Mapper view."
  1. "Check Sum operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar."
    2. "Press Number button and select Sum item."
    3. "Connect inputVar/inputType/paramA from left panel of Mapper view and node-set on Sum operator on Mapper view."
    4. "Connect outputVar/resultType/paramA from right panel of Mapper view and return number on Sum operator on Mapper view."
    5. "Select Source view of bpel file."
    6. "Select Design view of bpel file. Select assign activity on bpel view. Select number literal element on Mapper view and press Del. "
    • EXPECTED RESULT: "There is Mapper view and the view has a content."
    • EXPECTED RESULT: "There is Sum element on Mapper view."
    • EXPECTED RESULT: "There is connection between inputVar/inputType/paramA on right panel of Mapper view and node-set on Sum operator on Mapper view."
    • EXPECTED RESULT: "There is connection between outputVar/resultType/paramA on right panel of Mapper view and return number on Sum operator on Mapper view."
    • EXPECTED RESULT: "There is <copy> <from>sum($inputVar.inputType/ns2:paramA)</from><to>$outputVar.resultType/ns2:paramA</to> </copy> for assign activity."
    • EXPECTED RESULT: "There is no Sum element on Mapper view."


Test suite: "Test Node Support for BPEL Mapper"

Purpose: Work with windows of the BPEL Mapper.
Setup:Start IDE. Create Synchronous BPEL Process Example. Add to bpel Assign activity. Bpel file has two integer variables and one string variable: <variable name="Var1" type="xsd:int"/> <variable name="Var2" type="xsd:int"/> <variable name="Var1str" type="xsd:string"/> . Change element name="paramA" from xsd file to element: <element name="paramA" type="xsd:string" minOccurs="0" maxOccurs="18" id="MyID1"</element>.

  1. "Check Count operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select outputVar/resultType/paramA node in right tree of Mapper View. "
    2. "Press Node button and select Count item."
    3. "Connect inputVar/inputType/paramA from left panel of Mapper view and node set on Count operator on Mapper view."
    4. "Connect outputVar/resultType/paramA from right panel of Mapper view and return number on Count operator on Mapper view."
    5. "Select Source view of bpel file."
    6. "Select Design view of bpel file. Select assign activity on bpel view. Select Count element on Mapper view and press Del. "
    • EXPECTED RESULT: "There is Mapper view and the view has a content."
    • EXPECTED RESULT: "There is Count element on Mapper view."
    • EXPECTED RESULT: "There is connection between inputVar/inputType/paramA on left panel of Mapper view and node set on Count operator on Mapper view."
    • EXPECTED RESULT: "There is connection between outputVar/resultType/paramA on right panel of Mapper view and return number on Count operator on Mapper view."
    • EXPECTED RESULT: "There is <copy> <from>count($inputVar.inputType/ns2:paramA)</from><to>$outputVar.resultType/ns2:paramA</to> </copy> for assign activity."
    • EXPECTED RESULT: "There is no Count element on Mapper view."
  1. "Check Local Name operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select outputVar/resultType/paramA node in right tree of Mapper View. "
    2. "Press Node button and select Local Name item."
    3. "Connect inputVar/inputType/paramA from left panel of Mapper view and node on Local Name operator on Mapper view."
    4. "Connect outputVar/resultType/paramA from right panel of Mapper view and return string on Local Name operator on Mapper view."
    5. "Select Source view of bpel file."
    6. "Select Design view of bpel file. Select assign activity on bpel view. Select Local Name element on Mapper view and press Del. "
    • EXPECTED RESULT: "There is Mapper view and the view has a content."
    • EXPECTED RESULT: "There is Local Name element on Mapper view."
    • EXPECTED RESULT: "There is connection between inputVar/inputType/paramA on left panel of Mapper view and node on Local Name operator on Mapper view."
    • EXPECTED RESULT: "There is connection between outputVar/resultType/paramA on right panel of Mapper view and return string on Local Name operator on Mapper view."
    • EXPECTED RESULT: "There is <copy> <from>local-name($inputVar.inputType/ns2:paramA)</from><to>$outputVar.resultType/ns2:paramA</to> </copy> for assign activity."
    • EXPECTED RESULT: "There is no Local Name element on Mapper view."
  1. "Check Name operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select outputVar/resultType/paramA node in right tree of Mapper View. "
    2. "Press Node button and select Name item."
    3. "Connect inputVar/inputType/paramA from left panel of Mapper view and node-set on Name operator on Mapper view."
    4. "Connect outputVar/resultType/paramA from right panel of Mapper view and return string on Name operator on Mapper view."
    5. "Select Source view of bpel file."
    6. "Select Design view of bpel file. Select assign activity on bpel view. Select Name element on Mapper view and press Del. "
    • EXPECTED RESULT: "There is Mapper view and the view has a content."
    • EXPECTED RESULT: "There is Name element on Mapper view."
    • EXPECTED RESULT: "There is connection between inputVar/inputType/paramA on left panel of Mapper view and node-set on Name operator on Mapper view."
    • EXPECTED RESULT: "There is connection between outputVar/resultType/paramA on right panel of Mapper view and return string on Name operator on Mapper view."
    • EXPECTED RESULT: "There is <copy> <from>name($inputVar.inputType/ns2:paramA)</from><to>$outputVar.resultType/ns2:paramA</to> </copy> for assign activity."
    • EXPECTED RESULT: "There is no Name element on Mapper view."
  1. "Check Namespace URI operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select outputVar/resultType/paramA node in right tree of Mapper View. "
    2. "Press Node button and select Namespace URI item."
    3. "Connect inputVar/inputType/paramA from left panel of Mapper view and node on Namespace URI operator on Mapper view."
    4. "Connect outputVar/resultType/paramA from right panel of Mapper view and return string on Namespace URI operator on Mapper view."
    5. "Select Source view of bpel file."
    6. "Select Design view of bpel file. Select assign activity on bpel view. Select Namespace URI element on Mapper view and press Del. "
    • EXPECTED RESULT: "There is Mapper view and the view has a content."
    • EXPECTED RESULT: "There is Namespace URI element on Mapper view."
    • EXPECTED RESULT: "There is connection between inputVar/inputType/paramA on left panel of Mapper view and node on Namespace URI operator on Mapper view."
    • EXPECTED RESULT: "There is connection between outputVar/resultType/paramA on right panel of Mapper view and return string on Namespace URI operator on Mapper view."
    • EXPECTED RESULT: "There is <copy> <from>namespace-uri($inputVar.inputType/ns2:paramA)</from><to>$outputVar.resultType/ns2:paramA</to> </copy> for assign activity."
    • EXPECTED RESULT: "There is no Namespace URI element on Mapper view."
  1. "Check Position operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select outputVar/resultType/paramA node in right tree of Mapper View. "
    2. "Press Node button and select Position item."
    3. "Connect outputVar/resultType/paramA from right panel of Mapper view and return number on Position operator on Mapper view."
    4. "Select Source view of bpel file."
    5. "Select Design view of bpel file. Select assign activity on bpel view. Select Position element on Mapper view and press Del. "
    • EXPECTED RESULT: "There is Mapper view and the view has a content."
    • EXPECTED RESULT: "There is Position element on Mapper view."
    • EXPECTED RESULT: "There is connection between outputVar/resultType/paramA on right panel of Mapper view and return number on Position operator on Mapper view."
    • EXPECTED RESULT: "There is <copy> <from>position()</from><to>$outputVar.resultType/ns2:paramA)</to> </copy> for assign activity."
    • EXPECTED RESULT: "There is no Position element on Mapper view."
  1. "Check Last operator"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select outputVar/resultType/paramA node in right tree of Mapper View."
    2. "Right-Click on inputVar/inputType/paramA from left panel of Mapper view and select "Add Predicate ...". Select output variable - Pridicate."
    3. "Press Node button and select Last item on Predicate window."
    4. "Connect Predicate from right panel of Predicate view and return number on Last operator on Predicate view."
    5. "Press Ok."
    6. "Connect inputVar/inputType/paramA last() from left panel of Mapper view and outputVar/resultType/paramA from right panel of Mapper view."
    7. "Select Source view of bpel file."
    8. "Select Design view of bpel file. Select assign activity on bpel view. Select connection on Mapper view and press Del. "
    • EXPECTED RESULT: "There is Mapper view and the view has a content."
    • EXPECTED RESULT: "There is Predicate window."
    • EXPECTED RESULT: "There is Last element on Mapper view."
    • EXPECTED RESULT: "There is connection between Predicate on left panel of Predicate view and return number on Last operator on Predicate view."
    • EXPECTED RESULT: "Predicate window is closed."
    • EXPECTED RESULT: "There is connection between outputVar/resultType/paramA on right panel of Mapper view and inputVar/inputType/paramA last() from left panel of Mapper view."
    • EXPECTED RESULT: "There is <copy> <from>$inputVar.inputType/ns2:paramA last()</from><to>$outputVar.resultType/ns2:paramA</to> </copy> for assign activity."
    • EXPECTED RESULT: "There is no connection between outputVar/resultType/paramA on right panel of Mapper view and inputVar/inputType/paramA last() from left panel of Mapper view."
  1. "Check New/Edit/Delete Predicate menu items"
    1. "Select on bpel diagram a Assign Activity and push 'Mapper' button from toolbar. Select outputVar/resultType/paramA node in right tree of Mapper View."
    2. "Right-Click on inputVar/inputType/paramA from left panel of Mapper view and select "Add Predicate ...". Select output variable - Pridicate."
    3. "Press Node button and select Last item on Predicate window."
    4. "Connect Predicate from right panel of Predicate view and return number on Last operator on Predicate view."
    5. "Press Ok."
    6. "Connect inputVar/inputType/paramA last() from left panel of Mapper view and outputVar/resultType/paramA from right panel of Mapper view."
    7. "Select Source view of bpel file."
    8. "Select Design view of bpel file. Select assign activity on bpel view. Goto Mapper view. Delete connection between inputVar.inputType/paramA last() and outputVar.resultType/paramA. Right click on inputVar/inputType/paramA last() from left panel and select Edit Predicate. "
    9. "Select Last operator and press Del."
    10. "Press Node button and select Position item on Predicate window."
    11. "Connect Predicate from right panel of Predicate view and return number on Position operator on Predicate view."
    12. "Press Ok."
    13. "Connect inputVar/inputType/paramA position() from left panel of Mapper view and outputVar/resultType/paramA from right panel of Mapper view."
    14. "Select Source view of bpel file."
    15. "Select Design view of bpel file. Select assign activity on bpel view. Go to Mapper view. Right click on inputVar/inputType/paramA position() from left panel and select Delete Predicate.Press Yes."


    • EXPECTED RESULT: "There is Mapper view and the view has a content."
    • EXPECTED RESULT: "There is Predicate window."
    • EXPECTED RESULT: "There is Last element on Mapper view."
    • EXPECTED RESULT: "There is connection between Predicate on left panel of Predicate view and return number on Last operator on Predicate view."
    • EXPECTED RESULT: "Predicate window is closed."
    • EXPECTED RESULT: "There is connection between outputVar/resultType/paramA on right panel of Mapper view and inputVar/inputType/paramA last() from left panel of Mapper view."
    • EXPECTED RESULT: "There is <copy> <from>$inputVar.inputType/ns2:paramA last()</from><to>$outputVar.resultType/ns2:paramA)</to> </copy> for assign activity."
    • EXPECTED RESULT: "There is Predicate window. There is Last operator on Predicate view."
    • EXPECTED RESULT: "There is no Last operator on Predicate view."
    • EXPECTED RESULT: "There is Position element on Mapper view."
    • EXPECTED RESULT: "There is connection between Predicate on left panel of Predicate view and return number on Position operator on Predicate view."
    • EXPECTED RESULT: "Predicate window is closed."
    • EXPECTED RESULT: "There is connection between outputVar/resultType/paramA on right panel of Mapper view and inputVar/inputType/paramA position() from left panel of Mapper view."
    • EXPECTED RESULT: "There is <copy> <from>$inputVar.inputType/ns2:paramA) position()</from><to>$outputVar.resultType/ns2:paramA)</to> </copy> for assign activity."
    • EXPECTED RESULT: "There is no connection between outputVar/resultType/paramA on right panel of Mapper view and inputVar/inputType/paramA position() from left panel of Mapper view."


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