In This Section |
See Also |
Neotys Design Studio allows the execution of JavaScript within Virtual Users, which means you may insert a JavaScript action when designing a User Path. The code used may invoke common JavaScript functions declared in the Neotys Design Studio JavaScript libraries.
The Neotys Design Studio API is mainly used to manipulate Neotys Design Studio variables and set up cookies for the current Virtual User. Basic JavaScript functions allow the handling of strings and dates, calculation, and so on.
For more information about the Neotys Design Studio API features, see API overview.
The script does not run within the context of the HTML request, so manipulating a request response DOM tree is impossible. Consequently, functions built into browsers for extracting or manipulating the HTML document are not included.
The following is a non-exhaustive list of functions or objects that are not supported:
windowdocument (of which document.cookie, document.forms[0], document.getElementById(), ...)navigatoralert()confirm()