nexial-core 1.5 (2018-09-03)
Release 1.5
2018-09-03
General
- upgraded to nexial-seeknow 1.1. Supports reading text pane with two gray variants of background colors.
- supports replacing multiple
(empty)
,(blank)
,(tab)
and(eol)
with the appropriate values in the parameter. For example,(blank)(blank)(blank)
will now be replaced as ` ` (3 spaces). nexial-variable-update.cmd|sh
: Added new command line option (-p
) to preview variable updates. It won’t update variables just showcase which variables will be updated.nexial-variable-update.cmd|sh
: fixed wrong verbiage for option-p
.nexial-script-update.cmd|sh
: minor updates to output to improve clarity.nexial.cmd|sh
: minor command line option help regarding multi-plan support.nexial.pauseOnError
: NEW System variable to enable the pausing of execution when a FAIL is encountered. Can be combined in use withnexial.inspectOnPause
- support specifying data variable override via command line. Same effect as using
set JAVA_OPT=-D...
but this may be simpler for some folks. - prevent the evaluation of fail-fast when command does not result in a FAIL condition (e.g. SKIP)
- JVM memory allocation settings are removed from
.commons
files. User can set through command line usingJAVA_OPT
option. nexial.currentActivity
: NEW System variable to indicate the Activity currently in execution
Nexial Filter
- fixed logic error with the ` contain ` filter. The corrected code works as a “contains one of …” match.
- fixed code to handle variable substitution when evaluating filter.
Built-in Function
file
: NEW built-in function to provide file-related functionality.- fixed wrong references in
$(syspath|script)
- support for
informal
date/time formatting to mimic human conversation.
Nexial Expression
- CSV
excel(file,sheet,startCell)
: NEW operation to import CSV into a Excel worksheet. By default,startCell
is set toA1
. - DATE expression: support for
informal
date/time formatting to mimic human conversation. - DATE expression: fixed date operation with negative values.
base commands
clear(vars)
: improve output/console messages. No change in functionality/logic.
io commands
- file validation support to give a choice to the user to define record spec configuration for any one record type or for a combination of the record types(file header, section header, section body, section footer, file footer).
- fix file validation support, for huge data files efficiently. Improves performance in file parsing and validating.
- add NEW data types:
Any
,REGEX
,Person Name
,Alpha
,Alpha Upper
andAlpha Lower
. - io »
writeFile(file,content,append)
: now consider thecontent
parameter either as a file or text content. - io »
writeFileAsIs(file,content,append)
: NEW commands to write to file without data variable substitution.
csv commands
json command
fromCsv(csv,header,jsonFile)
: NEW command to convert CSV to JSON.
rdbms command
- support reading of file content when execution
runSQL()
andsaveResult()
commands
web commands
- honor
nexial.browser.forceJSClick
so that if it is set tofalse
then Nexial will not automateclick
event via JavaScript. This might slightly improve execution performance and possibly reduce some flakiness. - enable web element highlight during the execution of
assert
* commands. Note that [nexial.web.highlight
] must be set totrue
to activate web element highlighting. nexial.web.highlight
: renamed from the previousnexial.highlight
System variable (which is still working) for consistency and clearer namespacing.nexial.web.highlight.waitMs
: renamed from the previousnexial.highlightWaitMs
(which is still working) for consistency and clearer namespacing.nexial.web.highlight.style
: NEW System variable to allow for customization of web element highlighting, which is assumed as CSS style. The default isbackground:#faf557;
.saveTableAsCsv(locator,nextPageLocator,file)
: NEW command to automate the collection of HTML table data into a CSV file.- added firefox-specific fix for selecting option from a
assertTable(locator,row,column,text)
: fixed internal locator to find cell data with more coverage.savePageAsFile(sessionId,url,file)
: shorten parameterfileName
to justfile
.dragAndDrop(fromLocator,toLocator)
: NEW command to support drag-and-drop automation from one element to another on the same page.nexial.web.unfocusAfterType
: support automation to blur the target web element after entering input.checkAll(locator)
: NEW command to “check” all matching CheckBox web elements.uncheckAll(locator)
: NEW command to “uncheck” all matching CheckBox web elements.- web »
checkAll(locator)
: fixed code so that multiple matching web elements are refetched after eachcheck
. This prevents the element staleness issue. - web »
uncheckAll(locator)
: fixed code so that multiple matching web elements are refetched after eachuncheck
. This prevents the element staleness issue. - minor perf. improvement for type() and click() commands.
- web »
saveText(var,locator)
: fixed code from throwing error when the target locator did not resolve to a valid web element. - web »
assertText(locator,text)
: fixed code from throwing error when the target locator did not resolve to a valid web element. - shipped with Selenium 3.14.0:
- Added new capabilities for safari driver: automaticInspection and automaticProfiling (#6095)
- Adding High Sierra to the platform set. Fixes #5969
- Fixing potential Zip Slip Vulnerability, see https://snyk.io/research/zip-slip-vulnerability
- Allow temporary installation of FF extension (#1) (#5751)
- Fix windowSize option in Firefox in Javascript (#6075)
- Pass found elements to the EventListener’s afterFind method (#6191)
- Add native events under se:ieOptions. (#6183)
- improve log messages (console) over FAIL conditions
- support page load time out
- graceful passthrough when
open()
takes longer than expected to load page due to external links - update code to handle new electron webdriver
- web »
checkAll(locator)
and web »uncheckAll(locator)
: added wait time between each matched element to reduce flakiness; improved logging. focus(locator)
: NEW command to place cursor focus on the first element that matches specifiedlocator
. Note that if the matched element is a textbox or textarea, Nexial will also automate a click to put the cursor on the target INPUT element.- code enhanced to stabilize webdriver initialization between different browsers.
- web »
typeKeys(locator,value)
: automatically addsTAB
whenvalue
is(empty)
so that the appropriate HTML event may be triggered.- added support for multi-key (include CONTROL, ALT, SHIFT) supports.
webalert commands
replyOK(text)
: NEW command to automate prompt reply and then click OK.replyCancel(text)
: NEW command to automate prompt reply and then click Cancel.