Index: suite_leahi/shared/scripts/configuration/utility.py =================================================================== diff -u -rf7c5babf0cceeac7cacd155523b3fca43ac25a95 -rbf4e1edb998d1ab22c639f571c5ad3b264dbac4b --- suite_leahi/shared/scripts/configuration/utility.py (.../utility.py) (revision f7c5babf0cceeac7cacd155523b3fca43ac25a95) +++ suite_leahi/shared/scripts/configuration/utility.py (.../utility.py) (revision bf4e1edb998d1ab22c639f571c5ad3b264dbac4b) @@ -73,7 +73,7 @@ return squish.waitForObject(names_dict, timeout_ms) except LookupError: test.fail("ERROR : " + error_message) - return None + return None def get_bullet_object(screen_obj, num): """ @@ -196,7 +196,7 @@ set_value_based_on_target(names.o_PreTreatmentCreate_dialysateTemperatureControl_ValueAdjuster,37.0) select_different_dropdown(names.o_PreTreatmentCreate_dialyzerTypeComboBox_BaseComboBox,config.DIALYZER_TYPE,2) set_value_based_on_target(names.o_PreTreatmentCreate_salineBolusVolumeControl_ValueAdjuster, 200) - select_different_dropdown(names.o_PreTreatment_vitalsCombobox_BaseCombobox,config.VITALS,1) + set_value_based_on_target(names.o_PreTreatmentCreate_bpMeasurementIntervalControl_ValueAdjusterCustom,5.0) select_different_dropdown(names.o_PreTreatmentCreate_bicarbonateConcentrateComboBox_BaseComboBox,config.BICARBONATE,0) Validatebutton = setObjectText(obj = names.o_preTreatmentStack_Text, text =config.VALIDATE) squish.mouseClick(squish.waitForObject(Validatebutton)) @@ -216,14 +216,12 @@ vArterialPressureLimitWindowRejectReason = 0, vVenousPressureLimitWindowRejectReason = 0, vVenousPressureLimitAsymtrcRejectReason = 0, - vTransmembranePressureLimitWindowRejectReason = 0, + vTransmembranePressureLimitWindowRejectReason= 0, vDialysateTempRejectReason = 0, vHeparinDispensingRateRejectReason = 0, vHeparinBolusVolumeRejectReason = 0 ) - - confirmButton = setObjectText(obj = names.o_preTreatmentStack_Text,text = config.CONFIRM ) - squish.mouseClick(squish.waitForObject(confirmButton)) + squish.mouseClick(names.o_preTreatmentStack_confirmButton_ConfirmButton) test.endSection() def findAllChildrenById(parent, target_id): @@ -328,8 +326,8 @@ return squish.waitForObject(names_dict, timeout_ms).text except LookupError: test.fail("ERROR : " + error_message) - return None - + return None + def findAllObjectsByText(parent, target_text): """ Recursively finds all child objects that have a 'text' property @@ -344,4 +342,4 @@ for child in object.children(parent): results.extend(findAllObjectsByText(child, target_text)) - return results + return results \ No newline at end of file