Index: tst_pre_treatment_water_sample/test.py =================================================================== diff -u -r0253307c311ba837dde52a0059b734d4015877d9 -r946a9c73f842097ea77985a3c5500fdb52381de0 --- tst_pre_treatment_water_sample/test.py (.../test.py) (revision 0253307c311ba837dde52a0059b734d4015877d9) +++ tst_pre_treatment_water_sample/test.py (.../test.py) (revision 946a9c73f842097ea77985a3c5500fdb52381de0) @@ -63,9 +63,9 @@ test.endSection() test.startSection("Verify the water sample screen for verification of BACK Button and NEXT Button") - test.compare(str(waitForObjectExists(names.o_back_button).text), config.BACK_BUTTON_TEXT,"Back button text should be {}".format(config.BACK_BUTTON_TEXT)) - test.compare(waitForObjectExists(names.o_back_button).enabled , True, "Back button should be enabled") - mouseClick(waitForObject(names.o_back_button)) + test.compare(str(waitForObjectExists(names.o_water_sample_back_button).text), config.BACK_BUTTON_TEXT,"Back button text should be {}".format(config.BACK_BUTTON_TEXT)) + test.compare(waitForObjectExists(names.o_water_sample_back_button).enabled , True, "Back button should be enabled") + 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))