Nexial Automation

Test Automation Platform for everyone!

X

nexial-core 4.0 (2021-06-12)

Release 4.0

2021-06-12

General

Fixes

  • FIXED: screen recording (i.e. base » startRecording()) now accurately determine the screen resolution of the active monitor during recording.
  • minor improvements on execution output (HTML) to remove unnecessary escaping of double quotes.

    Improvements

  • console output margin changed from 80 to 100 characters to reduce line wrapping, possibly improve readability.

Interactive

  • Option 1 (1 <script>) now supports loading of test script without path. Assume such script is located in the artifact/script directory of the current project.
  • Option 2 (2 <data>) now supports data file without path. Assume such data file is located in the artifact/data directory of the current project.
  • increase current display margin from 80 characters to 100 characters to reduce line wrapping occurrence, and thus possibly improve readability
  • activity listing now merged into single line to reduce generating too many lines on console.

System Variables

  • nexial.desktop.explicitWait: NEW System variable to support explicit wait for desktop automation. Currently, only supports the **Locator() desktop commands.
    • added optimistic retry logic during explicit waits to reduce test flakiness.
  • nexial.desktop.simulateClick: NEW System variable to simulate mouse click rather than using actual one. Such feature allows for one to automate clicks without waiting for the target component to complete the corresponding event handling.
  • nexial.web.explicitWait: NEW System variable to replace now-deprecated nexial.web.alwaysWait System variable. Both serves the same purpose except that nexial.web.explicitWait defaults to `true.
  • nexial.browser.chrome.enableExtension: NEW System variable to allow chrome extensions to be installed during automation. Installation of a chrome extension must be performed manually at this time.

base commands

desktop commands

web commands

webmail commands

  • read(var,profile,id): fix minor runtime errors when automating mailinator webmail service.
  • improved extraction of “clickable” links on mailinator mails.
  • improved/reduced harvested text content from webmail.
  • search(var,profile,searchCriteria,duration): support the search of all messages via setting searchCriteria as (empty).

ws commands

  • enable custom HTTP response handling to support the fetching of response content even when the corresponding status code is 204 or 205. Useful for testing non-conformant API endpoint.
  • oauth(var,url,auth): add URL encoding to request parameters during OAUTH token exchange.