I have a field that I have to use Sendkeys with but it's sending too fast, so I'm trying to slow down the data entry. This is my code:
Set WshShell = CreateObject("WScript.Shell") Browser("ATLIS").Page("Roles & Permissions").WebEdit("Search Box").Click For i = 1 To Len(DataTable.Value("User")) WshShell.SendKeys Mid(DataTable.Value("User"), i, 1) WScript.Sleep 100 Next Set WshShell = Nothing
But I keep getting an "Object Required" error on the "WScript.Sleep" line. Can someone please tell me what I'm doing wrong? Thx!