Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to send ENTER from keyboard using TestStack.White Framework

I am writing a c# code to test UI in my application. I want to send ENTER from Keyboard. I already checked TestStack.White.WindowsAPI.KeyboardInput.SpecialKeys. It doesnt contain any method send ENTER.

Thanks.

like image 812
mayu789 Avatar asked Jun 14 '16 02:06

mayu789


1 Answers

Any reason you can't use KeyboardInput.SpecialKeys.RETURN ? It should do the same thing and get you what you need.

like image 57
Graeme Harvey Avatar answered Nov 15 '22 02:11

Graeme Harvey