Forum Discussion
Hi Jens - If you are trying to run batch in remote system(Node) then try with Checkbox {Run interactive user session & Use active session} enabled and also pass system credentials..
Thanks,
Kavan
Hi Kavan
Thank you for answering me - I appreciate any kind for help :o)
I think it's a rather "simple" setup I have:
Windows Server 12 R2 - my Jenkins-master.
On the server I also installed TestExecute 12.
I don't have any nodes but the master itself - shouldn't it be possible to run the TestComplete job in such a constellation?
Attached you find my Jenkins-settings for the TestComplete-job.
As you can see on the settings, I use a service-account for the Test Runner - this user is domain-user and member of the administrator-group.
The Jenkins-service on the server is marked with "Allow service to interact with desktop".
What have I done wrong?
Best regards
Jens
- AlexKaras8 years agoChampion Level 3
Hi Jens,
The most easy and reliable solution is to have a dedicated user account, specify this account for the test settings and guarantee that this given user is logged-in interactively before the test is started.
Actually, this has been discussed here a lot of times and the problem is not TestComplete-specific, but rather specific to the most of CI servers running non-interactively and tests that closely emulate end-user actions.
In a nutshell:
-- CI software usually runs non-interactively and do not interact with the desktop;
-- The fact that some account is allowed to interact with the desktop does not mean that account will be able and will be allowed to do this: account must have a permission to logon interactively; the user session for this account (the one that it will interact with) must already exist; etc.
-- Tests that interact with the UI require active interactive user session with the desktop - this is because otherwise the tested application will not be able to display its UI and tests will fail because the UI will actually be absent.
https://community.smartbear.com/t5/TestComplete-Desktop-Testing/TestComplete-with-Jenkins/m-p/126539#M7186 is a sample of the relevant discussion.
- kavansays8 years agoContributor
All looks good; can you try with adding domain name before username you entered?
Eg: Domain\svc_p_jenkins
Thanks - Kavan
Related Content
- 5 years agoganeshsonar
- 4 years agoPadovani
- 7 months agosohailalam2696
Recent Discussions
- 5 hours agoJacobjacob44