Index: tst_post_treatment/test.py =================================================================== diff -u -rd6518e26df89b43f269338a95d45b708cc37ec3a -rc99951f0aa8f348dbc5e72d47ab30443b47c5415 --- tst_post_treatment/test.py (.../test.py) (revision d6518e26df89b43f269338a95d45b708cc37ec3a) +++ tst_post_treatment/test.py (.../test.py) (revision c99951f0aa8f348dbc5e72d47ab30443b47c5415) @@ -58,26 +58,15 @@ return names.o_right_arrow -def get_leftarrow_obj(screen_obj): - """ - To obtain object for right arrow based on container - @param (str) screen_obj: provides the container - @returns a real name object - """ - names.o_left_arrow["container"] = screen_obj - return names.o_left_arrow - - def navigation_to_post_treatment(): """ Method for navigating to post treatment disconnection submode. """ hd_simulator.cmd_send_hd_operation_mode(op_mode = HDOpModes.MODE_POST.value, sub_mode=PostTreatmentStates.HD_POST_TREATMENT_PATIENT_DISCONNECTION_STATE.value) if object.exists(get_rightarrow_obj(rightarrow_obj_names[0])): mouseClick(waitForObject(get_rightarrow_obj(rightarrow_obj_names[0]))) - if object.exists(get_rightarrow_obj(rightarrow_obj_names[0])): + if object.exists(get_rightarrow_obj(rightarrow_obj_names[0])): mouseClick(waitForObject(get_rightarrow_obj(rightarrow_obj_names[0]))) - def post_treatment_review_text_obj(text): """ @@ -298,7 +287,6 @@ getting_patient_id_from_create_custom_treatment(config.POST_TREATMENT_REVIEW_PARAMETER_RANGE["Patient ID"][index]) navigation_to_post_treatment() - mouseClick(waitForObject(names.o_patientDisconnectionConfirm_Button)) review_parameter_value = review_text(text = "Patient ID") utility.scroll_to_zone(review_parameter_value, names.o_review_area, direction = "Top") @@ -340,7 +328,7 @@ average_venous_pressure = config.POST_TREATMENT_REVIEW_PARAMETER_RANGE["Average Venous Pressure"][index] ) - utils.waitForGUI(2) #adding delay for fetching effect. + utils.waitForGUI(1) #adding delay for fetching effect. test.startSection("verification of post treatment review values for iteration -> "+str(index+1)) test.log("###verification of post treatment UI data") @@ -430,9 +418,6 @@ verify_patient_disconnection_screens() verify_disposables_screen() - - - navigation_to_post_treatment() verify_post_treatment_review_parameters() verify_post_treatment_review_log_data()