← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #218023]: Whats wrong with ELIF

 

Question #218023 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/218023

    Status: Answered => Open

Colby Black is still having a problem:
so it needs to be

if exists(excelEMAIL):
            rightClick(excelEMAIL)
            wait(3)
        else:
            popup("Please configure Excel Correctly")# this is because excel can't be scrolled to the right, with email section not showing
            wait(5)
        click(excelCOPY)
        if exists(tabGMAIL):
            click(tabGMAIL)
        else:
            click(tabGMAILblue)
             elif:
                  click(tabSETTINGS)
                  click(settingsCLEARbrowsing)
                  wait(settingsCLEARbrowsingCLEAR,20)
                  click(settingsCLEARbrowsingCLEAR)
                  click(exitCHROME)
                   ac= App("Google Chrome")
                   ac.open()
                   type(",",KEY_CMD)
                  click(settingsEXTENSIONS)
                  click(settingsPROXYoptions)
                 click(tabEXTENSTIONS)
                 click(settingsSETTINGS)
                 click(settingsSHOWadvanced)
                click(settingsCLEARbrowsing)
                wait(settingsCLEARbrowsingCLEAR,10)
                click(settingsCLEARbrowsingCLEAR)
                type("t", KEY_CMD)
                type("www.facebook.com")
                 type(Key.ENTER)
                 type("t", KEY_CMD)
                 type("www.gmail.com")
                 type(Key.ENTER)
                 if exists(setupSUCCESS):
                 click(tabPOXY)
                 exit()
            else:
                popup("Configur Browser")

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