How to slow down text input (for slower systems)

//Sends single character & pauses for 500 milliseconds
String phoneNbr = '555-123-1234'
for (i = 0; i < phoneNbr.length(); i++) {
    String PhoneNumber = phoneNbr.charAt(i)
    println('Send: ' + PhoneNumber)
    //WebUI.sendKeys(findTestObject('Your_Test_Object'), PhoneNumber)
    Thread.sleep(500)
}

5 Likes

Update: You should first use WebUI.enhancedClick() to click into the phone number field and then use my solution.