Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8239266

[TEST_BUG] Test RemoveAllShrinkTest clicks mouse in the wrong place

XMLWordPrintable

      The test RemoveAllShrinkTest clicks left mouse button to open Choice:

      robot.mouseMove(
                      pt.x + choice.getWidth() - choice.getHeight()/2,
                      pt.y + choice.getHeight()/2);

      The x coordinate uses choice.getHeight()/2 which likely will result in the wrong position and Choice does not open at all.

      It should be pt.x + choice.getWidth()/2.

            kabhishek Kumar Abhishek (Inactive)
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: