Table of Contents





TrendIC B.V., Waddinxveen | The Netherlands | +31 182 613945 | https://www.trendic.nl | support@trendic.nl
+31 182 613945 | https://www.trendic.nl | support@trendic.nl


Run Unattended Scenario in VM environments

Introduction

In order to execute test case scenarios that are scheduled to run in Virtual Machine environments during non-office hours, either by the ICTestAutomation ICConsole scheduling feature or any other scheduling mechanism, there are some thoughts to be considered.
This topic will give a brief overview of some items that are specifically to be considered in Windows environments, such as Server 2012 or higher, and Windows 8 or higher.

CitraTest

CitraTest will need the following configuration to be able to run unattended test case executions.

Desktop

The desktop must be visible to any running test case. When minimizing the VM window, the desktop will no longer be visible to the test case.
Also, the desktop display settings must be equal to the desktop settings at test case development time.

User account

The user account running CitraTest must be logged on to the virtual machine and the user session must be kept alive. A disconnect or Sign out will result in corresponding error messages and test case failure.

ICConsole scheduler

When running test case scenarios from the ICTestAutomation ICConsole scheduler, the TrendIC.ICConsole program must run with the same user credentials as the test cases are to run with. Test cases are run with credentials of the user account that is logged on.
Also, TrendIC.ICConsole must run in the same VM session as the test cases are to run in.

Other schedule mechanisms

Any other schedule mechanism must comply with the above TrendIC.ICConsole considerations.

Configuration

If the requirement is to have the Virtual Machine always locked or logged off, the method as outlined below would apply.

Group policy settings

Set the following Group policy on each of the Virtual Machines

Local Group Policy Editor (Start>Run>gpedit.msc):