Validation script

Hi! Thank u so much for your help but I’m sorry I don’t get the point here.

so here the script

kuantitiAmt = WebUI.getAttribute(findTestObject(‘Object Repository/Pesanan/text_Minimum 1 pcs’), ‘1’)

pieceCounter = WebUI.getText((findTestObject(‘Object Repository/Pesanan/Box Qty’).split(‘:’)[1]).trim().substring(0, 1))

WebUI.GreaterThanOrEqual(((kuantitiAmt) as int), ((pieceCounter) as int))

I get error when they run start from kuantitiAmt = WebUI.getAttribute(findTestObject(‘Object Repository/Pesanan/text_Minimum 1 pcs’), ‘1’)

Then here the containt of the elemet

text_Minimum 1 pcs

xpath=//div[@id=‘headlessui-tabs-panel-18’]/div/div/div/div/div[3]/span

Box Qty

xpath=//input[@value=‘1’]