Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do i sendkeys DOWN ARROW?

in vb.net i want to do a sendkeys for the down arrow. what is the code?

like image 850
Alex Gordon Avatar asked Aug 30 '09 20:08

Alex Gordon


People also ask

How do you press down arrow keys in selenium?

We can hold a key down with Selenium webdriver. We mostly utilize the CONTROL/SHIFT/ALT keys to hold down and then click on other keys.

How do you send a down arrow key in Python?

sendKeys(Keys. ARROW_DOWN, Keys. RETURN); This is working fine for me without any issues.

How do I send sendKeys?

To specify that any combination of SHIFT, CTRL, and ALT should be held down while several other keys are pressed, enclose the code for those keys in parentheses. For example, to specify to hold down SHIFT while E and C are pressed, use "+(EC)".


1 Answers

' make sure you have this at the top:
Imports System.Windows.Forms.SendKeys


' and then you can use this:
SendKeys.Send("{DOWN}")

Go here for more examples and detailed information about SendKeys in VB.Net http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys(VS.71).aspx

like image 137
mschmidt42 Avatar answered Nov 03 '22 00:11

mschmidt42