nexial-core 3.5 (2020-12-01)
Release 3.5
2020-12-01
General
Fixes
- code fix to improve support on saving array to data variable.
- code fix to accurately skip over a repeat-until block that is embedded within a “skipped” section.
- code fix to accurately skip over section block that is embedded within a macro, which is called from another section.
- fix nexial log file location. Now its link in the corresponding execution output (xlsx) should be correct.
Improvements
System Variable
nexial.version
: expose the version information of currently-running Nexial.nexial.browser
: Supports new browser typeedgechrome
for chromium based edge browser.
Expression
[TEXT(...) => if-contain(test,match,notMatch)]
: NEW operation to support the “if contains … then replace with … else with …” operation.[TEXT(...) => if-equal(test,match,notMatch)]
: NEW operation to support the “if equal … then replace with … else with …” operation.[TEXT(...) => if-match(regex,match,notMatch)]
: NEW operation to support the “if match regex … then replace with … else with …” operation.[TEXT(...) => repeat(count)]
: NEW repeat current text by number of `times.[LIST(...) => index(item)]
: supportCONTAIN:
andREGEX:
prefixes for improved expressiveness.CSV(...) => replaceColumnRegex(searchFor,replaceWith,columnNameOrIndices)
: support search-and-replace empty and blank cells.LIST(...) => replace(searchFor,replaceWith)
: support search-and-replace empty and blank item.TEXT(...) => replace(searchFor,replaceWith)
: support search-and-replace empty and blank text.
pdf commands
savePageCount(pdf,var)
: NEW command to extract the page count for a givenpdf
file.split(pdf,saveTo)
: NEW command to split a givenpdf
file into single page PDF files.ocr(pdf,saveTo)
: NEW command to perform OCR on a PDF file. Internally invokes the image »ocr(image,saveVar)
command.
image commands
ocr(image,saveVar)
: supports PDF file.
mail commands
compose(var,config,value)
: support externalized file/template for mail content.
rdbms commands
web commands
saveTextArray(var,locator)
: honor the use ofnexial.textDelim
.- Added NEW webdriver for chromium-based Microsoft Edge browser.
word commands
assertContains(file,text)
: NEW command to verify iftext
can be found in a Wordfile
.assertNotContain(file,text)
: NEW command to verify iftext
is absent from a Word `file.assertNotReadOnly(file)
: NEW command to verify a Wordfile
is not password-protected.assertPassword(file,password)
: NEW command to verifypassword
for a given Wordfile
.assertReadOnly(file)
: NEW command to verify that a Word `file is currently password protected.extractText(var,file)
: NEW command to extract text from a Word document.readOnly(file,password)
: NEW command to restrict update access on a Word document.removeProtection(file)
: NEW command to remove update restriction from a Word document.
tn.5250 commands
saveTableAsCSV(csv,maxPage)
:- enhance tracking of last table page and added additional logs to improve RCA.
- support saving of table data into CSV in “page-up” or reverse order by specifying the
maxPage
as a negative number. For example,saveTableAsCSV(csv,maxPage) | myCSV.csv | -3
inspectScreen()
: fixed the inspection of table that uses spaces to delineate columns (instead of using the0
character).- support use of secondary table (instead of the first) during screen inspection
- support data matching across ANY column of the current table. Use
*
forcolumn
to denote any column. Affected commands: typeOnMatchedColumns(matches,keystrokes)
: NEW command to allow the matching of table row based on multiple columns (each filter separated by new line).