Test Studio and Keyboard Event

2 posts, 0 answers
  1. Mood
    Mood avatar
    3 posts
    Member since:
    Aug 2012

    Posted 06 Dec 2012 Link to this post


    I use the test studio interface to create tests (to test a silverlight application )
    I do not know how to test keyboard events.
    The action is to press "ctrl" and hold to select multiple elements in a list with the mouse

    How do I do this? Should I write code?

    Thank you in advance
  2. Stoich
    Stoich avatar
    1 posts

    Posted 07 Dec 2012 Link to this post

    Hi Mood,
    Test Studio will record Keyboard actions. As it happens, however, CTRL clicks on their own will not be recorded. Instead what you can do is record a CTRL + Something click and then modify it to be just a CTRL click like this:

    Test Studio will also record CTRL + Click steps. It records them as separate steps which seems bad but multiselection actually still works. You might have to set these clicks steps to SimulateRealClick=true however:

    Alternatively you can do this through code:

    Let me know if you have additional questions on this.

    Kind regards,
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top