When running automated tests you need to start from an initialized scenario. This means that you must be able to set elements to a desired value. With checkboxes I can only toggle status by simulating a mouse click or a space key when the focus is on the checkbox.
How can I *set* the checkbox to the desired value (checked/unchecked) without reading its status and toggling in case it differs from the expected one?
Set Checkbox status instead of toggling
-
- Information
-
Who is online
Users browsing this forum: No registered users and 17 guests