✔️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
VALIDATION
field 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_TYPE
isEQUAL_IGNORE
andVALIDATION
is "Submit", the framework checks if the element’s text is "Submit", irrespective of case.For
IS_DISPLAY
, theVALIDATION
field is not necessary; the framework simply confirms the element's presence.
Last updated
Was this helpful?