def verify(self, bundleid, preexpirycommand, Appbuttons, window,
            resettimeanddate):
     commonFns.quitApplication(bundleid)
     print "product quit"
     commonFns.executeCommand(preexpirycommand)
     print "PreExpiry"
     ldtp.wait(80)
     commonFns.launchApplication(bundleid)
     print "Launching"
     ldtp.wait(10)
     commonFns.atomacclick(Appbuttons[6])
     ldtp.wait(10)
     device_status = commonFns.devicesSatusVerification(window)
     print "Device status"
     ldtp.wait(1)
     return device_status
     commonFns.executeCommand(timeanddatereset)
示例#2
0
 def quit(self, Appbundleid):
     commonFns.quitApplication(Appbundleid)
示例#3
0
        commonFns.atomacclick(HomeTabobjects[0])
        print "Verifiying Run a scan in home Tab"
        commonFns.homerunascan(_windowname, _refrenceid)
        ldtp.wait(4)
        print "Verifiying Custom Scan in home Tab"
        commonFns.homeCustomScan(_windowname, _refrenceid)

        print "Verifiying Home Updates home Tab"
        commonFns.homeupdates(_windowname, _refrenceid)
        print "Verifiying Mac Security qurantine home Tab"
        #commonFns.MacSecurityqurantine(_windowname, _refrenceid)
        #ldtp.wait(1)
        #globalsettings_content = commonFns.getApplicatontitle(HomeTabobjects[5])
        #commonFns.verifysubscription(DeviceStatus_Descriptions)
        commonFns.globalsettings(HomeTabobjects[5])
        commonFns.quitApplication(constants.Data["bundleid"])
        ############################################
        #print "HomeTabobjects", HomeTabobjects
        #print HomeTabobjects[3].AXTitle
        #commonFns.contextualhelpverification(_windowname,HomeTabobjects[3])
        #print "HomeTabobjects", HomeTabobjects
        #commonFns.atomacclick(HomeTabobjects[1])
        #MacSecurityTabObjects =commonFns.getAppButtons(_windowname)
        #print "MacSecurityTabObjects", MacSecurityTabObjects
        #commonFns.atomacclick(HomeTabobjects[2])
        #AccountTabObjects = commonFns.getAppButtons(_windowname)
        #print "AccountTabObjects", AccountTabObjects
        #THEN PROTECT MORE DEVICES
        '''commonFns.atomacclick(HomeTabobjects[2])
        AccountTabbuttons = commonFns.getAppButtons(_refrenceid)
        commonFns.atomacclick(AccountTabbuttons[9])