How to manually test applications in Containers
25/05/2019 Cliff Hobbs ID: 266751
You do not need to deploy a Cloudhouse Compatibility Container™ to test the application containerised within it. You can simply run the application from within the Container's current directory which is useful for testing the outcome of the packaging process as part of the user acceptance testing (UAT) process.
The application can be launched from the Container from any location, including UNC paths.
The following commands can be run manually or as part of a script to launch the application in the Container.
To run a Container:
- Start a Windows Command Prompt.
- Navigate to the <drive>:\<path_to_container>\Container folder where:
<drive>: is the drive containing the Container
<path_to_container> is the path to the folder containing the containerized application
For example: C:\Containers\VLC 32-bit\Container
- Run the Cloudhouse.Container.Run.exe executable.
Run conditions specify the commands that will be executed either by shortcuts or by other user actions. They are defined in the Programs.xml file.
If you need to provide a Run Condition, add the /runconditions command-line switch followed by the name of the relevant Run Condition. For example:
<drive>:\<path_to_container>\Container> Cloudhouse.Container.Run.exe /runconditions Run1
You can also provide multiple Run Conditions by separating them with spaces. For example:
<drive>:\<path_to_container>\Container> Cloudhouse.Container.Run.exe /runconditions Run1 Run2