Question #689581 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689581
Status: Needs information => Open Sreelekshmi gave more information on the question: def Enable(obj1,obj2): m=findBest(obj1,obj2) m.getIndex(),m.getScore() print(m.getIndex(),m.getScore()) if m.getIndex()==0: print("Button is Enabled") return True else: print("Button is not enabled.") return False class Test(unittest.TestCase): def test01(): assert(Enable(obj1,obj2)) assert always fail -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp