1

I have a WatiN test where I want to trigger a datepicker by sending a down arrow in a text field. I can't seem to find anywhere how to send a down arrow in a WatiN test. Do I need to run a piece of javascript via the Document.Runscript?

Thanks, Matthew

Matthew Nichols
  • 4,866
  • 4
  • 41
  • 48

1 Answers1

2

I am using the SendKeys class:

System.Windows.Forms.SendKeys("{DOWN}");

If you want to use javascript maybe this can help.

Community
  • 1
  • 1
t3hn00b
  • 904
  • 5
  • 13