Index: shared/scripts/names.py =================================================================== diff -u -r946a9c73f842097ea77985a3c5500fdb52381de0 -rec6abbbf816f40a33f731e751db7b11004b99075 --- shared/scripts/names.py (.../names.py) (revision 946a9c73f842097ea77985a3c5500fdb52381de0) +++ shared/scripts/names.py (.../names.py) (revision ec6abbbf816f40a33f731e751db7b11004b99075) @@ -70,6 +70,7 @@ o_filter_flush_progress_main = {"container": o_preTreatmentWaterSampleStack_PreTreatmentBase_TreatmentFlowBase_2, "objectName": "_TimeText", "type": "TimeText", "visible": True} o_filter_flush_progress = {"container": o_preTreatmentWaterSampleStack_PreTreatmentBase_TreatmentFlowBase_2, "objectName": "_TimeCircle", "type": "TimeCircle", "visible": True} #Next Button object +o_next_button_MouseArea = {"container": o_Gui_MainView, "id": "_mouseArea", "occurrence": 6, "type": "MouseArea", "unnamed": 1, "visible": True} o_next_button = {"container": o_preTreatmentWaterSampleStack_PreTreatmentBase_TreatmentFlowBase_2, "text": "NEXT", "type": "Text", "unnamed": 1, "visible": True} #Water Sample button object o_water_sample_button = {"container": o_preTreatmentWaterSampleStack_PreTreatmentBase_TreatmentFlowBase_2, "text": "WATER SAMPLE", "type": "Text", "unnamed": 1, "visible": True} Index: tst_pre_treatment_water_sample/test.py =================================================================== diff -u -r946a9c73f842097ea77985a3c5500fdb52381de0 -rec6abbbf816f40a33f731e751db7b11004b99075 --- tst_pre_treatment_water_sample/test.py (.../test.py) (revision 946a9c73f842097ea77985a3c5500fdb52381de0) +++ tst_pre_treatment_water_sample/test.py (.../test.py) (revision ec6abbbf816f40a33f731e751db7b11004b99075) @@ -54,6 +54,7 @@ test.startSection("Verify the water sample result screen") test.compare(str(waitForObjectExists(names.o_next_button).text), config.NEXT_BUTTON_TEXT, "Next Button text should be {}".format(config.NEXT_BUTTON_TEXT)) test.compare(waitForObjectExists(names.o_next_button).enabled , True,"Next button should be enabled") + mouseClick(waitForObject(names.o_next_button_MouseArea)) mouseClick(waitForObject(names.o_next_button)) utility.verify_page_step_indicator(names.o_preTreatmentWaterSampleStack_PreTreatmentBase_TreatmentFlowBase_2,PRE_TREATMENT_STEP, config.PRE_TREATMENT_SCREENS) test.compare(str(waitForObjectExists(names.o_pass_button).text), config.PASS_TEXT,"Pass button text should be {}".format(config.PASS_TEXT)) @@ -68,6 +69,7 @@ mouseClick(waitForObject(names.o_water_sample_back_button)) test.compare(str(waitForObjectExists(names.o_next_button).text), config.NEXT_BUTTON_TEXT, "Next Button text should be {}".format(config.NEXT_BUTTON_TEXT)) test.compare(waitForObjectExists(names.o_next_button).enabled , True,"Next button should be enabled") + mouseClick(waitForObject(names.o_next_button_MouseArea)) mouseClick(waitForObject(names.o_next_button)) test.endSection()