Index: suite_leahi/shared/scripts/names.py =================================================================== diff -u -r5a31e21e36f2652df87477d61a8b9f43f2bc89d2 -r834a1140f64954a507508ac12ab2b77f9c1c4880 --- suite_leahi/shared/scripts/names.py (.../names.py) (revision 5a31e21e36f2652df87477d61a8b9f43f2bc89d2) +++ suite_leahi/shared/scripts/names.py (.../names.py) (revision 834a1140f64954a507508ac12ab2b77f9c1c4880) @@ -342,6 +342,7 @@ o_Recirculate_InProgress_Screen_ButtonEndTreatment = {"container": o_recirculateRecirculateStack_EndTreatmentBase_EndTreatmentRecirculateProgress, "type": "ButtonEndTreatment", "unnamed": 1 } o_EndTreatmentBase_ButtonResume = {"container": o_recirculateRecirculateStack_EndTreatmentBase_EndTreatmentRecirculateProgress, "type": "ButtonResume", "unnamed": 1 } o_recirculateRecirculateStack_EndTreatmentBase_EndTreatmentBase_2= {"container": o_recirculateRecirculateStack_EndTreatmentRecirculateStack, "objectName": "_EndTreatmentBase", "type": "EndTreatmentBase", "visible": True } +#The 'visible' property is required here to distinguish Reconnect to Patient screen objects from the 'set_up' screen, as both share the same container and object name. This allows Squish to correctly find the object for performing mouseClick() and getting object text. o_EndTreatmentBase_ButtonEndTreatment_2 = {"container": o_recirculateRecirculateStack_EndTreatmentBase_EndTreatmentBase_2, "type": "ButtonEndTreatment", "unnamed": 1 } o_EndTreatmentBase_NotificationBar_NotificationBarSmall_2 = {"container": o_recirculateRecirculateStack_EndTreatmentBase_EndTreatmentBase_2, "objectName": "NotificationBar", "type": "NotificationBarSmall", } o_EndTreatmentBase_ButtonResume_2 = {"container": o_recirculateRecirculateStack_EndTreatmentBase_EndTreatmentBase_2, "type": "ButtonResume", "unnamed": 1 }