Hi, I’m new to these tools
I wanna ask about how to compare values from the input field like this
and the popup message like this
i tried using if else like this:
if(WebUI.getText(findTestObject(‘MidTrans/Total_txt’)) == WebUI.getText(findTestObject(‘MidTrans/OrderTotal_txt’))) {
KeywordUtil.markPassed(“The amount is the same”)
}else {
KeywordUtil.markFailed(“The amount is not the same”)
but it failed cause the object Total_txt cannot be found