def METHOD_NAME(self):
    # Enable 64-bit
    time.sleep(10)
    finished = False
    while not finished:
        self.dump_always()
        test_region = self.vc.findViewById(
            "com.antutu.ABenchMark:" "id/start_test_region"
        )
        if test_region:
            test_region.touch()
        time.sleep(30)
        self.dump_always()
        text_qr_code = self.vc.findViewWithText("QRCode of result")
        if text_qr_code:
            finished = True
            self.logger.info("Benchmark test finished!")
        stop_msg = "Unfortunately, AnTuTu 3DBench has stopped."
        msg_stopped = self.vc.findViewWithText(stop_msg)
        if msg_stopped:
            btn_ok = self.vc.findViewWithTextOrRaise("OK")  # nopep8
            btn_ok.touch()
        # cancel the update
        update_window = self.vc.findViewWithText("New update available")
        need_permission_msg = self.vc.findViewWithText(
            "Please allow the permissions we need for test"
        )
        allow_permission_btn = self.vc.findViewWithText("ALLOW")
        warn_msg = self.vc.findViewWithText(
            "This app was built for an older version of Android and may not work properly. Try checking for updates, or contact the developer."
        )
        continue_btn = self.vc.findViewWithText("CONTINUE")
        if update_window:
            btn_cancel = self.vc.findViewWithTextOrRaise("Cancel")
            btn_cancel.touch()
        elif need_permission_msg:
            btn_ok = self.vc.findViewWithTextOrRaise("OK")
            btn_ok.touch()
        elif allow_permission_btn:
            allow_permission_btn.touch()
        elif warn_msg:
            self.logger.info("Older version warning popped up")
            warning_ok_btn = self.vc.findViewWithTextOrRaise("OK")
            warning_ok_btn.touch()
        elif continue_btn:
            continue_btn.touch()