← Back to team overview

sikuli-driver team mailing list archive

[Question #249484]: Mac - Not able to recognize top/system bar

 

New question #249484 on Sikuli:
https://answers.launchpad.net/sikuli/+question/249484

I want to find top system/menu bar and click sign out.
But My code is not recognizing the top menu bar. It is there. I can see that clearly.
What am I doing wrong?  I was looking up answers and FAQ. There is reference to screen(0).
Not sure how it helps me.
Thanks.


Here is the code (edited to remove local info)

# Sign out
myappMenu="MyappMenu.png"
myappOption="MyappMenuOptionMistral.png"
signOut="MyappMenuMistral.SignOut.png"

if exists(myappMenu):
    click(myappOption)
    click(signOut)
else:
    print("Myapp Menu not found"\n)
    sys.exit(1)


I am running IDE 1.1.0-Beta1
Build 2014-05-05-18

I am running IDE on
OS X 10.9.2

Model Name: MacBook Pro
  Model Identifier: MacBookPro10,1

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.