Skip to main content

Launch Configuration for Pos Automation

Overview

This document provides automation parameters that should be setup before running a test.

If you are using Cucumber for running the tests, update the properties in launcher.properties file.

If you are using Maven launch for running the tests, update the properties in the Maven launch.

Parameters

Parameter NameValue
autConfigPropertyFileNamesposNextGen1024x768
(Note: This property file name can be any name and the name should be similar to the created property file)
autClient.configFolderPath to the local pos config folder e.g., C:\Enactor\pos\config
enactor.tests.profileuitest
debug.enabledtrue
autHostNamelocalhost
(If you are running on a remote POS, provide the IP of the remote POS machine.
If you are running on a local machine, use localhost)
autPort4099
forkModenever
autSimulateMouseModefalse
testDataPropertyFileNamestestData
cucumber.filter.tagsTest Case num e.g., @PT-649
Terminal numberTerminal number of the POS that you will use to run the automation eg: 01
restapi.base.urlBase URL for the REST API endpoints. This is required to run Postman scripts in automated tests. Refer Postman Collections for more details. Example: http://localhost:39830

Additional Parameters for React POS

If it is a React POS, following properties are additional.

ParameterValue
autConfigPropertyFileNamesposNextGen1024x768,webPos,htmlFixedPos
(Note: This property is already added from the above given properties. For React POS, you should also add the given filenames for the value)
driver.exec.pathDownload the Chrome Driver version matching your POS by identifying its Chromium version from the release notes or Find Chromium Version. Get the matching Driver from Download ChromeDriver, and place it by creating a WebDrivers folder in /WorkspaceSetup/Software. Update this parameter with the driver's path.
For windows - Give the driver path with the .exe extension at the end.
eg:- C:\Development\training-workspace-1.0.12\WorkspaceSetup\Software\webDrivers\chromedriver.exe
driver.typeorg.openqa.selenium.chrome.ChromeDriver
driver.remote.debugging.portlocalhost:9222
(If you are running on a remote POS, provide the IP of the remote POS machine. Also, after you have done Port Forwarding , change the port to 9223)