ECMA in Parasoft assertion

trilochanadekatrilochanadeka Posts: 1
edited August 22 in SOAtest

Hi Team,

What prerequisites(setup) we need to do so that we can use ECMA script in custom assertion. Please help.

Comments

  • jakubiakjakubiak Posts: 525 admin

    In the custom assertion, change the language to "JavaScript (Oracle Nashorn)".

  • benken_parasoftbenken_parasoft Posts: 736 ✭✭✭

    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).

Sign In or Register to comment.