Modify event recording configuration

Modify event recording configuration XML file manually

  1. In a text or XML editor, open the appropriate MyEnvEventConfiguration.xml file from the <UFT One installation folder>\dat folder, according to the following table:

    Object Type:

    XML File Name

    .NET Web Forms

    WebFormsEventConfiguration.xml

    Siebel

    CASEventConfiguration.xml

    PeopleSoft Frame objects and all Web objects that are children of a PeopleSoft frame object

    PSEventConfiguration.xml

  2. Edit the file as necessary.

  3. Save the file.

Modify event recording configuration using settings

  1. Back up the event recording configuration for the Web environment:

    1. Select Record > Web Event Recording Configuration. The Web Event Recording Configuration dialog box opens.

    2. Click Custom Settings.

    3. Select File > Save Configuration As and specify an XML filename for the backup file.

  2. Back up the event recording configuration for the environment you want to modify:

    Create a copy of the relevant <MyEnv>EventConfiguration.xml file from the <UFT One installation folder>\dat folder.

  3. Modify the <MyEnv>EventConfiguration.xml file in the Web Event Recording Configuration dialog box:

    1. In the Web Event Recording Configuration dialog box, select File > Load Configuration and browse to the relevant <UFT One installation folder>\dat\<MyEnv>EventConfiguration.xml file. The event configuration for the selected environment is displayed in the dialog box.

    2. Modify the configuration using the Web Event Recording Configuration dialog box options, as described in Event recording configuration for Web objects.

    3. Select File > Save Configuration As and overwrite the previous <UFT One installation folder>\dat\<MyEnv>EventConfiguration.xml file.

  4. Restore the configuration file for the Web environment:

    Select File > Load Configuration and browse to the backup copy of the Web configuration XML file that you saved earlier.

    Caution: UFT One always applies the configuration that is loaded in the Web Event Recording Configuration Dialog Box to all Web objects. If you do not restore the Web configuration file, then UFT One applies the configuration for the <MyEnv>EventConfiguration.xml file you last loaded, and as a result, UFT One may not record Web events properly.