Testing - Client - Validation

This section deals with testing the validation features of the Gateway client GUI.

Tests

Load client GUI

Action Double click the jar/exe to launch the client GUI.
Result You should see the splash screen with the Gateway logo and the client should display shortly after.

Validate transmission

Action In the client GUI open the Validate tab, make sure the drop down menu is set to Transmission and browse to the FirstTest.xml saved locally, open it.
Result After the validation takes place you should see output in the bottom text area with the message File passed XML Validation! .

Validation error output

Action In the text area displaying the validated transmission, alter the <TransmissionId> contents by removing a few characters. Make sure to remove characters from the id and not the actual <TransmissionId> tag. Click the button Validate document in editor .
Result Validation should have failed and highlighted the same line as the <TransmissionId> tag you changed. In the lower text area there should be a message explaning the highlighted error.

Validate receipts

Setup To test the validation of receipts open the Test Send tab and click Send test transmission , (it does not matter if the client is set to a test Gateway or the OSU demo). Simply use the second drop down box to select the timestamp for the transmission you just sent and click Display , (this is to ensure nothing other than the receipt is displayed). Select the whole receipt and copy it (Ctrl-c).
Action Clear out the information contained on the Validate tab in the editor (select and press delete key). Paste the receipt into the editor by clicking the text area and pressing Ctrl-v. In the drop down menu on the Validate tab, select Receipt and click Validate document in editor .
Result Check for proper output in the lower text area indicating the receipt is valid.

Validate acknowledgements

Setup To test the validation of acknowledgements open the Acknowledgement tab and click Request Acknowledgement , (make sure you are connected to the same web service you sent the test transmission to). Simply use the second drop down box to select the timestamp for the acknowledgement you just requested and click Display . Select the whole acknowledgement and copy it (Ctrl-c).
Action Clear out the information contained on the Validate tab in the editor (select all, Ctrl-a and press delete key). Paste the acknowledgement into the editor by clicking the text area and pressing Ctrl-v. In the drop down menu on the Validate tab, select Acknowledgement and click Validate document in editor .
Result Again, check for proper output in the lower text area indicating the receipt is valid.