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
- Open Accounts
Invoice
Process from Processes à Business Process Definitions à
Accounts Invoice Process.
- Click on the
icon
as shown below-
- Click Yes on the Switch
Perspective
dialogue box.
- It will take you to the Inspector
tab. Click on the Received event and then
.
- It will ask to pick the user
select pa1 and click OK
- Enter password for
pa1, enter pa1edu.
- It will take you to the
internet browser. Click on Attach Document. Browse a invoice picture professional1_example.png
and click OK.
- Click Submit Invoice
- Switch back to the Lombardi
Authoring Environment tool.
- Click on refresh icon –
- Select an event with the status
Received and click
- It will ask to pick the user
select ca1 and click OK
- Enter password for pa1, enter ca1edu.
- It will take you to the
internet browser as shown below-
- Enter the values as shown below. Note: The value in Category fiels is “CaseA”
without any space.

- Scroll down the browser until
you see Allocate Category. Click on it.
- Switch back to the Lombardi
Authoring Environment tool.
- Click on refresh icon –
- You will the events as shown
below-
- Select an event with the status
Received and click
- It will ask to pick the user
select ap1 and click OK
- Enter password for
pa1, enter ap1edu.
- It will take you to the
internet browser.
- Scroll down the browser until
you see Prepare Cheque. Click on it.
- You will see another page as
shown below-
- Enter the values and click Print
Cheque
- Switch back to the Lombardi
Authoring Environment tool.
- Click on refresh icon –
- You will the events as shown
below-
- Your process is successfully
completed. Similarly you can test for Category Case C.
Test
– Category Case B
- Go back to the Designer tab.
- Click on the
icon
as shown below-
- 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-

- Select an event with the
status Received and click

- It will ask to pick the user
select buyer1 and click OK
- Enter password for buyer1,
enter buyer1edu.
- It will take you to the
internet browser.
- Click Resubmit
- Switch back to the Lombardi
Authoring Environment tool.
- Click on refresh icon –
- You will the events as shown
below-
- Select an event with the status
Received and click
- It will ask to pick the user
select ca1 and click OK
- Enter password for pa1, enter ca1edu.
- Change the category field
from CaseB to CaseA and click Allocate Category.
- After running the complete test
you should the following sequence of events.
Test
– Duplicate Invoice Check
- Go back to the Designer tab.

- Click on the
icon
as shown below-
-
Repeat the above
test. In Case
Allocation form enter the
following data along with
the other fields of your choice.
- Category, CaseA.
- Invoice Code, INV1003D.
- It will go to the Perform Duplicate
Check service as shown below-
- Click on refresh icon –
- Select an event with the status
Received and click

- Click on refresh icon
- It will go to the Invoice
Returned To Buyer/User Dept as shown below-
- Select an event with the status
Received and click

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

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

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