Index: tst_ServiceShutdown/test.py =================================================================== diff -u -rb4a285d31b57c278de779b2081eeffc74f256807 -rcb8d48033154f4b36a6a05b6f31bd10390e84ac7 --- tst_ServiceShutdown/test.py (.../test.py) (revision b4a285d31b57c278de779b2081eeffc74f256807) +++ tst_ServiceShutdown/test.py (.../test.py) (revision cb8d48033154f4b36a6a05b6f31bd10390e84ac7) @@ -24,19 +24,19 @@ def test_MainMenu_CurrentItem(vSRSUI=""): # test.compare(waitForObjectExists(names.o_mainMenu).currentIndex, 0) - test.compare(str(waitForObjectExists(names.o_mainMenu).currentTitle), "Treatment", globals.SRSUI(vSRSUI)) + test.compare(str(waitForObjectExists(names.o_mainMenu).currentTitle), "Treatment", utils.SRSUI(vSRSUI)) def gotoScreenNtest_Contains_PowerOffButton(vSRSUI=""): mouseClick (waitForObjectExists(names.o_mainMenu_settings)) utils.waitForGUI() - test.compare(waitForObjectExists(names.o_settingsHome).visible, True, globals.SRSUI(vSRSUI)) + test.compare(waitForObjectExists(names.o_settingsHome).visible, True, utils.SRSUI(vSRSUI)) # the settings test page reverted back and it's no longer on the diagnostic page. #mouseClick(waitForObjectExists(names.o_diagnostics)) def gotoScreenNtest_Contains_TreatmentHome(vSRSUI=""): mouseClick (waitForObjectExists(names.o_mainMenu_treatment)) utils.waitForGUI() - test.compare(waitForObjectExists(names.o_treatmentHome).visible, True, globals.SRSUI(vSRSUI)) + test.compare(waitForObjectExists(names.o_treatmentHome).visible, True, utils.SRSUI(vSRSUI)) def showNtest_PowerOffDialog(vSRSUI=""): HDSimulator.cmd_show_poweroff_dialog() @@ -66,18 +66,18 @@ def test_PowerOffButton(vSRSUI=""): - test.compare(waitForObjectExists(names.o_poweroffButton).visible, True, globals.SRSUI(vSRSUI)) + test.compare(waitForObjectExists(names.o_poweroffButton).visible, True, utils.SRSUI(vSRSUI)) def test_PowerOffDialog(vSRSUI=""): - test.compare(waitForObjectExists(names.o_modalDialog).visible, True, globals.SRSUI(vSRSUI)) + test.compare(waitForObjectExists(names.o_modalDialog).visible, True, utils.SRSUI(vSRSUI)) def testNclick_ShutdownButton_onPowerOffConfirm(vSRSUI=""): - test.compare(waitForObjectExists(names.o_poweroff_shutdown).visible, True, globals.SRSUI(vSRSUI)) + test.compare(waitForObjectExists(names.o_poweroff_shutdown).visible, True, utils.SRSUI(vSRSUI)) mouseClick (waitForObjectExists(names.o_poweroff_shutdown)) utils.waitForGUI (1) # Wait for the animation def testNclick_CancelButton_onPowerOffConfirm(vSRSUI=""): - test.compare(waitForObjectExists(names.o_poweroff_cancel).visible, True, globals.SRSUI(vSRSUI)) + test.compare(waitForObjectExists(names.o_poweroff_cancel).visible, True, utils.SRSUI(vSRSUI)) mouseClick (waitForObjectExists(names.o_poweroff_cancel)) utils.waitForGUI (1) # Wait for the animation @@ -93,7 +93,7 @@ test_MainMenu_CurrentItem(535) # 028 : The Home Screen shall display a "Settings" button. - test.compare(str(waitForObjectExists(names.o_mainMenu_settings).text.text), "Settings", globals.SRSUI(28)) + test.compare(str(waitForObjectExists(names.o_mainMenu_settings).text.text), "Settings", utils.SRSUI(28)) utils.waitForGUI() # 029 : Upon "Settings" button depress on the Home Screen; the UI shall navigate the user to the Device Settings Screen.