An output value is a value that is retrieved during the test execution from DataTable or saved in a variable or parameter. When the output value is executed, the Output
method places the object's property value into the prespecified column (which is defined when the test was created) and is retrieved through the DataTable. Later, this value is used to verify the expected and actual value; thus, we can use the output value as a checkpoint.
The following code snippet creates a checkpoint using the output values:
Window("WinFlight").Activate Window("WinFlight").ActiveX("MaskEdBox").Type "111114" Window("WinFlight").WinComboBox("FlyFrom:").Select "Frankfurt" 'Insert an output value to verify if button is enabled or not Window("WinFlight").WinButton("FLIGHT"). Output CheckPoint("FLIGHT") 'The first column represents from where value is retrieved and the second column represents sheet Global/local outval= Datatable("WINFLIGHT_Button",dtGlobalSheet) 'Verify the expected and actual values...