fbpx

What is the syntax for ALT+TAB key

What is the syntax for ALT+TAB key

Home Forums Ask Expert What is the syntax for ALT+TAB key

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32795
    Mamatha Shivaprasad
    Participant

      syntax for ALT+TAB key

      #32796
      Sasha ZAP
      Moderator

        Hello mamatha.shivaprasad,

        In order to execute keyboard actions properly it is important first to make sure, during the running of the test, that the focus will be on the window you wish to execute the keyboard commands upon it – You can use similar command as the following one (Make sure to specify your exact objects in it instead of what I’ve wrote):
        Application(“Application name”).View(“View name”).Object(“Some Object name”).Exist

        And these are the commands to execute the keyboard actions you’ve asked:
        ZAP.Keyboard.KeyDown ZAP.Keys.AltLeft
        ZAP.Keyboard.KeyPress ZAP.Keys.Tab
        ZAP.Keyboard.KeyUp ZAP.Keys.AltLeft

        Hope this makes sense.

        Thanks,
        ZAPTEST Team

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.

      Virtual Expert

      ZAPTEST

      ZAPTEST Logo