Page 1 of 1

Form.Sendkey

Posted: Sat Apr 28, 2007 3:29 pm
by arishahsan
i have observed that Form.Sendkeys fails some times
can u tell me what could be the resion of it?The code is as following

Form myForm = Application.FindFormTitile("myform.text");
myform.Activate();
myform.sendkey("^f");

Posted: Sun Apr 29, 2007 7:05 pm
by webops
The tested application runs in another process space. If you send two commands, it can happen that the first one needs some time and the second command failes. In such cases you should send the second command after the first already finished or you should wait a little bit if you cannot check it.

Jenö
Ranorex Team