-
Notifications
You must be signed in to change notification settings - Fork 16
How to write UI Test using codeless
saickorpu edited this page Jan 3, 2019
·
22 revisions
- Setup a root folder named suites in codeless_skeleton which contains all the .xlsx test suite files (API, UI or a hybrid), including new ones you would write yourself.
- Create a new .xlsx file in codeless skeleton
ExampleFileName: "demo_ui.xlsx"
.
ExampleTestSuiteFilePath: project_directory/codeless_skeleton/suites/demo_ui.xlsx
.
- Create a config sheet in the .xlsx file that was created in the step 1 and sheet name must start with "c-" .
Example UI config sheet name : "c-demo"
.
key | value | comments |
---|---|---|
platform-type | chrome | Web driver platform type. Valid values are chrome, firefox, ie or emulator. Please note that ie is ONLY a valid option if running from a Windows OS. |
webdriver.runlocal | TRUE | Runs the webdriver on the local machine if TRUE, if FALSE runs on the remotw webdriver. |
webdriver.path.chrome | web_drivers/windows/chromedriver.exe | Path to the chrome webdriver to use for this machine. Installed under codeless skeleton <INSTALL_DIR>/lib/webdrivers// by default. For Windows: lib/web_drivers/windows/chromedriver.exe For Mac: lib/web_drivers/mac/chromedriver.exe |
webdriver.platform.chrome | Windows | Platform type for remote web driver intializing. |
webdriver.version.chrome | 61.0 | Version for platform type selected. |
webdriver.path.firefox | web_drivers/windows/geckodriver.exe | Path to the gecko webdriver to use for this machine. Installed under codeless skeleton <INSTALL_DIR>/lib/webdrivers// by default. For Windows: lib/web_drivers/windows/geckodriver.exe For Mac: lib/web_drivers/mac/geckodriver.exe |
webdriver.platform.chrome | Windows | Platform type for remote web driver intializing. |
webdriver.version.chrome | 60 | Version for platform type selected. |
webdriver.path.ie | web_drivers/windows/IEDriverServer.exe | Path to the IE webdriver to use for this machine. Installed under codeless skeleton <INSTALL_DIR>/lib/webdrivers// by default. For Windows only: lib/web_drivers/windows/IEDriverServer.exe no other valid settings. |
webdriver.platform.ie | Windows | Platform type for remote web driver intializing. |
webdriver.version.ie | 11 | Version for platform type selected. |
webdriver.hub | remote webdriver url | Ex: Sauce url to run it on Sauce labs |
- Create a new sheet in the same suite file that was created in step 1