Problems executing NUnit tests

I’m trying to execute a set of Selenium tests with NUnit via Octopus. I’ve already imported the step template for NUnit and configured the parameters for it.
There are two problems now:

  1. I get this output when executing the tests with octopus but not when executing them in the test machine:
    1492718257220 addons.manager DEBUG Application has been upgraded
    April 20th 2017 15:57:41
    Info
    1492718257466 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: [“XPIProvider”]
    April 20th 2017 15:57:41
    Info
    1492718257470 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: [“LightweightThemeManager”]

There’s a lot of these lines, like 100. I read that this problem is between Selenium and Firefox but I don’t understand why I get this output with octopus but not when running it in the machine.

  1. I need to execute the tentacle service with an specific user. When I configure the “Log on” tab for the service with the user I need the tests don’t run (I checked the service log and it says it’s running with the user I need). Sometimes the execution freezes or sometimes it fails. However, when I manually execute the Tentacle.exe logged in the machine with the user I need the tests run successfully.

One thing I noticed it that when the tests fails this message is printed (In addition to the stack of prints from the first problem):
rash Annotation GraphicsCriticalError: |[0][GFX1-]: [D3D11] create swap chain failed: 0x887a0022, 0 (t=94.2128)|[1][GFX1-]: [D3D11] create swap chain failed: 0x887a0022, 0 (t=107.803)[GFX1-]: [D3D11] create swap chain failed: 0x887a0022, 0

So yeah, I’m lost as of what could be the problem.
Thanks in advance.

Hi Vane,

Thanks for getting in touch. It sounds like the problem is due to the process running the selenium tests (Tentacle) cannot interact with the browser to run the tests as it is running as a Windows service. You may have some luck by enabling the interact with desktop option.

Robert W

Thanks for the fast reply.
I was really hoping this would fix our problems but it didn’t seem to work.
For the moment we’ll stick with the workaround of executing the service manually and in the future search more about this.