Jump to content

How to Automate Keypress "Space" and Arrow Keys in SAP using Java/AutoIT - (Moved)

Recommended Posts

I am using Java/AutoIT. I need to automate the keypress of "Space" and "Down_Arrow_Key" keys when automating in SAP. I have already done for "Enter" using the below code but I cannot find a way to automate for "Space" and "Down_Arrow_Key".
public void pressEnter() {
    this.findElement("wnd[0]").invoke("sendVKey", 0);

So, my question is how to automate "Space" and "Down_Arrow_Key" keypresses when automating in SAP Desktop Application, when the element tracking is done via AutoIT(version 3)?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...