Forum Discussion

mgroen's avatar
mgroen
Frequent Contributor
12 years ago

How to simulate pressing the space bar key

I want to simulate pressing of the space bar using Keys function (in Keyword testing).



Have looked in the Help but nothing is explained about pressing the space bar.



.Keys("[Space"])

and

.Keys("[Spacebar]")



do not work (get an error in the testlog: "Incorrect keyboard input".



Anyone got the solution?

Thanks