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