TFTCSoaBpel

BPEL Test Specification

Author: KeiichiOono
Version: 1.1
Lastupdate: 2008/05/13
Introduction: Basic Testing of the localized UI for CASA editor.

Contents

Test suite: Developing a Simple Synchronous BPEL Process

Purpose: Test the localized UI for BPEL Designer, and Mapper
Setup: GlassFish V2 You need to install bundled GlassFish V2 with OpenESB. If you don't have them, you can install it from the NetBeans installer.

  1. Do the tutorial
    • Comments: The 6.0 tutorial is used for both 6.0 and 6.1 testing. When you test 6.1 with 6.0 tutorial, please note the following things:
      "Adding If Activity to the Design View"
      3. Double click to open BPEL Mapper in the editor pane (not bottom of the IDE)
      "Adding Assign Activity to the Design View" 3. Double click Assign2 activity to open BPEL Mapper
      4. In the Input pane (right-side), open node Variables > outputVar and select resultType. Then, select concat as described in the web page
      5 and 6. Double click first field in the concat box, type "Hello " and press Enter
    • Setup: Make sure to undeploy "SynchronousSampleApplication" from your application server if you did "CASA Editor Test Spec." :
      (1) Open GlassFish > JBI > Service Assemblies
      (2) Right-click SynchronousSampleApplication and select Undeploy
    1. Do the tutorial "Developing a Simple Synchronous BPEL Process":
      For 6.0 and 6.1 testing: http://www.netbeans.org/kb/60/soa/synchsample.html
    2. Check the translated UI messages and product behavior.
    • EXPECTED RESULT: The translated UI is good to understand. The product works without any errors.
  2. Input native language into the test files (optional)
    • Setup: Undeploy SynchronousSampleApplicaiton from your application server as follows:
      (1) In the Serivice window, open node GlassFish > JBI > Service Assemblies
      (2) Right-click SynchronousSampleApplication and select Undeploy
    1. Open SynchronousSample.bpel
    2. Select If1 to see it in the BPEL Mapper. If you are testing in 6.1, double-click If1 to open BPEL Mapper
    3. Double-click literal string box which you entered "Hello World, and replace "Hello World" with your native language.
    4. Back to Design
    5. Click Assign2 to open it in BPEL Mapper. If you are testing 6.1, double-click Assign2 to open BPEL Mapper
    6. Double-click literal string box which you entered "Hello ", and replace "Hello " with your native language.
    7. Back to Design
    8. Undeploy SynchronousSampleApplication and deploy it again.
    9. In the project window, open node Test > MyTestCase
    10. Double click Input, and replace string in <syn:paramA> with your native language
    11. Double click Output, and delete all the lines
    12. Delete all test reults to clean up
    13. Save all
    14. Right-click MyTestCase, and select Run
    15. "Overwrite Empty Output?" dialog is displayed. Click Yes
    • EXPECTED RESULT: Native strings should be stored into the Output. You can check it by double-click Output

}}
}}

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