Menu

Error Message is:: Failed to move mouse on application [XXXXX] because either application/component was not in focus or issue occurred at genie end

njtuxy
2012-06-25
2015-05-01
  • njtuxy

    njtuxy - 2012-06-25

    Hi, I keep getting this error when I tried to use GenieDisplayObject().click()

    The error message is: Failed to move mouse on application [XXXXX] because either application/component was not in focus or issue occurred at genie end

    And the method I tried to call is:
    (newGenieDisplayObject("SP^MASTER_DIALOG:::FP^MASTER_DIALOG:::SE^closeButton::PX^0::PTR^0::IX^3::ITR^0",app1)).click(23,14,804,64,980,640,3,false)

    I am sure the element is there and the local x/y coordinates are correct and seems like Genie cannot take control of the mouse, can anyone help? thank you!

     
  • Ruchir Jain

    Ruchir Jain - 2012-07-03

    This will come whenever the rainbow rectangle (small icon appears on the left corner of the application whenever UI event is played back) is not visible or color correction on Mac is not set to Generic RGB.

    If color correction is correctly set make sure that while playing back the UI Events the application is in focus and more importantly no pop-up (may be from within application) is covering the top left corner of the application.

    Hope this will help.

     
    • padmasri

      padmasri - 2015-05-01

      Hello Ruchir Jain,
      I am getting the same issue definately my rgb and application focus are happening, please help

       
  • njtuxy

    njtuxy - 2012-07-10

    cool, thanks, Ruchir!

    And before your reply I went through the Executor's source code, I changed the method which is used for locating the left corner of the application a little bit and now it can accept user configuration for the left corner coordinates. It can be a little faster than scanning the whole screen and locate the expected rainbow icon and works very well for my current project.

    But your solution is definitely the universal solution.Thanks!

     
    • padmasri

      padmasri - 2015-05-01

      Hello njtuxy
      Could you please elaborate your fix???
      I have the same issue and cannot fix

       
  • dansixmin

    dansixmin - 2014-01-08

    Hi njtuxy, any chance you could share that change to the source code?
    I'm getting the same error here. Have checked colour correction and focus and still no joy!
    Any help would be greatly appreciated.

     
    • padmasri

      padmasri - 2015-05-01

      I have the same issue

       
    • padmasri

      padmasri - 2015-05-01

      Have you found a solution for your issue?

       

Log in to post a comment.

MongoDB Logo MongoDB