Skip to end of metadata
Go to start of metadata

In case you want to verify placeholder of a field, e.g:

Then using 'Get Attribute' keyword can help you to resolve this issue:

String expectedPlaceholder = "Email"
String placeholder = WebUI.getAttribute(emailTestObject, "placeholder")

if(expectedPlaceholder != placeholder) {
	KeywordUtil.markFailed("Placeholder is not as expected.")

Credit to Marek Melocik

  • No labels