TestProject Forum

Testing placeholder

Hi! Is there a way to validate the text field placeholder?

Hello, usually the Get Text action on the element with the placeholder is enough, it should get the placeholder and then you can validate the contents.

If it is not there, you can try using the Get Attribute action on the element, with the attribute of placeholder:

image

1 Like

Thank you, @ran.tzur ! The get attribute works for me. :relaxed: