Testing Using the Inline Test Mode
When you switch to testing mode, all of the icons between the Source and the Target become question marks, indicating stages that you may choose to test.
For this Tutorial you will want to start your test with the Source Transformation. Click the Source Transform stage and then select the Start Test Here checkbox. A green icon will appear in the Source Transform box to indicate that the test will start here.
Blue arrows may indicate a stage of the test that may be executed. For our purposes, allow the test to flow all the way through to the transport of the file to the directory.
Select the From File from the drop down menu and click on the Browse button.
Navigate to the Level-I-Getting-Started-Project folder, or your distribution sample folder and double click the data folder to open.
In a few seconds the file will be picked up. As each stage completes the question marks will be replaced by green check marks indicating that the stage has completed successfully.
If there’s an error, the blue question mark will become a red X. You can click on the stage with the red x to view the errors. If for example, the x is in the Source Transform stage, you may want to retrace your steps for that stage to see if you missed a step, or failed to check a box or enter a field, etc.
You can now look at how the data appeared at each stage. With Source Transform selected, click the View button.
The original data processed was the tab-delimited file that you first saw in the File Specification Editor.
You then took that data and the File Specification Editor translated it into a generic format. Double click on the Delimited and Fixed-Width row within the Objects within selected stage panel.
The following Stage Output Viewer window opens.
Next, click the Route stage. The Routing Module routed the data along to the one and only Target system.
Next, click the Target Transform stage. The Target Transformation relayed this data forward without any further transformation.
Finally click the Target System stage. The Transport took that file and deposited it in the directory.
2) Select the Transport stage (6th stage)
3) Copy the contents of the “Target directory” configuration item
4) Paste the contents into a file browser on your computer, or navigate to your Working Directory Folder, Getting-Started-Project/drop/
5) Open the created “PhotoAlbum.xml” file
You have now validated that the file was deposited in the directory.
To return to the File Management window, select File menu and select File Management from the drop down.