Dear Katalon Community,
Hii, any body to help me please.
Why on katalon for some button with special character can’t run ?
Special character as &
Dear Katalon Community,
Hii, any body to help me please.
Why on katalon for some button with special character can’t run ?
Special character as &
I’ve not had this issue, however, sometimes I have to “Escape” a character to have Katalon see it as the “correct” character. To “Escape” a character, put a downslash in front, like:
to get a newline: \n
,
or to write a dollar value: \$
,
WebUI.verifyMatch(pItem.getText(), '\$327,529.18', false)
WebUI.verifyElementText(myItem, '\$1,648.88')
WebUI.verifyElementAttributeValue(findTestObject('myPage/input_AmountRequested'), "value", '\$10,580.00', 10)
so you can try: \&
Note: I haven’t had to do it with:
WebUI.verifyOptionPresentByLabel(findTestObject('myPage/select_SubActivity'),
'Planning & Coordination', false, 10)
WebUI.setText(findTestObject('myPage.Notes'),"Lorem iconsectetur @34%& adipiscing elit.")
WebUI.verifyElementAttributeValue(findTestObject('myPage/myPage.Notes'), 'value',
"Lorem iconsectetur @34%& adipiscing elit.", 10)
Maybe you can give us more information on what specifically you are trying to do and we might give a better response?