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 Name | Value |
---|---|
autConfigPropertyFileNames | posNextGen1024x768 (Note: This property file name can be any name and the name should be similar to the created property file) |
autClient.configFolder | Path to the local pos config folder e.g., C:\Enactor\pos\config |
enactor.tests.profile | uitest |
debug.enabled | true |
autHostName | localhost (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 ) |
autPort | 4099 |
forkMode | never |
autSimulateMouseMode | false |
testDataPropertyFileNames | testData |
cucumber.filter.tags | Test Case num e.g., @PT-649 |
Terminal number | Terminal number of the POS that you will use to run the automation eg: 01 |
restapi.base.url | Base 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.
Parameter | Value |
---|---|
autConfigPropertyFileNames | posNextGen1024x768,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.path | Download 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.type | org.openqa.selenium.chrome.ChromeDriver |
driver.remote.debugging.port | localhost: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) |