nexial-core 2.8 (2019-11-04)
Release 2.8
2019-11-04
General
Fixes
nexial-project-inspector
: code fix to consider encrypted data variables. Also minor update to inspector report (HTML).- enforce uniqueness of activity names within single scenario to avoid confusion and runtime error. This also clarifies PASS/FAIL tallies in the execution summary report and email notifications.
- enforce activity name must not be spaces only (avoid busy finger or typo).
Improvements
- Code change to omit the writing or creation of cells when there isn’t data to display. In other words, display as much of the actual content as possible in output file.
- allow screenshots to be enhanced with captions via
nexial.screenshot.caption
andnexial.screenshot.caption.color
System variables. - allow screenshots to be enhanced with caption-related System variables:
nexial.screenshot.position
: specify where the caption should be placed.nexial.screenshot.alpha
: specify the transparency of the rendered caption text.nexial.screenshot.wrap
: specify if the rendered caption text should be rendered as contiguous text or not.nexial.screenshot.noBackground
: specify if complementary background color should be rendered along with the caption. Default istrue
.
Built-in Functions
$(execution|plan|name)
: NEW function to reveal the plan file name currently in execution.$(execution|plan|fullpath)
: NEW function to reveal the fully qualified path for the plan currently in execution.$(execution|plan|index)
: NEW function to reveal the plan step (i.e. row number) of the plan currently in execution.
Nexial Expression
- JSON »
keys(jsonpath)
: code fix to extract JSON keys correctly. - JSON »
pack
: code fix to enforce JSON beautification after “packing”. - TEXT »
extract(beginRegex,endRegex,inclusive)
: NEW operation to extract all instances of text between two regex-based patterns as a LIST expression.
base commands
repeatUntil(steps,maxWaitMs)
: add console output when exception is thrown.assertEqual(expected,actual)
: enforce numeric comparison whennexial.assert.asNumber
is set totrue
. In such case, Nexial will implicitly trim both the expected and actual values as well.
csv commands
compareExtended(var,profile,expected,actual)
: fixed code to enforce numeric comparison on “matchAsNumber
” fields, unless both actual and expected are not numbers.
external commands
terminate(programName)
: terminate running program via the target program’s file name.
image commands
- code fix to properly state the need for Oracle JDK when processing JPG images.
ws commands
nexial.ws.logDetail
: settrue
to log the detail for each web service call.- Errors incurred during a web service call are now logged as part of the “detailed log”. See
nexial.ws.logDetail
for more details.
- Errors incurred during a web service call are now logged as part of the “detailed log”. See
nexial.ws.logSummary
: settrue
to log the summary of each web service call.- code fix to parse empty cookie in response header.
- added
.ttfb
property to the response of web service call (e.g.${response}.ttfb
). - added
.requestTime
property to the Response of web service call (e.g.${response}.requestTime
). - ensure the specified response data variable is cleared out prior to web service call, thus preventing previously derived response to be used.
nexial.ws.keepAlive
: NEW System variable to allow TCP connection to be reused (or not) over subsequent calls.
web commands
- Browser Performance Metrics: NEW option to create chart.
- format all timing information to 2 decimal-places.
- minor color updates.
saveSelectedText(var,locator)
: NEW command store the text of selected option fromsingle select or multi-select
element.saveSelectedValue(var,locator)
: NEW command store the value (equivalent to the “value” attribute) of selected option fromsingle select or multi-select
element.nexial.browser.userData
: NEW System variable to specify browser profile directory.- BrowserStack: support configurable termination of
BrowserStackLocal
binary to support parallel testing vianexial.browserstack.terminatelocal
System variable. - CrossBrowserTesting: support configurable termination of
cbt_tunnels
binary to support parallel testing viacbt.terminatelocal
System variable. screenshot(file,locator,removeFixed)
: now saving the link to the target file (or url, as in the case of “output-to-cloud”) tonexial.lastOutputLink
- fixed typo with
nexial.web.highlight
System variable.