KeyBoard Interactions not working in IE9, WebApplication

4 posts, 0 answers
  1. Srimathy
    Srimathy avatar
    1 posts
    Member since:
    Nov 2012

    Posted 15 Nov 2012 Link to this post

    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?















  2. Boyan Boev
    Boyan Boev avatar
    1072 posts

    Posted 16 Nov 2012 Link to this post

    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.

    Boyan Boev
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Ryan
    Ryan avatar
    2 posts
    Member since:
    Jun 2016

    Posted 28 Mar 2017 in reply to Boyan Boev Link to this post

    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.
  4. Nikolay Petrov
    Nikolay Petrov avatar
    308 posts

    Posted 03 Apr 2017 Link to this post

    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:


    I'm looking forward to hear from you.

    Nikolay Petrov
    Telerik by Progress
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top