serhatbolsu/robotframework-appiumlibrary

Keywords with assertions (containing `Should`) should have argument `error/message`

Opened this issue · 0 comments

Some keywords that perform an assertion are missing the option to overwrite the default message.

For instance:

  • Element Attribute Should Match
  • Element Name Should Be
  • Element Should Be Disabled
  • Element Should Be Enabled
  • Element Should Be Visible
  • Element Value Should Be
  • Page Should Contain Element
  • Page Should Contain Text
  • Page Should Not Contain Element
  • Page Should Not Contain Text
  • Text Should Be Visible

Example of the keyword that has the option to create own error message is e.g. Element Should Contain Text

Thank you for looking into this! 🙏