Placeholder visibility verification


#1

How can i verify a placeholder of

Screenshot_19.jpg


#2
String expectedPlaceholder = "Email"String placeholder = WebUI.getAttribute(emailTestObject, "placeholder")if(expectedPlaceholder != placeholder) {	KeywordUtil.markFailed("Placeholder is not as expected.")}


#3

Clean an simple, as always!

Keep up the good work, Marek!


#4
String expectedPlaceholder = "Email"String placeholder = WebUI.getAttribute(emailTestObject, "placeholder")if(expectedPlaceholder != placeholder) {	KeywordUtil.markFailed("Placeholder is not as expected.")}

sorry but do i have to replace Email = my placeholder text?
and "emailTestObject = my email text object
right?
other is remain not changed
thanks,