# -*- coding: utf-8 -*- import names def main(): startApplication("denali") test.compare( waitForObjectExists(names.o_treatmentHome).visible, True) test.compare(str(waitForObjectExists(names.o_treatmentHome_startTreatment ).text.text), "START TREATMENT" , "SRSUI 024") test.compare(str(waitForObjectExists(names.o_treatmentHome_createTreatment).text.text), "CREATE TREATMENT" , "SRSUI 532") test.compare( waitForObjectExists(names.o_mainMenu).visible, True , "SRSUI xxx") test.compare(str(waitForObjectExists(names.o_mainMenu_treatment).text.text), "Treatment" , "SRSUI 534") test.compare(str(waitForObjectExists(names.o_mainMenu_manager ).text.text), "Manager" , "SRSUI 026") test.compare(str(waitForObjectExists(names.o_mainMenu_settings ).text.text), "Settings" , "SRSUI 028") mouseClick (waitForObjectExists(names.o_mainMenu_manager)) test.compare(waitForObjectExists(names.o_managerHome ).visible, True , "SRSUI 027") mouseClick (waitForObjectExists(names.o_mainMenu_settings )) test.compare(waitForObjectExists(names.o_settingsHome ).visible, True , "SRSUI 029") mouseClick (waitForObjectExists(names.o_mainMenu_treatment)) test.compare(waitForObjectExists(names.o_treatmentHome).visible, True , "SRSUI 535") print(0)