How to get mouse clicks to work the way you want them to

6 posts, 0 answers
  1. gnuftw
    gnuftw avatar
    24 posts
    Member since:
    May 2015

    Posted 21 May 2015 Link to this post

    I am having a difficult time getting my mouse clicks to work the way I want them to. I have tried recording with the recorder both docked and undocked.

    Docked 

    The problem with docking it is that the recorder takes up a good portion of my screen leaving the WPF I am testing fairly small relative to my entire screen size. When executing, the WPF takes up the entire screen and it ends up clicking in the wrong spot. Is it the difference in size of the WPF window that is causing this issue? Do I need to keep the size of the WPF window the same between recording and executing?

    So I thought I would undock the recorder thinking my issue would be resolved...

    Undocked

    The good thing about undocking the recorder is that the WPF window no longer changes size between execution and recording. The bad thing is that when I get to select where I want my Left Mouse Click, the shaded region displayed is far off another monitor. Causing the mouse to click in the completely wrong spot when I go to execute my test.

    How can I fix this issue?

    ~ Max

  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 26 May 2015 Link to this post

    Hello Max,

    Thank you for contacting us.

    I am not sure if I understand you correctly.

    What exactly happens when you have undocked the recorder? You are not able to record a step or you are not able to execute the step?

    Please send us some screen shots or record a short Jing video so we can better understand the issue.

    Hope to hear from you soon.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. gnuftw
    gnuftw avatar
    24 posts
    Member since:
    May 2015

    Posted 26 May 2015 Link to this post

    My apologies for the poor phrasing. Let me try to rephrase this better.

    Attached is a screenshot of a WPF being recorded. I would like to do a LeftClick on the Access Control button seen in MainWindow. I would like to complete the LeftClick at a Specific Point. The attached image with 19_13_45 in its name is what I see when I change the Location option to Specific Point. The attached image with 19_25_07 in its name is what I see when I try changing one of the X or Y values with their corresponding up/down arrows.

    • What is the shaded region indicating? Can I select a specific point outside of the shaded region? 
    • Does the little 9 square grid to the left of the X and Y coordinate entries indicate what side of the shaded region you are focusing on to move using the X and coordinate fields? 
    • Does adjusting the and coordinate values move the corresponding side of the shaded region (or click point if you have if the middle square is orange)?

    How come the shaded region disappears whenever I attempt to change a Specific Point Coordinate? Is this expected?

    Thanks!

    ~ Max

      ​

  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 29 May 2015 Link to this post

    Hello Maxwell,

    What you are seeing is not expected.

    Here is an article which describes how to use the specific location and it will answer to all your questions.

    If the issue persists please send us a copy of your application so we can debug it and give you a solution.

    Hope to hear from you soon.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  5. gnuftw
    gnuftw avatar
    24 posts
    Member since:
    May 2015

    Posted 05 Jun 2015 in reply to Boyan Boev Link to this post

    I am going to be using a different approach to doing these mouse clicks so no reason to pursue this.

    ~ Max

  6. Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 08 Jun 2015 Link to this post

    Hello Maxwell,

    Glad to hear that you have found a solution.

    If you need further assistance please let us know.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!