Skip to content

@bjuric bjuric released this Mar 24, 2019 · 1 commit to master since this release

  • Introduce AppliTools integration for visual testing
  • Update Gwen core from v2.18.3 to v2.19.0
    • Introduce Disabled evaluation status to support conditionally disabling steps
    • Upgrade library dependencies
      • scopt from 3.7.0 to 3.7.1
      • scala-logging from 3.9.0 to 3.9.2
      • commons-codec from 1.11 to 1.12
      • commons-text from 1.4 to 1.6
      • joda-time from 2.10 to 2.10.1
Assets 4

@bjuric bjuric released this Mar 12, 2019 · 10 commits to master since this release

  • Introduce gwen.web.sendKeys.clearFirst setting to control whether or not Gwen will clear text fields before sending keys to them. (default value is false).
  • Update Gwen core from v2.18.2 to v2.18.3
    • Clear thread local settings before executing each feature
    • Log non assertion exceptions as errors in console
    • Update Scala from 2.12.7 to 2.12.8
Assets 3

@bjuric bjuric released this Mar 6, 2019 · 12 commits to master since this release

  • Do not clear text elements before entering text (this interfered with sendKeys on some drivers). Users can call DSL to explicitly clear text fields beforehand if desired.
Assets 3

@bjuric bjuric released this Feb 17, 2019 · 15 commits to master since this release

  • Updated Gwen core from v2.18.0 to v2.18.2
    • Honor hard, soft, and sustained assertion modes when processing data table records
    • Add implicit record.index attribute to data table record scope
      • record.index starts at 0 (whereas record.number starts at 1)
Assets 3

@bjuric bjuric released this Jan 27, 2019 · 20 commits to master since this release

  • Updated Gwen core from v2.17.0 to v2.18.0
    • Add support for hard, soft, and sustained assertion modes
      though new setting:
      • gwen.assertion.mode
        • Set to one of these values:
          • hard to halt execution on first assertion error and report failure (default)
          • soft to collect all assertion errors and continue execution whilst reporting them as failures
          • sustained to collect all assertion errors and continue execution without reporting them as failures
Assets 3

@bjuric bjuric released this Jan 20, 2019 · 21 commits to master since this release

  • Fix element highlighting for locate and highlight step
Assets 3

@bjuric bjuric released this Dec 9, 2018 · 27 commits to master since this release

  • Fix append DSL issue #65 raised by @Rahul9844
    • Solution was to move into the field before sending keys
Assets 3

@bjuric bjuric released this Nov 24, 2018 · 28 commits to master since this release

  • Fix timeout overrides for javascript locators
  • Improve element locator performance and robustness
    • If element is not present in DOM (and hence not found), a WebElementNotFoundException will be thrown
    • If element is not present in DOM but not interactable, a WebElementNotInteractableException will be thrown
    • Both exceptions are treated the same way and are not thrown during retries until in the locator timeout period has expired. The timeout period is defined by either:
      • the locator level wait/timeout assigned to an element (overridden locator level timeout)
      • the global locator wait/timeout setting: gwen.web.locator.wait.seconds (configured locator timeout)
      • the global wait/timeout setting: gwen.web.wait.seconds (configured global timeout)
      • or 10 seconds (default global timeout)
  • Update Gwen core from v2.16.3. to v2.17.0
    • Add global default and working Gwen properties. Properties are loaded in the following order of precedence:
      • System properties passed through -D Java command line option
      • gwen.properties file in root of user directory (user overrides)
      • Properties files passed into Gwen through the -p/--properties command line option
        • These are loaded in the order provided so that later ones override earlier ones
      • gwen.properties file in working directory where Gwen is invoked (working defaults)
      • gwen.properties file in .gwen folder of user home directory (global defaults)
Assets 3

@bjuric bjuric released this Nov 19, 2018 · 30 commits to master since this release

  • Improve locator error handling and retries
Assets 3

@bjuric bjuric released this Nov 18, 2018 · 31 commits to master since this release

  • Allow wait and timeout literals to be used interchangeably in all DSL steps
  • Add support to DSL for indexed locators:
    • <element> can be located by <id|name|tag name|css selector|xpath|class name|link text|partial link text|javascript> "<expression>" at index <index>
    • <element> can be located at index <index> by <id|name|tag name|css selector|xpath|class name|link text|partial link text|javascript> "<expression>"
    • <element> can be located by <id|name|tag name|css selector|xpath|class name|link text|partial link text|javascript> "<expression>" at index <index> in <container>
    • <element> can be located at index <index> by
        | <locator 1>  | <expression 1> |
        | <locator 2>  | <expression 2> |
        | ..           | ..             |
        | <locator N>  | <expression N> |
      
    • <element> can be located by <id|name|tag name|css selector|xpath|class name|link text|partial link text|javascript> "<expression>" at index <index> with no <wait|timeout>
    • <element> can be located by <id|name|tag name|css selector|xpath|class name|link text|partial link text|javascript> "<expression>" at index <index> with <timeoutPeriod> second <wait|timeout>
    • <element> can be located by <id|name|tag name|css selector|xpath|class name|link text|partial link text|javascript> "<expression>" at index <index> in <container> with no <wait|timeout>
    • <element> can be located by <id|name|tag name|css selector|xpath|class name|link text|partial link text|javascript> "<expression>" at index <index> in <container> with <timeoutPeriod> second <wait|timeout>
    • <element> can be located at index <index> with no <wait|timeout> by
        | <locator 1>  | <expression 1> |
        | <locator 2>  | <expression 2> |
        | ..           | ..             |
        | <locator N>  | <expression N> |
      
    • <element> can be located at index <index> with <timeoutPeriod> second <wait|timeout> by
        | <locator 1>  | <expression 1> |
        | <locator 2>  | <expression 2> |
        | ..           | ..             |
        | <locator N>  | <expression N> |
      
Assets 3
You can’t perform that action at this time.