nexial-core 2.0 (2019-03-06)
Release 2.0
2019-03-06
General
Fixes:
- fix email notification when email address isn’t specified
- force email notification to be sent as HTML
nexial-variable-update
: slight improvement on logging- internal tracking of system variables and respective default value.
- fix to allow shutting down of winium driver with session as required (useful in the case of clickByLocator like commands)
- move
nexial-3rdparty.log
under execution-specific log directory
Improvements:
- minor improvement on logging to help troubleshoot test step errors.
nexial-variable-update
script now supports macro and HTML files. Also reduced excessive logging.nexial-project-inspector
: NEW batch file to generate project level information and insight. Current version supports macro and data variable inspection. More enhancement forthcoming.- scan data variable across test scripts, batch files,
project.properties,
datasheets and#default
.
- scan data variable across test scripts, batch files,
- project id binding: use
.meta/project.id
to bind project identification across sandboxes (local project directory) instead of using project directory name. The same binding now affects cloud storage location to keep output of the same project together. nexial-macro-update.cmd|sh
: NEW batch file to rename macro name across all scripts within the same project.
Built-in Function
- execution: better support for execution metadata, specifically for scenario and script.
Event Notification
- Nexial now supports email notification with customized
subject
,cc
,bcc
,from
,footer
. One can optionally configure such email to be sent as HTML or plain text (default). See Execution Event Notification for more details. - SMS notification: now supports configurable execution metada inclusion as a footer.
aws.sqs commands
receiveMessage(profile,queue,var)
: NEW command to receive message from a AWS SQS queue.receiveMessages(profile,queue,var)
: NEW command to receive messages from a AWS SQS queue.sendMessage(profile,queue,message,var)
: NEW command to send a message from a AWS SQS queue.deleteMessage(profile,queue,receiptHandle)
: NEW command to delete a message from a AWS SQS queue.
base commands
repeatUntil(steps,maxWaitMs)
: enhanced with additional logging to aid in troubleshooting and debugging.
macro commands
description()
: NEW no-op command for script author to provide macro documentation in a standard way.expects(var,default)
: NEW command to assert expected data variable prior to invoking the enclosing macro.- the
default
param is no longer required to be filled in. When missing, the specifiedvar
is required data variable from the viewpoint of the enclosing macro.
- the
produces(var,value)
: NEW command to indicate the data variable that will be created/overwritten as part of the enclosing macro execution.
web commands
- code fix on
selectWindowByIndex(index)
andselectWindowByIndexAndWait(index,waitMs)
to allow for last window to be selected. - enhancement to speed up Electron automation by removing “page source support” and “preemptive dialog checks”. Both of these checks are not common (and at times not applicable) to Electron applications.
-
elements.
xml commands
append(xml,xpath,content,var)
: NEW command to append content to an XML documentprepend(xml,xpath,content,var)
: NEW command to prepend content to an XML documentclear(xml,xpath,var)
: NEW command to clear content in an XML documentdelete(xml,xpath,var)
: NEW command to delete nodes from an XML documentreplace(xml,xpath,content,var)
: NEW command to replace content in an XML document