Below is my code
WebElement cardnumber = WebUiCommonHelper.findWebElement(findTestObject(‘Payment and billing settings/Card details card number input box’),30)
//WebUI.executeJavaScript(“arguments[0].click”, Arrays.asList(cardnumber))
WebUI.executeJavaScript(“arguments[0].value=‘4242 4242 4242 4242’”,Arrays.asList(cardnumber))
While executing in input field text are not displayed ,but in console it shown as set text executed successfully.
Any solution for this?
Console output