Index: suite_leahi/shared/scripts/configuration/config.py =================================================================== diff -u -r327c6aede61276371b4887783508e56be75fd792 -r21b154585b774a106ae9f703ae78654a0aa1ec79 --- suite_leahi/shared/scripts/configuration/config.py (.../config.py) (revision 327c6aede61276371b4887783508e56be75fd792) +++ suite_leahi/shared/scripts/configuration/config.py (.../config.py) (revision 21b154585b774a106ae9f703ae78654a0aa1ec79) @@ -137,6 +137,10 @@ DIASTOLIC_39 = "39" HEARTRATE_39 = "39" RED_COLOR = "#c53b33" +SYSTOLIC_121 = "121" +DIASTOLIC_81 = "81" +HEARTRATE_76 = "76" + #Feature Options FEATURE_CONFIGURATIONS_SCREEN_TITLE_TEXT = "Feature Configurations" FEATURE_CONFIGURATIONS_PARAMETERS_TEXTS = ["Integrated BP Cuff", "Heparin Syringe Pump", "Chemical Disinfection"] Index: suite_leahi/tst_patient_vitals/test.py =================================================================== diff -u -rc33c89216f02adf37edddeb74953666aaf9da666 -r21b154585b774a106ae9f703ae78654a0aa1ec79 --- suite_leahi/tst_patient_vitals/test.py (.../test.py) (revision c33c89216f02adf37edddeb74953666aaf9da666) +++ suite_leahi/tst_patient_vitals/test.py (.../test.py) (revision 21b154585b774a106ae9f703ae78654a0aa1ec79) @@ -1,4 +1,5 @@ # Subject/Title: LDT -2280 Patient Vitals - SW - 02 - Q&R - 15: SIT - Software Integration Tests - Squish Qt +# and LDT-4555 NON-FEATURE: SW Misc & Enhc - SW - 02 - SW Integration - Vitals - Q&R # # Functionalities: Testing all functionalities of Patient Vitals in the main treatment screen # @@ -8,7 +9,7 @@ # - Verify the Diastolic minimum ,mid and maximum values in Vital Popup # - Verify the Heart Rate minimum,mid and maximum values in Vital Popup # - Verify the time intervals in the vital interval Popup -# - Verify the vitals popup is opened automatically once the BPM interval time is elapsed when the rejection reason is 1 +# - Verify the vitals popup is opened automatically oncse the BPM interval time is elapsed when the rejection reason is 1 # - Verify the confirm button is disabled when user enters out of range values in the systolic, diastolic and heart rate parameters # - Verify the vitals interval time with current system time # - Request a Measure Vitals, Respond with Vitals Data and Confirm data is correct on Vitals dialog @@ -491,10 +492,10 @@ test.compare(vitals_sent_time, vitals_popup_last_read_time, "Vitals popup Last read time") popup_blood_pressure = utility.get_object_from_names(names.o_bloodPressure_LabelValue) blood_pressure = utility.findObjectById(popup_blood_pressure, "_topText") - test.compare(blood_pressure.text, '121/81', "Vitals Popup Blood Pressure Data") + test.compare(blood_pressure.text, config.SYSTOLIC_121+"/"+config.DIASTOLIC_81, "Vitals Popup Blood Pressure Data") popup_heart_beat = utility.get_object_from_names(names.o_heartBeat_LabelValue) heart_beat = utility.findObjectById(popup_heart_beat, "_topText") - test.compare(str(heart_beat.text), '76', "Vitals Popup Heart Beat Data") + test.compare(str(heart_beat.text), config.HEARTRATE_76, "Vitals Popup Heart Beat Data") test.endSection() utils.tstDone()