What are all the programming language can be used in the actions to create a custom actions for automating an application in Mendix ATS Tool

0
Hi Mendix ATS Users / Mendix Support Team, Currently I am using ‘Javascript’ code to create custom actions using inbuilt actions like ‘Execute Javascript String’ in ‘Mendix ATS’ Tool. So kindly let me know is there any other programming language can be used instead of javascript?   Thank You
asked
3 answers
0

Hi Indium,

Yes, ATS supports creating actions that use javascript. As you have already pointed out one such action is ‘Execute Javascript String’  https://docs.mendix.com/addons/ats-addon/rg-one-execute-javascript-string

This code is javascript and it is running in the context of the browser session giving you complete and direct access to the DOM of the application under test.

At the moment only javascript is supported.

Hope this helps,

Andrej

answered
0

Hi  Andrej Gajduk,

And one more doubt that is it ok to use some JS libraries like Node.js to create custom action in inbuilt action like ‘Execute Javascript String’ because in this documentation link (https://docs.mendix.com/addons/ats-addon/rg-one-execute-javascript-string), they mention only javascript and they didn’t mention about the JS libraries like Node.js. So can you please clarify this.

 

Thank You

answered
0

To clarify, Node.JS is not a javascript library, it is a javascript runtime meant for writing server-side javascript.
The javascript actions in ATS run in the browser context, so it is not Node.JS. 

Javascript actions are subject to the same restrictions as any javascript running in the browser, e.g. no access to the file system. On the other hand they come with direct access to the DOM.

answered