README.md in testcentricity-2.3.19 vs README.md in testcentricity-2.4.0
- old
+ new
@@ -26,10 +26,16 @@
TestCentricityâ„¢ will be updated to support testing with Selenium-WebDriver version 3.x as soon as a stable version is available that **fully** supports locally
hosted instances of Chrome, Firefox, Safari, and IE web browsers.
## What's New
+###Version 2.4.0
+
+* Updated `TestCentricity::WebDriverConnect.initialize_web_driver` method to read the `APP_FULL_RESET`, `APP_NO_RESET`, and `NEW_COMMAND_TIMEOUT` Environment
+Variables and set the corresponding `fullReset`, `noReset`, and `newCommandTimeout` Appium capabilities for iOS and Android physical devices and simulators.
+Also reads the `WDA_LOCAL_PORT` Environment Variable and sets the `wdaLocalPort` Appium capability for iOS physical devices only.
+
###Version 2.3.18
* Updated `SelectList.define_list_elements` method to accept value for `:list_trigger` element.
* Updated `SelectList.choose_option` to respect `:list_item` value and to click on `:list_trigger` element, if one is specified.
* Updated `PageSection` and `PageObject` UI element object declaration methods to no longer use `class_eval` pattern.
@@ -983,14 +989,17 @@
`TEAM_ID` | unique 10-character Apple developer team identifier string (not used for simulators)
`TEAM_NAME` | String representing a signing certificate (not used for simulators)
`APP_ALLOW_POPUPS` | [Optional] Allow javascript to open new windows in Safari. Set to `true` or `false`
`APP_IGNORE_FRAUD_WARNING` | [Optional] Prevent Safari from showing a fraudulent website warning. Set to `true` or `false`
`APP_NO_RESET` | [Optional] Don't reset app state after each test. Set to `true` or `false`
+`APP_FULL_RESET` | [Optional] Perform a complete reset. Set to `true` or `false`
`APP_INITIAL_URL` | [Optional] Initial URL, default is a local welcome page. e.g. `http://www.apple.com`
+`WDA_LOCAL_PORT` | [Optional] Used to forward traffic from Mac host to real iOS devices over USB. Default value is same as port number used by WDA on device.
`LOCALE` | [Optional] Locale to set for the simulator. e.g. `fr_CA`
`LANGUAGE` | [Optional] Language to set for the simulator. e.g. `fr`
`ORIENTATION` | [Optional] Set to `portrait` or `landscape` (only for iOS simulators)
+`NEW_COMMAND_TIMEOUT` | [Optional] Time (in Seconds) that Appium will wait for a new command from the client
### Mobile Chrome or Android browsers on Android Studio Virtual Device emulators
You can run your mobile web tests against the mobile Chrome or Android browser on emulated Android devices using Appium and Android Studio on OS X. You
@@ -1011,11 +1020,15 @@
`APP_VERSION` | Must be set to `8.0`, `7.0`, or which ever Android OS version you wish to run with the Android Virtual Device
`APP_DEVICE` | Set to Android Virtual Device ID (`Pixel_2_XL_API_26`, `Nexus_6_API_23`, etc.) found in Advanced Settings of AVD Configuration
`DEVICE_TYPE` | Must be set to `phone` or `tablet`
`ORIENTATION` | [Optional] Set to `portrait` or `landscape`
`APP_INITIAL_URL` | [Optional] Initial URL, default is a local welcome page. e.g. `http://www.apple.com`
+`APP_NO_RESET` | [Optional] Don't reset app state after each test. Set to `true` or `false`
+`APP_FULL_RESET` | [Optional] Perform a complete reset. Set to `true` or `false`
`LOCALE` | [Optional] Locale to set for the simulator. e.g. `fr_CA`
`LANGUAGE` | [Optional] Language to set for the simulator. e.g. `fr`
+`NEW_COMMAND_TIMEOUT` | [Optional] Time (in Seconds) that Appium will wait for a new command from the client
+`CHROMEDRIVER_EXECUTABLE` | [Optional] Absolute local path to webdriver executable
### Remotely hosted desktop and mobile web browsers
You can run your automated tests against remotely hosted desktop and mobile web browsers using the BrowserStack, CrossBrowserTesting,