Define Record and Run Settings for Windows-Based Applications

To modify Event Recording Configuration for Web-Based applications in Unified Functional Testing(UFT)

Modify the event recording configuration XML file manually

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

Object Type: XML File Name
.NET Web Forms WebFormsEventConfiguration.xml
Siebel 7.5 or earlier SiebelEventConfiguration.xml
Siebel 7.7 or later 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 the event recording configuration in the Web Event Recording Configuration dialog box

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

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

b. Click Custom Settings.

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

2. Back up the event recording configuration for the environment that need to be modified:

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

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

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

b. Modify the configuration using the Web Event Recording Configuration dialog box options.

c. Select File > Save Configuration As and overwrite the previous <UFT 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 file that is saved in step 1.

Caution: UFT always applies the configuration that is loaded in the Web Event Recording Configuration dialog box to all Web objects. If not doing restore the Web configuration file as described in step 4, then UFT will apply the configuration for the file loaded in step 3, and as a result, UFT may not record Web events properly.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s