Questions tagged [sendkeys]

A .NET class that sends one or more keystrokes to the active window as if they were typed at the keyboard.

A .NET class that sends one or more keystrokes to the active window as if they were typed at the keyboard.

MSDN Documentation for System.Windows.Forms.SendKeys

1218 questions
-2
votes
1 answer

SendKeys function not working properly on a specific window

I'm trying to create a simple automated key presser. It works fine on notepad, etc. but it does not work in the game window. Do you have any idea ? namespace PoyBot { public partial class Form1 : Form { public Form1() { …
-2
votes
2 answers

AttributeError: 'WebElement' object has no attribute 'Send_Keys'

I can't automate my code from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Chrome(executable_path=r"D:\New folder\Programming\chrome…
-2
votes
1 answer

C# / Send keys combination (CTRL+S) to another window

I am trying to send keys combination to another program like that: // keydown ctrl SendMessage(windowBracketsKeyListener, 0x100, (IntPtr)VK_CONTROL, (IntPtr)0x001D0001); // keydown S SendMessage(windowBracketsKeyListener, 0x100, (IntPtr)VK_S,…
-2
votes
1 answer

Sendkey doesn't work on IIS

How can I use sendkey or SendKeys.SendWait in asp.net c#. I want use it just on localhost. It works in Visual studio but not on IIS, I changed applicationPoolIdentity to adminstrator but I always get the same problem "access denied".
-2
votes
1 answer

SendKeys.send is sending more than one character

sorry for my bad english. I am writing a keyboard application for the touchscreen. but, for example, when I press the A key, sometimes it's writes 5 times A key . I am using basically button click event. private void button42_Click(object sender,…
-2
votes
1 answer

SendKeys not working

The following code is used to open an excel .xls file. However, excel 2016 no longer allows to open the .xls files then a pop-up window appears (see attached image) which should be handled with the last two lines of the code nevertheless the code I…
-2
votes
1 answer

How to use sendkeys with vba excel

this is my code for excel (a) actually what i am trying is to send data to another excel (b) witch is locked (i can only press command & message buttons) and i have no access to the code (vba), i can only insert my data from (a) and for step_1…
user8775100
  • 1
  • 1
  • 2
-2
votes
1 answer

Extra character in sendKeys method in selenium 3.0.1

SendKeys method in selenium 3.0.1 puts an extra special character everytime in the begining of textbox resulting in the failure of method. Please find the special character enclosed in red coloured box.
Jimmy
  • 35
  • 2
  • 9
-2
votes
1 answer

VBS run sendKeys command to systempropertiesprotection menu

I trying to get a vbs to open "System properties protection" windows. Then run the Sendkeys command to Configure button. The script open the System Properties protection fine. But same its not getting the sendkeys sent to to. The echo box does…
user2559533
  • 39
  • 1
  • 2
  • 8
-2
votes
1 answer

VBScript SendKeys CTRL+SHIFT+B or DwmApi # associated with this combination?

I'm looking for some vbs script or shortcut for opening Outlook Address Book (keyboard shortcut: CTRL+SHIFT+B),or it can be DwmApi # associated with this combination? Found similar discussion here: VBScript SendKeys CTRL+LWIN+TAB? Any help is much…
Igor Rabkin
  • 85
  • 2
  • 12
-2
votes
1 answer

Send Keys to Different Window

I want to send keys to another window followed by the enter key. I have tried researching on google and have found no luck. Thanks for your help.
-3
votes
2 answers

Is sendKeys ever going to work properly with Java Selenium?

how am I ever going to write any selenium automation code that can have the same outcome everytime and could ever ever ever be trusted? as most of you should know sendKeys is simply shit. -it doesnt write the complete input -sometimes it doesnt…
-3
votes
2 answers

how to add an X=msgbox command using sendkeys vbs

when I try adding the " quotes in X=msgbox"Writing",48,"Title" but the quotes wont recognise. I've tried using {} but that doesn't help either?
Zatando
  • 5
  • 1
-3
votes
3 answers

Not able to upload file in selenium web driver, I have used SendKeys()to pass the file path get uploaded, but still the file not getting uploaded

I am trying to upload one document from my system to one application and it includes flow as: Library page >> Upload document button >> Web-based select document pop-up >> after click on select file in pop-up, it open the system pop-up from where…
Vishnu More
  • 45
  • 1
  • 12
-3
votes
1 answer

How to select data from custom combo box in which select action, robot action is not working reliably using webdriver

String value = “Card77”; // value which i need to select from custom box initRobot(); // initiate robot globally driver.findElement(By.classname(“custom-combobox”)).click(); // click custom box Type.word(value); //type value in the drop to…
Trishul M
  • 1
  • 2
1 2 3
81
82