Forum Discussion

lcorkren's avatar
lcorkren
Contributor
9 years ago
Solved

The plugin-container.exe process crashed.

I have a test suite that closes the browser, and re-opens the browser in the next text, occassionaly I get the error:  The plugin-container.exe process crashed. Is there a way to prevent this error f...
  • leandroaraujoso's avatar
    9 years ago

    Hello, lcorkren

     

    I had dealt with this very same problem recently. Here is what I did:

     

    I handled that kind of error on the OnLogError event. In the function I've created a statement like this:

     

    if (LogParams.MessageText == "My annoying false error message")

      Log.locked =  true; // (More or less like this. This will block the current message being posted. I don't know the property for sure).

     

    In order to know the the correct properties (I'm not in front a computer with TC now), I recommend you to create an Empty OnLogError event and put a breakpoint inside of it, then in any test, post a Log.Error("Something just to test") and finally, on debbug mode, you will be able to check the correct properties and everything you need.

     

    Hope this helps. If you need a more detailed explanation, let me know.

     

    Regards,

     

    Leandro de Araújo Souza