Powershell GUI Automation Send-keys query

Welcome Forums General PowerShell Q&A Powershell GUI Automation Send-keys query

This topic contains 1 reply, has 2 voices, and was last updated by

3 years, 1 month ago.

  • Author
  • #41545

    Topics: 23
    Replies: 17
    Points: 1
    Rank: Member

    Hi All,

    I am using Send keys in powershell . For example [System.Windows.Forms.SendKeys]::SendWait("%{TAB}") I am using it in my script as "ALT+TAB" – Switch screen.

    Now the requirement is there is a text box in a webpage. I want to send Numeric values using Send keys in powershell to that text box in webpage. Please guide me on this.

  • #41920

    Topics: 13
    Replies: 4872
    Points: 1,842
    Helping HandTeam Member
    Rank: Community Hero

    Apologies – very few of us seem to be working on GUI automation using PowerShell. SendKeys is actually part of the .NET Framework's Visual Basic libraries, not PowerShell per se. Unfortunately, PowerShell isn't really designed with GUI automation in mind, so I'm not sure we're going to be a lot of help to you.

The topic ‘Powershell GUI Automation Send-keys query’ is closed to new replies.