Was this page helpful?

Use encrypted password in InjectJS()


    Bool InjectJS(Criteria as String)

    This function could ONLY be used in a Newtest RIA CE in order to interact with JavaScript appeared in the site web. It takes a String type variable as its input parameter and returns a Boolean as its output.

    In need of passing a secured password in a DOM action, you should firstly check if the “Use new interpreter” option is already activated. Once this option is activated, you will need to change your code:

    _wrnode.value = '{your password}'


    _wrnode.value = '" + pwd + "' (Single quote-double quote at first, double quote-single quote at the end)

    where pwd is the String declared at the beginning of your script and its value is the password returned by GetPassword() function.




    Return value




    See also


    Was this page helpful?
    Tag page (Edit tags)
    • No tags
    Page statistics
    1991 view(s), 1 edit(s) and 1200 character(s)


    You must login to post a comment.

    Attach file