Ranorex

Form.Sendkey

 
Post new topic   Reply to topic    Ranorex Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
arishahsan



Joined: 18 Jan 2007
Posts: 26

PostPosted: Sat Apr 28, 2007 4:29 pm    Post subject: Form.Sendkey
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");
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Sun Apr 29, 2007 8:05 pm    Post subject:
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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> Bug Reports All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum