How to check if a text field was filled with the robot framework

Hi Team!

How to check if a text field was filled with the robot framework, Where are examples available? I need to validate if the field was really filled in or if it is empty.

I thank you in advance.

Hi FabrĂ­cio,

The keyword you use will depend on the library you are using, this in turn will depend on what type of application you are testing.

For example with SeleniumLibrary most of the time you can just use Get Value
but sometimes you might need to use Get Element Attribute or Get Text so it really depends.

Dave.

1 Like

Figured this out. Used the following.

Textfield Value Should Be    id=profileDeliveryAddressAddress2    South Boston