A verification is test logic that evaluates a user-defined condition, and then sends a pass/fail message to the playback result.
In this lesson, you will insert a verification to ensure that the quote uses the correct vehicle model.
.DomElement("RX400").DomClick(MouseButton.Left, New Point(96, 11))
.DomElement("RX400").DomClick(MouseButton.Left, New Point(96, 11))to:
.DomElement("GS430").DomClick(MouseButton.Left, New Point(96, 11))
Workbench.Verify ("GS430", .DomTextField("modelCombo").Text, "The model type is correct")
You have successfully enhanced the recorded script by inserting test logic that verifies the value of a property in the sample application.