0

In one of my projects we are using comtypes to remote control GUI applications in order to automize testing. In case the tests are called manually everything seems to work smoothly, but in case jenkins is executing the test cases it might happen, that a strange OSError is thrown by

from comtypes.client import CreateObject

app=createObject("App")

The error reading is:

OSError: [WinError -2147467238] The server processs could not be started, as the configured identity is wrong. Check your username and password.

Does anyone know how it might be possible to fix this issue?

1 Answer 1

1

The error is stated here as

CO_E_RUNAS_LOGON_FAILURE
0x8000401A

Please use this answer to check which user is executing the script in your manual and automatized testing and I am quite sure they are different.

Sign up to request clarification or add additional context in comments.

1 Comment

Many thanks for the fast reply. Hopefully, we can gain some insights from your hint.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.