Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
ECMA in Parasoft assertion
trilochanadeka
Posts: 1 ✭
Hi Team,
What prerequisites(setup) we need to do so that we can use ECMA script in custom assertion. Please help.
Tagged:
0
Comments
-
In the custom assertion, change the language to "JavaScript (Oracle Nashorn)".
1 -
The XML and JSON Assertor tools have a "Custom Assertion" that lets you provide a script. Various languages are supported including ECMAScript. In the Language drop down you want to pick the option that says "JavaScript (Oracle Nashorn)". The Oracle Nashorn engine actually implements ECMAScript 6 (ES6).
1