On my test, I want to simulate with Selenium, the "top arrow" increment.
For this, I've do this to begin : myVar.sendKeys(Keys.ARROW_UP);
Before the increment, the value is 0. After, the value is 1. I want to increment up 10, please. I don't want write my line code 10 times.
-
3What's stopping you from using a loop?jrmullen– jrmullen2017-06-30 13:15:19 +00:00Commented Jun 30, 2017 at 13:15
Add a comment
|