Index: shared/scripts/names.py =================================================================== diff -u -r11e9610683d44aba3c57dc04b0abcc7ca8e30c66 -rda46595d179733486cc338c18fc0df1f31eb7f0d --- shared/scripts/names.py (.../names.py) (revision 11e9610683d44aba3c57dc04b0abcc7ca8e30c66) +++ shared/scripts/names.py (.../names.py) (revision da46595d179733486cc338c18fc0df1f31eb7f0d) @@ -66,11 +66,8 @@ o_PreTreatmentBase_confirmButton_TouchRect_2 = {"container": o_PreTreatmentCreateStack_PreTreatmentBase_TreatmentFlowBase, "gradient": 0, "objectName": "_confirmButton", "type": "TouchRect", "visible": True} o_PreTreatmentCreate_heparinDispensingRate_SliderCreateTreatment = {"container": o_PreTreatmentCreateStack_PreTreatmentCreate_PreTreatmentCreate, "gradient": 0, "objectName": "_heparinDispensingRate", "type": "SliderCreateTreatment", "visible": True} o_PreTreatmentBase_backgroundRect_Rectangle_2 = {"container": o_PreTreatmentCreateStack_PreTreatmentBase_TreatmentFlowBase, "gradient": 0, "id": "_backgroundRect", "type": "Rectangle", "unnamed": 1, "visible": True} -#o_keyboard_switch = {"container": o_Gui_MainView, "id": "shiftKeyIcon", "source": "qrc:/QtQuick/VirtualKeyboard/content/styles/default/images/shift-868482.svg", "type": "Image", "unnamed": 1, "visible": True} -#o_keyboard_switch2 = {"container": o_Gui_MainView, "id": "shiftKeyIcon", "source": "qrc:/QtQuick/VirtualKeyboard/content/styles/default/images/shift-80c342.svg", "type": "Image", "unnamed": 1, "visible": True} -#o_keyboard_switch = {"container": o_Gui_MainView, "text": "1/2", "type": "Text", "unnamed": 1, "visible": True} -#o_keyboard_switch2 = {"container": o_Gui_MainView, "text": "2/2", "type": "Text", "unnamed": 1, "visible": True} o_keyboard_switch = {"container": o_Gui_MainView, "id": "_shiftKeyIcon", "source": "qrc:/plugins/QtQuick/VirtualKeyboard/Styles/denali/images/iShiftNormal.svg", "type": "Image", "unnamed": 1, "visible": True} o_keyboard_switch2 = {"container": o_Gui_MainView, "id": "_shiftKeyIcon", "source": "qrc:/plugins/QtQuick/VirtualKeyboard/Styles/denali/images/iShiftActive.svg", "type": "Image", "unnamed": 1, "visible": True} +o_PreTreatmentBase_backButton_BackButton = {"container": o_PreTreatmentCreateStack_PreTreatmentBase_TreatmentFlowBase, "objectName": "_backButton", "type": "BackButton", "visible": True} +o_PreTreatmentPatientid_back_button = {"container": o_PreTreatmentCreateStack_PreTreatmentBase_TreatmentFlowBase, "objectName": "_backButton", "type": "BackButton", "visible": True} - Index: tst_patient_id/test.py =================================================================== diff -u -r41a47927492869832692ec6e17a9de53a68e57e9 -rda46595d179733486cc338c18fc0df1f31eb7f0d --- tst_patient_id/test.py (.../test.py) (revision 41a47927492869832692ec6e17a9de53a68e57e9) +++ tst_patient_id/test.py (.../test.py) (revision da46595d179733486cc338c18fc0df1f31eb7f0d) @@ -202,6 +202,7 @@ mouseClick(waitForObject(names.o_input_patient_id)) for expected_patient_id, actual_patient_id in config.PATIENT_ID_COMBINATION.items(): validation_of_valid_patient_id_through_keypad(expected_patient_id, actual_patient_id) + mouseClick(waitForObject(names.o_PreTreatmentPatientid_back_button)) validation_of_valid_patient_id_through_user_input(expected_patient_id, actual_patient_id) #verification of confirm button without giving patient id