[Sikuli-driver] [Question #261614]: Clicking on submenu item changes menu

2015-02-03 Thread George Mathijssen
New question #261614 on Sikuli: https://answers.launchpad.net/sikuli/+question/261614 I am currently using Sikuli to test my Qt desktop application and I have some trouble clicking on sub-menu items. My application has a menu item which is a sub-menu with 2 items and I cannot get Sikuli to sel

Re: [Sikuli-driver] [Question #261614]: Clicking on submenu item changes menu

2015-02-03 Thread RaiMan
Question #261614 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261614 Status: Open => Answered RaiMan proposed the following answer: just insert respective hover(calculatedPoint) and if you know the geometrics of your submenu, you might calculate the respective click poi

Re: [Sikuli-driver] [Question #261614]: Clicking on submenu item changes menu

2015-02-03 Thread Eugene Maslov
Question #261614 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261614 Eugene Maslov proposed the following answer: To prevent menu disappearing, move the mouse right, then down. The function below can help. def clickOrtho(img): start=Env.getMouseLocation() end=find(img

Re: [Sikuli-driver] [Question #261614]: Clicking on submenu item changes menu

2015-02-04 Thread George Mathijssen
Question #261614 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261614 George Mathijssen confirmed that the question is solved: Thanks Eugene Maslov, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which is an ans

Re: [Sikuli-driver] [Question #261614]: Clicking on submenu item changes menu

2015-02-04 Thread George Mathijssen
Question #261614 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261614 Status: Answered => Solved George Mathijssen confirmed that the question is solved: Thank you for the suggestions. Both solutions (hover and clickOrtho) work for me, with the clickOrtho function feeling