Was this page helpful?



    Checks for the presence of a character string in the document of a navigation, not a file.





    Error case(s)

    Context: 7.5.1r4

    When writing a new script, I enter the site criteria and the NTBR builds the script. Upon running the script, it is not able to dectect the Title bar criteria and fails.

    The wizard, in a WTC scenario inserts a control string (for each URL) which is the balise title of the web page. For example the wizard insert the control string on the balise <title>ip label</title> Upon running the script, it is not able to detect the Title bar criteria and fails because the balise title in the html code contains some blanks and carriage return but the newtest function check a string.

    The workaround in this case is to delete the balises title from the criteria:

    reference to undefined name 'syntax' Une exception de type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' a été levée. (click for details)

    This problem has appeared with internet explorer 9 which format the http response that's why the CheckDocumentString function fails.

    See also



    Was this page helpful?
    Tag page (Edit tags)
    • No tags
    Page statistics
    5983 view(s), 9 edit(s) and 1613 character(s)


    You must login to post a comment.

    Attach file