Index: suite_leahi/tst_service_export_logs/test.py =================================================================== diff -u -r2e13d6d0385ee3f37a29885e91bfd8a44b098b84 -rc5d976bf0a23af578cf587aa2b3d5d2c8e965542 --- suite_leahi/tst_service_export_logs/test.py (.../test.py) (revision 2e13d6d0385ee3f37a29885e91bfd8a44b098b84) +++ suite_leahi/tst_service_export_logs/test.py (.../test.py) (revision c5d976bf0a23af578cf587aa2b3d5d2c8e965542) @@ -49,7 +49,7 @@ """ For checking enabled/disabled state of the usb eject button """ - eject_usb_button = utility.get_object_from_names(names.usbEjectButton, error_message="eject usb button object not found") + eject_usb_button = utility.get_object_from_names(names.usbEjectButton, error_message="eject usb button object not found", timeout_ms=1000) if eject_usb_button is not None: test.compare(eject_usb_button.enabled, is_enabled, f"Check if the USB eject button enabled = {is_enabled}") if is_clicking_button: @@ -77,6 +77,7 @@ mouseClick(waitForObjectExists(names.exportButton)) export_log_status = utility.get_object_from_names(names.notificationBar, error_message = "export log status missing", timeout_ms = 3000) + utils.waitForGUI(1) #This wait is to verify that the Application log export to USB is complete. Increase seconds in waitForGUI if the test compare fails. if export_log_status is not None: test.compare(export_log_status.text,config.EXPORT_LOG_STATUS,"{}".format(config.EXPORT_LOG_STATUS)) check_eject_usb_button(config.ENABLED, is_clicking_button=True)