<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE stax SYSTEM "stax.dtd">

<stax>
	<defaultcall function="Main"/>
	<script>
		# Set to the machine where the manual test should be displayed
		testMach = 'local'
		
		# Set to the machine where the MTS service is running
		serviceMach = 'local'
	</script>
	<function name="Main">
		<sequence>
			<script>
				manualTestName = 'Scenario XYZ'
			</script>
			<message>
				'Starting manual test %s on machine %s' % (manualTestName, testMach)
			</message>
			<block name="'Manual Test %s on Machine %s' % (manualTestName, testMach)">
				<sequence>
					<manual-test title = "'Scenario XYZ CD Verification Title'" machine="testMach">
						<manual-test-description>
							'Scenario XYZ CD Verification Manual Sequence'
						</manual-test-description>
						<manual-test-choice>
							<manual-test-choice-text>
								'Select the platform you are running this test on:'
							</manual-test-choice-text>
							<manual-test-choice-list>
								['AIX', 'HP/UX', 'Linux', 'Solaris', 'Windows 2000', 'other']
							</manual-test-choice-list>
						</manual-test-choice>
						<manual-test-entry>
							'Enter your name:'
						</manual-test-entry>
						<manual-test-instruction>
							"Enter this command: mount /cdrom (if Unix/Linux) OR do nothing (if Windows)"
						</manual-test-instruction>
						<manual-test-entry>
							'Paste the output from the above command into this field:'
						</manual-test-entry>
						<manual-test-decision>
							'Are there any files present other than those listed above?'
						</manual-test-decision>
					</manual-test>
					
					<if expr="RC == 0">
						<message>
							"Manual Test %s on machine %s completed successfully STAXResult=%s" % (manualTestName, testMach, STAXResult)
						</message>
						<else>
							<message>
								"Manual Test %s on machine %s failed with RC=%s STAFResult=%s STAXResult=%s" % (manualTestName, testMach, RC, STAFResult, STAXResult)
							</message>
						</else>
					</if>
				</sequence>
			</block>
		</sequence>
	</function>
</stax>
