How to verify @#$% these are special characters
1 Like
Please explain what you want to achieve, show your code and error message you got.
1 Like
Hi @raja.l
Those are not special characters, they’ve been a part of even lowly ASCII for 4.7 million years.
Like @kazurayam said, why not tell us what you want achieve?
2 Likes
Maybe what you can do is put the special characters in a setText and see if the box alters the input, or clears them out, such as:
WebUI.setText(findTestObject('input_totalCost'), "@#$%")
// click somewhere outside of the input box to allow it to change
WebUI.click(findTestObject('label_totalCost'))
WebUI.verifyElementAttributeValue(findTestObject('input_totalCost'), "value", "\$0.00", 10)