Been spending a lot of time calibrating Sleep times between Send statements and it's a huge pain the one time it takes more than 200ms to go from Field 1 to Field 2 and then the entire rest of the script's commands just get vomited all over the page. I'm sure there are smarter ways to do it, but I don't know how.
The finicky bits are that the URL never changes, even if I move between pages in the application, so I don't know of a good way to monitor that a change has occurred (i.e. that the previous command is done executing and the application is ready for the next one). I'd love if they sent some kind of completion signal to trigger the next line of my script.
An example of the kinds of things I might presently script with obnoxious sleep statements between every line:
Code: Select all
SEND, {Tab}
SEND, a
SEND, {Tab} {Tab}
SEND, c
SEND, {Tab}
SEND, -3
SEND, {Tab} {Tab}
SEND, used
SEND, !n
KEYWAIT, {Shift}
SEND, r
SEND, {Tab}
SEND, r
SEND, {Tab}
SEND, r
SEND, {Tab}
SEND, !n
KEYWAIT, {Shift}
SEND, !n
KEYWAIT, {Shift}
SEND, n
SEND, !n
KEYWAIT, {Shift}
SEND, n
SEND, {Tab} {Tab} {Tab}
SEND, 555555555
SEND, {Tab}
SEND, 314 5
SEND, {Tab} {Tab} {Tab} {Tab} {Tab} {Tab}
SEND, 200 sun dr jackson
SEND, !n
KEYWAIT, {Shift}
SEND, {Space} {Down} {Tab} {Tab} {Tab}
SEND, {Enter}
SEND, {Tab}
Password()
SEND, {Tab}
SEND, t
SEND, !o
SEND, {Tab} {Tab}
SEND, 8
SEND, !n
KEYWAIT, {Shift}
SEND, !n
KEYWAIT, {Shift}
SEND, {Tab} {Enter}
SEND, !n