Forum Discussion

tc_2018's avatar
tc_2018
Contributor
6 years ago
Solved

Mouse clicks outside the dropdown menu

Hi,

I have the code below:

 

app.menubuttonHomeButton.Click() # open dropdown menu => ok.

 

app.popup.menuitemExit.Click() # click on Exit item => the problem is, the mouse clicks outside the dropdown menu.

 

This issue occurs on my laptop. No problem when running on a desktop pc.

 

I am running Windows 10.

 

Thanks.

  • Are you using any kind of display scaling on your laptop? 

2 Replies

  • cunderw's avatar
    cunderw
    Community Hero

    Are you using any kind of display scaling on your laptop? 

    • tc_2018's avatar
      tc_2018
      Contributor

      Yeah! You are right. I did change the text bigger to 125%. Changed it back to 100% and it works now.

       

      But I am using object and I think it should work.

       

      Thanks for your input!