Forum Discussion

sanjayram's avatar
sanjayram
Contributor
2 years ago

How to perform multiple tabs in keys

i want to perform tab function in keys more than 20 times is there any way to enter code expression or key action?

 

1 Reply

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    This enters tab 3 times,

    Obj.Keys("[Tab][Tab][Tab]");

    Or use a for loop,

    for (var i = 0; i < 3; i++) {
      Obj.Keys("[Tab]");
    }

    The same can be done in Keyword Test.