Re: Use Key Method to Press arrow-key-down for a certain time
Do you need to have it HOLD the down key for a time?
If that's the case, there is a "HOLD" keyword in the "Keys" method that will allow you to hold a set of keys down until you release.
So, Keys('[Hold][Down]a[ReleaseLast]') will hold the down arrow and then tap the a key and then relase the down arrow.
Will this work for you?
Robert Martin [Hall of Fame] Please consider giving a Kudo if I write good stuff ----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group. I love good food, good books, good friends, and good fun.