This is a migrated thread and some comments may be shown as answers.

KeyBoard Interactions not working in IE9, WebApplication

3 Answers 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Srimathy
Top achievements
Rank 1
Srimathy asked on 15 Nov 2012, 04:39 PM
Hi there,

The following code fails in IE9 in our Web app tests. We are using the latest WebAii version.

Manager.Desktop.KeyBoard.KeyPress(Keys.Delete, 100);

Manager.Desktop.KeyBoard.KeyPress(Keys.F2, 100);
Manager.Desktop.KeyBoard.KeyPress(Keys.Enter, 100);

Nothing actually happens i.e. the delete key, F2 or Enter key is not being pressed.

Please give a solution on how to resolve this issue?

Thanks,
Sri

 

 

 

 

 

 

 

 

 

 

 

 

 


3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 16 Nov 2012, 09:51 AM
Hello Srimathy,

I am afraid I could not reproduce you issue. In order to assist you best please provide some more information:

1. Confirm you are using System.Windows.Forms in your project.
2. Do you get any error message in the test result report?
3. Can you give us please an access to your application to reproduce the issue in your environment?

Thank you for cooperation.

Greetings,
Boyan Boev
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Ryan
Top achievements
Rank 1
answered on 28 Mar 2017, 09:05 PM
I am also having issues with this working on IE11.  After calling focus on the HtmlInput I execute the code AutomationContext.Current.Manager.Desktop.KeyBoard.KeyPress(Keys.Enter), which basically wraps the static ArtOfTest.WebAii.Core.Manager, and nothing happens.  If I run the same code in Chrome it does successfully press the enter key.
0
Nikolay Petrov
Telerik team
answered on 03 Apr 2017, 08:54 AM
Hello Ryan,

Would you share more information on this case, please.

I just test the following line in IE 11 and I couldn't reproduce the problem:

Manager.Desktop.KeyBoard.KeyPress(Keys.Enter);

I'm looking forward to hear from you.

Regards,
Nikolay Petrov
Telerik by Progress
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Srimathy
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Ryan
Top achievements
Rank 1
Nikolay Petrov
Telerik team
Share this question
or