โ๏ธVALIDATION
In the Scriptless Automation Framework, the VALIDATION field is essential for specifying the expected outcomes or values against which the state or properties of web elements are checked during automation tests. This field is effectively paired with VALIDATION_TYPE to enable various forms of validation checks.
Role of the VALIDATION Field
Purpose: The
VALIDATIONfield is used to define the expected result or benchmark for comparison during the validation of web elements.Versatility: Its usage varies depending on the chosen
VALIDATION_TYPE, catering to a wide range of validation scenarios.
Interaction with VALIDATION_TYPE
The VALIDATION_TYPE dictates how the VALIDATION field is employed:
Example Scenarios
If
VALIDATION_TYPEisEQUAL_IGNOREandVALIDATIONis "Submit", the framework checks if the elementโs text is "Submit", irrespective of case.For
IS_DISPLAY, theVALIDATIONfield is not necessary; the framework simply confirms the element's presence.
Last updated
Was this helpful?