-
-
Notifications
You must be signed in to change notification settings - Fork 4
Utilities
natalia-ss edited this page Jan 25, 2024
·
5 revisions
We provided two utility files.
Module for managing test configuration settings, overwriting YAML config file and downloading the app examples for the mobile testing framework.
To adjust the configuration to your needs use the commands:
raider u browser [BROWSER] # Sets the default browser for a project
raider u browser_options [OPTIONS] # Sets the browser options for the project
raider u build [BUILD_TYPE] # It downloads the selected example build for appium projects
raider u builds # It downloads both builds for appium cross platform projects
raider u help [COMMAND] # Describe subcommands or one specific subcommand
raider u path [PATH] # Sets the default path for scaffolding
raider u platform [PLATFORM] # Sets the default platform for a cross-platform project
raider u raid # It runs all the tests in a project
raider u start_appium # It starts the appium server
raider u url [URL] # Sets the default url for a project
Available directly in Ruby Raider framework for recording information, errors, warnings etc. during code execution. Not available in projects built with Raider.
# @example Use logger manually
RubyRaider::Logger.debug('This is info message')
RubyRaider::Logger.warn('This is warning message')
To use loggers inside the projects, refer to documentation below:
- Appium projects: https://www.npmjs.com/package/@appium/support
- Selenium projects: https://www.selenium.dev/documentation/webdriver/troubleshooting/logging/
- Watir projects: https://www.rubydoc.info/gems/watir/Watir/Logger
This wiki page assumes that development is conducted on a Mac, I will update it soon to add support on other operative systems.