← Back to team overview

sikuli-driver team mailing list archive

[Question #212259]: How to use assert function

 

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

Below script is not working can u tell me the reason 

thanks in advance

def setUp(self):
    doubleClick("umu.png")
    sleep(2)
    
    find("1350899125836.png")
    
    type("1350899134292.png", "guest")
  
    type("1350899151627.png", "guest")
    
    click("1350899165098.png")
    sleep(9)    
    
def testA(self):    
    click("DeviceManage-1.png")
    sleep(1)
    click("1351138732491.png")
    hover("NetworkIscAM.png")
    click("1351138763178.png")
    sleep(7)
    if exists("DeviceisON.png"):
        assert False
    else:assert true  
def tearDown(self):
     click("1349774954074.png")
     click("1349869396520.png") 

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