![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |
Task A Test GetProcessTo test the example for GetProcess, you need to log in to TIBCO Designer and configure GetProcess first by following these steps:
1. From the Project panel, select GetProcess.
a. Click the File Poller icon.
b. Click the Configuration tab and specify or browse to the location of the input XML file Get_input.xml.
c. Specify the desired SETID and INV_PROD_FAM_CD values (for example, CRM01 and COMPACTOR) in the Get_input.xml file.
a. Click the Write File icon.
b. Click the Input tab.
c. In the Activity Input panel, expand WriteActivityInputTextClass.
d.
a. Click the Write-File-1 icon.
b. Click the Input tab.
c. In the Activity Input panel, expand the WriteActivityInputTextClass. In the fileName field, specify the entire path or location of the get_output_err.xml.
a. Click the Set Breakpoints icon from the menu bar.
b. After you make all the above configurations, follow these steps to test GetProcess in TIBCO Designer:
1. Select Tools > Show Adapter Tester from the menu and start the rpc adapter instance in the displayed dialog.
2. Click the Tester tab to the left of the Project panel. The test panel replaces the project tree.
3. Click the Start Testing Viewed Process button.
4. In the Select Processes To Load dialog, select GetProcess and click Load Selected. The process is now in test mode.
5. Once the process starter is highlighted (indicating a process has started), click the Step To Next Activity icon to step through the process.
7. Click the Stop Testing icon to return to design mode.
8. Stop the rpc adapter instance in the adapter tester.Task B Test SyncProcessTo test the example for SyncProcess, you need to log in to TIBCO Designer and configure SyncProcess first by following these steps:
1. From the Project panel, select SyncProcess.
a. Click the Write File icon.
b. Click the Input tab.
c. In the Activity Input panel, expand WriteActivityInputTextClass.
d.
a. Click the Set Breakpoints icon from the menu bar.
b. After you make all the above configurations, follow these steps to test SyncProcess in TIBCO Designer:
1. Select Tools > Show Adapter Tester from the menu and start the pub adapter instance in the displayed dialog.
2. Click the Tester tab to the left of the Project panel. The test panel replaces the project tree.
3. Click the Start Testing Viewed Process button.
4. In the Select Processes To Load dialog, select SyncProcess and click Load Selected. The process is now in test mode.
5. Once the process starter is highlighted (indicating a process has started), click the Step To Next Activity icon to step through the process.
7. Click the Stop Testing icon to return to design mode.
8. Stop the pub adapter instance in the adapter tester.Task C Test UpdateProcessTo test the example for UpdateProcess, you need to log in to TIBCO Designer and configure UpdateProcess first by following these steps:
1. From the Project panel, select UpdateProcess.
a. Click the Read File icon.
b.
c. In the Activity Input panel, expand ReadActivityInputClass.
d. In the fileName field, specify the entire path or location of the Update_input.xml file. This XML file conforms to TIB_ADPSFT8_HOME\examples\businessworks\ITEMMASTER\Update_input_schema.xsd.
a. Click the Set Breakpoints icon from the menu bar.
b. After you make all the above configurations, follow these steps to test UpdateProcess in TIBCO Designer:
1. Select Tools > Show Adapter Tester from the menu and start the pub and sub adapter instances in the displayed dialog.
2. Click the Tester tab to the left of the Project panel. The test panel replaces the project tree.
3. Click the Start Testing Viewed Process button.
4. In the Select Processes To Load dialog, select UpdateProcess and click Load Selected. The process is now in test mode.
5. Once the process starter is highlighted (indicating a process has started), click the Step To Next Activity icon to step through the process.
7. Click the Stop Testing icon to return to design mode.
8.
![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |