Was this page helpful?

Use encrypted password in InjectJS()

    Description

    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}'

    to

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

     

    Parameter(s)

     

    Return value

     

    Example(s)

     

    See also

     

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

    Comments

    You must login to post a comment.

    Attach file

    Attachments