Run the sample

Execute the following steps to run the three tests.

USER table for reference:-

USER ID
PASSWORD
pa1
pa1edu
ca1
ca1edu
buyer1
buyer1edu
ap1
ap1edu

Test – Category Case A

  1.  Open Accounts Invoice Process from Processes à Business Process Definitions à Accounts Invoice Process.
  2. Click on the  icon as shown below-

  1. Click Yes on the Switch Perspective dialogue box.
  2. It will take you to the Inspector tab. Click on the Received event and then .

  1.  It will ask to pick the user select pa1 and click OK
  2.  Enter password for pa1, enter pa1edu.
  3. It will take you to the internet browser. Click on Attach Document. Browse a invoice picture professional1_example.png and click OK.
  4. Click Submit Invoice
  5. Switch back to the Lombardi Authoring Environment tool.
  6. Click on refresh icon –

  1. Select an event with the status Received and click
  2. It will ask to pick the user select ca1 and click OK
  3. Enter password for pa1, enter ca1edu.
  4.  It will take you to the internet browser as shown below-

  1. Enter the values as shown below. Note: The value in Category fiels is “CaseA” without any space.


  1. Scroll down the browser until you see Allocate Category. Click on it.
  2. Switch back to the Lombardi Authoring Environment tool.
  3. Click on refresh icon –

  1. You will the events as shown below-

  1. Select an event with the status Received and click
 

  1. It will ask to pick the user select ap1 and click OK
  2. Enter password for pa1, enter ap1edu.
  3. It will take you to the internet browser.
  4. Scroll down the browser until you see Prepare Cheque. Click on it.
  5. You will see another page as shown below-

  1. Enter the values and click Print Cheque
  2. Switch back to the Lombardi Authoring Environment tool.
  3. Click on refresh icon –

  1.  You will the events as shown below-

  1. Your process is successfully completed. Similarly you can test for Category Case C.

 Test – Category Case B

  1. Go back to the Designer tab.
  1. Click on the  icon as shown below-
  2. Repeat the above test for Category CaseB.  When you reach the Case Allocation service form, enter CaseB in the category field. For CaseB instead of normal flow after validation, request will go to Invoice Returned to User. See the figure below-

  1. Select an event with the status Received and click
  2.  It will ask to pick the user select buyer1 and click OK
  3. Enter password for buyer1, enter buyer1edu.
  4. It will take you to the internet browser.
  5. Click Resubmit
  6. Switch back to the Lombardi Authoring Environment tool.
  7. Click on refresh icon –
  1. You will the events as shown below-

  1. Select an event with the status Received and click
  2. It will ask to pick the user select ca1 and click OK
  3. Enter password for pa1, enter ca1edu.
  4. Change the category field from CaseB to CaseA and click Allocate Category.
  5. After running the complete test you should the following sequence of events.

 

Test – Duplicate Invoice Check

  1.  Go back to the Designer tab.

  1. Click on the  icon as shown below-
  2. Repeat the above test. In Case Allocation form enter the following data along with the other fields of your choice.
    1. Category, CaseA.
    2. Invoice Code, INV1003D.
  3. It will go to the Perform Duplicate Check service as shown below-
  1. Click on refresh icon –
  1. Select an event with the status Received and click
  2. Click on refresh icon
  3.  It will go to the Invoice Returned To Buyer/User Dept as shown below-
  1. Select an event with the status Received and click
  2. It will ask to pick the user select buyer1 and click OK
  3. Enter password for buyer1, enter buyer1edu.
  4.  It will take you to the internet browser.
  5. Click Resubmit
  6. Switch back to the Lombardi Authoring Environment tool.
  7. Click on refresh icon –
  1. You will the events as shown below, select an event with the status Received and click

  1. Change the value in invoice code field and click Allocate Category.
  2. After completing the entire process you should all the events in the sequence below.

  1. Your process is completed successfully.
You have completed this section.