Web Connector 23.4

# JavaScript Dialog Parameters

The parameters in this section configure the connector to handle JavaScript dialogs and alerts.

You can set these parameters in the TaskName section. For example:

    [MyTask]
    JsDialogUrlRegex=.*/prompt.htm
    JsDialogPromptText=Here is my response
    JsDialogAccept=TRUE

Alternatively, to use different sections to handle different dialogs, set the JsDialogSections parameter. This allows you to define multiple sections containing the settings. For example:

    [MyTask]
    ...
    JsDialogSections=JavaScriptDialog0,JavaScriptDialog1

    [JavaScriptDialog0]
    JsDialogUrlRegex=.*/prompt.htm
    JsDialogPromptText=Here is my response
    JsDialogAccept=TRUE

    [JavaScriptDialog1]
    JsDialogUrlRegex=.*/another_prompt.htm
    JsDialogPromptText=Here is my other response
    JsDialogAccept=TRUE

Each dialog that the connector encounters is processed using the first section where the values of JsDialogUrlRegex, JsDialogTypeRegex, and JsDialogMessageRegex match the dialog box. The connector automatically dismisses any dialog that you do not handle.

Copyright 2023 Open Text
Version 23.4 | Last updated September 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Web Connector 23.4

Topic Title: JavaScript Dialog Parameters