MouseClick not clicking on element

4 posts, 0 answers
  1. Jeff
    Jeff avatar
    23 posts
    Member since:
    Sep 2013

    Posted 25 May Link to this post

    The MouseClick event does not click on the element.  The mouse always clicks in the wrong location.  This is a sample of what my code looks like where cw is my active browser.

    cw.Find.ById<HtmlInputText>("igtxtctl00_Main_txtCycleIntervalNum").MouseClick();

    This is working in IE but does not click in the correct location in FF or Chrome.  This is only a problem on my machine.  I can execute the same tests on another machines and it clicks in the correct location.  I recently got some new high resolution monitors and was thinking the issue might be with my monitors.  I changed the resolution to the same resolution as the machines the tests work on and they still break on my machine.  At a loss of what to do.

     

  2. Nikolai
    Admin
    Nikolai avatar
    89 posts

    Posted 26 May Link to this post

    Hello Jeff,

    Telerik Testing Framework still doesn't fully support 4k(high-res) monitors. You can switch to "normal" client-based Click(). which doesn't require screen coordinates.

    Regards,
    Nikolai
    Progress Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. Jeff
    Jeff avatar
    23 posts
    Member since:
    Sep 2013

    Posted 06 Jun in reply to Nikolai Link to this post

    I am using 2560 x 1440 with my new monitors, they are not 4k. I was using 1920 x 1080 with my old monitors.  However I can set my new monitors to the lower 1920 x 1080 resolution and the mouseclick still does not work. Everything worked before I switched monitors. 
  4. Nikolay Petrov
    Admin
    Nikolay Petrov avatar
    198 posts

    Posted 09 Jun Link to this post

    Hi Jeff,

    Would you check on the monitor DPI settings if they are correctly set, please?

    I hope this would fix the problem.

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