Validation
The purpose of the validation step is to ensure the correctness of the test results, such as verifying the presence of the text "Saved successfully" after saving a form.
Softfactory supports three methods: "Specific Text Visible", "Specific Element Visible", and "Element Attribute Value Matching".
Specific Text Visible

As shown in the above figure, it can verify whether a certain element on the page contains a certain text. The content matching relationship of the text can be selected as "Contains" or "Equals".
Specific Element Visible

As shown in the above figure, it can verify whether a certain element exists on the page.
Element Attribute Value Matching

As shown in the above figure, it can match whether the attribute of a certain element is equal to a certain value.
Locator
The above locators support xpath and css selector expressions. For the acquisition method, please refer to: