Index: suite_leahi/shared/scripts/configuration/utility.py =================================================================== diff -u -r8a2c16a0af26e03c9bcb54dcb3c6b88907ffddab -r0130028593cbcfc6ec7e97af4b4c48f26b96898b --- suite_leahi/shared/scripts/configuration/utility.py (.../utility.py) (revision 8a2c16a0af26e03c9bcb54dcb3c6b88907ffddab) +++ suite_leahi/shared/scripts/configuration/utility.py (.../utility.py) (revision 0130028593cbcfc6ec7e97af4b4c48f26b96898b) @@ -131,7 +131,6 @@ def verify_create_treatment_parameters(): test.startSection("Pre treatment parameters") navigation.navigation_pageIndicator_step(config.CREATERX) - # squish.mouseClick(names.o_PreTreatmentSampleStack_failContainer_WaterSampleContainer) squish.mouseClick(squish.waitForObject(names.o_PreTreatmentCreate_pretreatmentPatientIDEntry_TextEntry)) squish.waitForObject(names.o_PreTreatmentCreate_pretreatmentPatientIDEntry_TextEntry).text ="abcd" set_value_based_on_target(names.o_PreTreatmentCreate_bloodFlowRateControl_ValueAdjuster, 60) @@ -169,7 +168,11 @@ vHeparinDispensingRateRejectReason = 0, vHeparinBolusVolumeRejectReason = 0 ) - squish.mouseClick(names.o_preTreatmentStack_confirmButton_ConfirmButton) + + # confirm = squish.waitFor(lambda:object.exists(names.o_preTreatmentStack_confirmButton_ConfirmButton), 3000) + # step_id = squish.waitForObjectExists(names.o_preTreatmentStack_PreTreatmentStack) + squish.mouseClick(names.o_preTreatmentStack_confirmButton_ConfirmButton) + test.endSection() def findAllObjectsById(parent, target_id): @@ -276,4 +279,4 @@ return squish.waitForObject(names_dict, timeout_ms).text except LookupError: test.fail("ERROR : " + error_message) - return None \ No newline at end of file + return None