tests/ide_tests/opcua_browse_encrypted.sikuli/opcua_browse_encrypted.py
branchwxPython4
changeset 3679 b6bca75bf3fa
parent 3676 2f79540660f6
child 3710 51c2d434e10e
equal deleted inserted replaced
3678:6c496a8ed2a9 3679:b6bca75bf3fa
    12 from sikuliberemiz import run_test, AuxiliaryProcess
    12 from sikuliberemiz import run_test, AuxiliaryProcess
    13 
    13 
    14 def test(app):
    14 def test(app):
    15 
    15 
    16     server = AuxiliaryProcess(app, ["/bin/bash",os.path.join(getBundlePath(),"opcua_service.bash")])
    16     server = AuxiliaryProcess(app, ["/bin/bash",os.path.join(getBundlePath(),"opcua_service.bash")])
    17     #server = AuxiliaryProcess(app, ["/bin/bash","-c","echo $PWD"])
       
    18 
    17 
    19     server.waitPatternInStdout("CERTS READY", 5)
    18     server.waitPatternInStdout("CERTS READY", 5)
    20 
    19 
    21     app.doubleClick("opcua_node.png")
    20     app.doubleClick("opcua_0")
    22 
    21 
    23     app.WaitIdleUI()
    22     app.WaitIdleUI()
    24 
    23 
    25     # app.click("Browse Server") # OCR didn't work because of gradient in button...
    24     app.click("Server")
    26     app.click("opcua_browse_server.png")
       
    27 
    25 
    28     app.WaitIdleUI()
    26     app.WaitIdleUI()
    29 
    27 
    30     app.doubleClick("Objects")
    28     app.doubleClick("Objects")
    31 
    29