Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Nov 15, 2020 11:54

Problem

You are working with a text input field that contains validation of the text being entered into it. When working with the element.set command to enter the text, the validation does not work.

Solution

Many input fields that contain validation do not allow text to be "pushed" into them and instead expect letters to be entered one at a time. As a workaround, you can use the element.set command to enter the text except for the last character. For the last character you can you use a "type" command. Entering the last character in this way satisfies the requirements and allows validation to work properly.