# Error when I run a file.robot

**URL:** <https://forum.robotframework.org/t/error-when-i-run-a-file-robot/1037>\
**Category:** Robot Framework\
**Created:** [28 November 2020 19:54 UTC](https://forum.robotframework.org/t/error-when-i-run-a-file-robot/1037 "2020-11-28T19:54:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![joseilton](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@joseilton](https://forum.robotframework.org/u/joseilton)\
**Post date:** [28 November 2020 19:54 UTC](https://forum.robotframework.org/t/error-when-i-run-a-file-robot/1037/1 "2020-11-28T19:54:29Z")

</div>

I’m automating some tests, but when I execute the command “robot XPTO.robot” the CMD screen display the error message: “_USB: usb\_device\_handle\_win.cc:1020 Failed to read descriptor from node connection: A device attached to the system is not functioning._”

In fact, this type of error does not interrupt the test, but the log is full of dirt.

Has anyone here had this problem or know how to solve it?

Thank you n advance.

---

<div class="post-metadata">

**Author:** ![serici](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/serici/32/446_2.png) [@serici](https://forum.robotframework.org/u/serici)\
**Post date:** [30 November 2020 09:58 UTC](https://forum.robotframework.org/t/error-when-i-run-a-file-robot/1037/2 "2020-11-30T09:58:37Z")

</div>

Hi, my guess is : you read and write from to an usb device that is corrupted

make a backup and test with an another one

---

<div class="post-metadata">

**Author:** ![joseilton](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@joseilton](https://forum.robotframework.org/u/joseilton)\
**Post date:** [1 December 2020 13:16 UTC](https://forum.robotframework.org/t/error-when-i-run-a-file-robot/1037/3 "2020-12-01T13:16:57Z")

</div>

Thank you @serici, but I’m not using any kind of USB driver.

It looks like it’s some kind of message from chromedriver. I managed to solve the problem by placing the instruction **options** after the browser’s name:

_Open Browser about:blank ${BROWSER} options=add\_experimental\_option(‘excludeSwitches’, [‘enable-logging’])_

Any way thank you very much for your assistence. 👍

---

<div class="post-metadata">

**Author:** ![serici](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/serici/32/446_2.png) [@serici](https://forum.robotframework.org/u/serici)\
**Post date:** [2 December 2020 12:18 UTC](https://forum.robotframework.org/t/error-when-i-run-a-file-robot/1037/4 "2020-12-02T12:18:33Z")

</div>

thx for the update 🙂

---

<div class="post-metadata">

**Author:** ![damies13](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/damies13/32/623_2.png) [@damies13](https://forum.robotframework.org/u/damies13)\
**Post date:** [21 February 2021 01:54 UTC](https://forum.robotframework.org/t/error-when-i-run-a-file-robot/1037/5 "2021-02-21T01:54:42Z")

</div>

Hi @joseilton ,

Is your issue the same as the one in this thread [Error with Chrome version 88](https://forum.robotframework.org/t/error-with-chrome-version-88/1233)? If you have a solution can you help them?

Dave.
