fbpx

How to send key combination “Alt+Ctrl+F10”?

How to send key combination “Alt+Ctrl+F10”?

Home Forums Ask Expert How to send key combination “Alt+Ctrl+F10”?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31806
    Gurpreet Singh
    Participant

      Hi

      I want to send this hot key combination to application under test.

      How can I do that? using Keypress?
      Thanks

      #31807
      Sasha ZAP
      Moderator

        Hello gsingh2014,

        Yes, you are correct, you need to use the following code:

        zap.Keyboard.KeyDown zap.Keys.Alt
        zap.Keyboard.KeyDown zap.Keys.Ctrl

        zap.Keyboard.KeyPress zap.Keys.F10

        zap.Keyboard.KeyUp zap.Keys.Ctrl
        zap.Keyboard.KeyUp zap.Keys.Alt

        Hope this helps.

        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