Window user logoff automatically after SessionCreator that triggered from
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Window user logoff automatically after SessionCreator that triggered from
Hello.
I have a jenkins job that trigger a test execution on another remote windows machine with session creator
When I execute this jenkins job manually, tests are executed successfully.
Also this job is triggered from nightly CI/CD jenkins pipeline.
Tests are executed successfully as well BUT Windows (10) user logoff automatically . So every morning I logon to the new user session. So I lose my recent progress.
I don't know this is related to TestComplete session creator or jenkins.
Anyone have an idea?
Logoff logs
Jenkins job start-end time
- Labels:
-
Integrations
-
Test Run
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't fully understand what the issue is? Are you saying that once SesssionCreator has completed the automation, it logs off?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not right after. There are few steps after execution such as result importer. But after all pipeline has finished, it logoff
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm just trying to understand the behaviour, as I also use SessionCreator in PowerShell script to run my automation. Once the automation is completed, the sessions is closed, i.e. user is logged off.
I'm just wondering if there's a setting in Jenkins to wait for the process to finish, before returning back.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked it but I don't see any settings on jenkins side. I think sessionCreater logon and logoff automatically for windows user and eventually it stays logoff .
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SessionCreator will log on, run the automation, and then log off. I would have assumed using parameter /UseActiveSession will maintain the current session after finishing.
Would it not be best to use TestComplete commands?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yeah, I agree. Also I use /UA command. But /UseActiveSession command is about current TestComplete session, isn't it? or it is about windows session?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
> or it is about windows session?
It is about existing interactive session for the specified user. TestComplete itself does not provide any session.
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The "session" refers to the user (UserX) that's logged onto the machine. When using /UseActiveSession, it will run the automation on UserX session. If you omit /UseActiveSession, it will run the automation on UserY session - based on the /UserName.
If you see Integration With Jenkins, in the video clip, they mention about "interactive user session" - this needs to be correctly setup.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just missed one configuration setting and I fix it now. I will try it this night.
If it wont fix the problem I will create a windows user such as tester that mentioned in the videoclip.
And If this wont fix either I will try to Jenkins TestComplete plugin.
Thank you so much
