Web Connector 12.13

# Forms Parameters

The parameters in this section specify the information required by the connector if you want to submit forms. You can configure the connector to submit a form so that it can log on to a Web site.

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

    [MyTask]
    Url=http://www.autonomy.com
    FormUrlRegex=.*www\.autonomy\.com/.*login\.php
    InputSelector0=input[name=username]
    InputSelector1=input[name=password]
    InputValue0=MyAutonomyUsername
    InputValue1=MyAutonomyP4ssw0rd!
    SubmitSelector=input[name=login]

To submit different forms during a single task, use the FormsSection parameter to define multiple sections containing form settings. Then, set the FormUrlRegex parameter in each section. For example:

    [MyTask]
    Url=http://www.autonomy.com
    FormsSection0=LogOnFormAutonomy
    FormsSection1=LogOnFormAutonomySubsite

    [LogOnFormAutonomy]
    FormUrlRegex=.*www\.autonomy\.com/.*login\.php
    InputSelector0=input[name=username]
    InputSelector1=input[name=password]
    InputValue0=MyAutonomyUsername
    InputValue1=MyAutonomyP4ssw0rd!
    SubmitSelector=input[name=login]

    [LogOnFormAutonomySubsite]
    FormUrlRegex=.*subsite\.autonomy\.com/.*login\.php
    InputSelector0=input[name=username]
    InputSelector1=input[name=password]
    InputValue0=MySubsiteUsername
    InputValue1=MySubsiteP4ssw0rd!
    SubmitSelector=input[name=login]

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 12.13

Topic Title: Forms Parameters