Index: suite_leahi/shared/scripts/configuration/utility.py =================================================================== diff -u -rb8b0f0c6a997f1cd1a4b7da3daa4f32aec2349a4 -r6765d2b2000d80851bc0fab1cfa5b1953d196b1a --- suite_leahi/shared/scripts/configuration/utility.py (.../utility.py) (revision b8b0f0c6a997f1cd1a4b7da3daa4f32aec2349a4) +++ suite_leahi/shared/scripts/configuration/utility.py (.../utility.py) (revision 6765d2b2000d80851bc0fab1cfa5b1953d196b1a) @@ -141,7 +141,7 @@ vArterialPressureLimitWindowRejectReason = 0, vVenousPressureLimitWindowRejectReason = 0, vVenousPressureLimitAsymtrcRejectReason = 0, - vTrancembrncPressureLimitWindowRejectReason = 0, + vTransmembranePressureLimitWindowRejectReason = 0, vDialysateTempRejectReason = 0, vHeparinDispensingRateRejectReason = 0, vHeparinBolusVolumeRejectReason = 0 Index: suite_leahi/shared/scripts/names.py =================================================================== diff -u -rb8b0f0c6a997f1cd1a4b7da3daa4f32aec2349a4 -r6765d2b2000d80851bc0fab1cfa5b1953d196b1a --- suite_leahi/shared/scripts/names.py (.../names.py) (revision b8b0f0c6a997f1cd1a4b7da3daa4f32aec2349a4) +++ suite_leahi/shared/scripts/names.py (.../names.py) (revision 6765d2b2000d80851bc0fab1cfa5b1953d196b1a) @@ -85,11 +85,9 @@ #Heparin o_listView_Item = {"container": o_Gui_MainView, "type": "Item", "unnamed": 1 } o_treatmentHeparin_TreatmentHeparin = {"container": o_Gui_MainView, "id": "_treatmentHeparin", "type": "TreatmentHeparin", "unnamed": 1 } -o_treatmentHeparin_contentArea_ContentArea = {"container": o_treatmentHeparin_TreatmentHeparin, "id": "_contentArea", "type": "ContentArea", "unnamed": 1 } o_treatmentHeparin_Prescription_Column = {"container": o_treatmentHeparin_TreatmentHeparin, "id": "_heparinPrescriptionContent", "type": "Column", "unnamed": 1 } o_treatmentHeparin_heparinButton_TouchRect = {"container": o_treatmentHeparin_TreatmentHeparin, "id": "_heparinButton", "type": "TouchRect", "unnamed": 1 } o_treatmentHeparin_status_Rectangle = {"container": o_treatmentHeparin_TreatmentHeparin, "id": "_status", "type": "Rectangle", "unnamed": 1 } - o_PreTreatmentCreateStack_PreTreatmentCreateStack = {"container": o_Gui_MainView, "objectName": "_PreTreatmentCreateStack","type": "PreTreatmentCreateStack", } o_PreTreatmentCreateStack_PreTreatmentCreate_PreTreatmentCreate = {"container": o_PreTreatmentCreateStack_PreTreatmentCreateStack, "objectName": "_PreTreatmentCreate", "type": "PreTreatmentCreate", } o_PatientIDEntry_TextEntry = {"container": o_PreTreatmentCreateStack_PreTreatmentCreate_PreTreatmentCreate, "id": "_pretreatmentPatientIDEntry", "type": "TextEntry", "unnamed": 1 } @@ -106,6 +104,5 @@ o_PreTreatment_vitalsCombobox_BaseCombobox = {"container": o_PreTreatmentCreateStack_PreTreatmentCreate_PreTreatmentCreate, "id": "_bpMeasurementIntervalControl", "type": "BaseComboBox", "unnamed": 1 } o_PreTreatmentCreate_acidConcentrateComboBox_BaseComboBox = {"container": o_PreTreatmentCreateStack_PreTreatmentCreate_PreTreatmentCreate, "id": "_acidConcentrateComboBox", "type": "BaseComboBox", "unnamed": 1 } o_PreTreatmentCreate_dialyzerTypeComboBox_BaseComboBox = {"container": o_PreTreatmentCreateStack_PreTreatmentCreate_PreTreatmentCreate, "id": "_dialyzerTypeComboBox", "type": "BaseComboBox", "unnamed": 1 } -o_vitalsButton_VitalsButton = {"container": o_Gui_MainView, "id": "_vitalsButton", "type": "VitalsButton", "unnamed": 1 } o_option_combo_box = {"container": o_Overlay, "type": "Text", "unnamed": 1 } o_PreTreatmentButtom = {"container": o_PreTreatmentCreateStack_PreTreatmentCreate_PreTreatmentCreate, "objectName": "_confirmButton", "type": "ConfirmButton" } Index: suite_leahi/tst_heparin/test.py =================================================================== diff -u -rb8b0f0c6a997f1cd1a4b7da3daa4f32aec2349a4 -r6765d2b2000d80851bc0fab1cfa5b1953d196b1a --- suite_leahi/tst_heparin/test.py (.../test.py) (revision b8b0f0c6a997f1cd1a4b7da3daa4f32aec2349a4) +++ suite_leahi/tst_heparin/test.py (.../test.py) (revision 6765d2b2000d80851bc0fab1cfa5b1953d196b1a) @@ -126,7 +126,7 @@ vArterialPressureLimitWindowRejectReason = 0, vVenousPressureLimitWindowRejectReason = 0, vVenousPressureLimitAsymtrcRejectReason = 0, - vTrancembrncPressureLimitWindowRejectReason = 0, + vTransmembranePressureLimitWindowRejectReason = 0, vDialysateTempRejectReason = 0, vHeparinDispensingRateRejectReason = 0, vHeparinBolusVolumeRejectReason = 0 @@ -140,21 +140,10 @@ def main(): utils.tstStart(__file__) startApplication(config.AUT_NAME) - td.td_operation_mode(TDOpModes.MODE_STAN.value) - # verify Standby screen - test.verify(waitForObjectExists(names.o_standByScreen_MainHome), "In Standby") - change_treatmentstates(TDTreatmentStates.TREATMENT_DIALYSIS_STATE.value) - - test.startSection("Check the heparin values in Heparin page") - heparin = utility.setObjectText(text=HEPARIN, obj=names.o_listView_Item) - mouseClick(waitForObject(heparin)) - #check the off values - verify_heparin_precription_parameters(heparin_off) - test.endSection() - test.startSection("Verify the heparin state is off state") - td.td_operation_mode(TDOpModes.MODE_STAN.value) + td.td_operation_mode(TDOpModes.MODE_STAN.value) + mouseClick(waitForObject(names.o_createTreatmentRect_TouchRect)) td.td_operation_mode(TDOpModes.MODE_TPAR.value) verify_create_treatment_parameters_Heparin_OFF() change_treatmentstates(TDTreatmentStates.TREATMENT_PAUSED_STATE.value) @@ -166,6 +155,7 @@ test.startSection("Verify prescription rx parameters in heparin page") td.td_operation_mode(TDOpModes.MODE_STAN.value) + mouseClick(waitForObject(names.o_createTreatmentRect_TouchRect)) td.td_operation_mode(TDOpModes.MODE_TPAR.value) utility.verify_create_treatment_parameters() change_treatmentstates(TDTreatmentStates.TREATMENT_PAUSED_STATE.value) @@ -200,7 +190,7 @@ 0 , 5 # Heparin Complete state ) - status = waitForObject(names.o_treatmentHeparin_status_Rectangle) + status = waitForObject(names.o_treatmentHeparin_status_Rectangle) statustext = utility.findObjectById(status,'_statusText') test.compare(COMPLETE, statustext.text,"Status text should be ->"+str(COMPLETE)) test.endSection()