Index: tst_create_custom_treatment/test.py =================================================================== diff -u -rcb040b6766457858de6f41141e116fdb95010dbe -r6bb28dbaadabd61c0ecff12d6a365184a982a5e5 --- tst_create_custom_treatment/test.py (.../test.py) (revision cb040b6766457858de6f41141e116fdb95010dbe) +++ tst_create_custom_treatment/test.py (.../test.py) (revision 6bb28dbaadabd61c0ecff12d6a365184a982a5e5) @@ -360,7 +360,8 @@ """ test.startSection("Method to set create custom treatment slider based on positive slider buffer") test.compare(waitForObject(names.o_PreTreatmentCreate_Create_a_Custom_Treatment_Text).text, config.TREATMENT_TITLE, "Title text should be -> "+str(config.TREATMENT_TITLE)) - + + test.compare(waitForObject(names.o_PreTreatmentCreate_PRESCRIPTION_Text).text, config.PRESCRIPTION_TITLE, "Title text should be -> "+str(config.PRESCRIPTION_TITLE)) #set custom values for parameters test.startSection("verification of blood flow values") test.compare(waitForObject(names.o_PreTreatmentCreate_bloodFlowRate_SliderCreateTreatment).label, config.BLOOD_FLOW_RATE, "Parameter should be -> "+str(config.BLOOD_FLOW_RATE)) @@ -415,6 +416,8 @@ test_custom_treatment_slider(names.o_PreTreatmentCreate_salineBolusSlider_Slider, saline_bolus, config.CREATE_TREATMENT_SLIDER_VALUES["saline_bolus"], config.SALINE_BOLUS) test.endSection() + test.compare(waitForObject(names.o_PreTreatmentCreate_OPERATING_PARAMETERS_Text).text, config.OPERATING_PARAMETERS_TEXT, "Title text should be -> "+str(config.OPERATING_PARAMETERS_TEXT)) + #scroll the screen to the title acid concentrate type parameter_object = set_parameter_type(text = config.ACID_CONCENTRATE_TITLE) utility.scroll_to_zone(parameter_object, names.o_treatment_create_flickable) @@ -601,14 +604,15 @@ hd_simulator.cmd_send_hd_operation_mode(4, 0) test.log("Verification of page step indicator from patient id page") - utility.page_step_indicator_verification(PRE_TREATMENT_STEP, names.o_PreTreatmentBase_nextStepsBullet_StepBullet) + utility.verify_page_step_indicator(PRE_TREATMENT_STEP, names.o_PreTreatmentBase_nextStepsBullet_StepBullet) mouseClick(waitForObject(names.o_input_patient_id)) type(waitForObject(names.o_input_patient_id), config.PATIENT_ID) + test.compare(waitForObject(names.o_PreTreatmentBase_Patient_ID_Text).text, config.PATIENT_ID_TEXT, "Title text should be -> "+str(config.PATIENT_ID_TEXT)) mouseClick(waitForObject(names.o_confirm_button)) test.log("Verification of page step indicator from create custom treatment page") - utility.page_step_indicator_verification(PRE_TREATMENT_STEP, names.o_PreTreatmentCreate_nextStepsBullet_StepBullet) + utility.verify_page_step_indicator(PRE_TREATMENT_STEP, names.o_PreTreatmentCreate_nextStepsBullet_StepBullet) verify_create_custom_treatment_parameter()