Configuring Test Filters

Overview

 

Test Filters allows you to execute selective scripts matching specific criteria. For each suite, based on the test type you can add, edit, delete or disable filters to execute scripts matching specific filter criteria.

 

Configuring Test Filters

Adding Filters

  1. To add a filter, click on the Add New Filter link in the Filter Configuration screen. In this screen, fill in the details as shown below:

Field Name Value Default Value/Example

Filter Name

Enter the filter name to identify the filter.

testfilter

Activate This Filter

Check this box to activate the currently selected filter in the Filter Name combo.

checked

Test Type

Select one of the test type from the combo such as Web Functional, Web Performance, Web Service Functional or Web Service Performance.

Web Functional

Filter Criteria

  • Match all of the following - If you want all the criteria you are to define have to be met with i.e., scripts matching all of the specified criteria will be executed (AND condition)

  • Match any of the following - If atleast one of the criterion you are to define have to be met with i.e., scripts matching any one of the specified criteria will be executed (OR condition)

 

Match all of the following

You can add multiple filter criteria using the Filter Criteria table.

  • To add new filter criteria click on the '+' sign next to the Filter with column. This will add a new row where you can specify the filter criteria.

  • Filter with column includes the Script Name, Script Path and Load Test Name options. Choose one of the options to specify the match criteria for Script Name or Script Path.  

  • The Condition column includes the conditions such as equals, notequals, contains, notcontains, startswith, endswith. Choose one of the condition.

  • The Value column should include the actual match criteria to be matched with the Script Name or Script Path option.

  • The Delete column is to delete the current row from the filter criteria table.

For e.g., If you select Filter with option as Script Name, Condition as startswith, Value as "emp*" then this will set a filter to select all the scripts starting with the script name as "emp". Only scripts starting with the name "emp" will be executed during playback of the suite.

  1. After specifying the filter criteria, click on the Apply button to add the new filter. The filter selected in the Filter Name combo will be activated for the suite.

Editing Filters

 

To edit a filter,

Enabling/Disabling Filters

 

You can enable/disable all the filters related to a particular test type at one shot using the Activate/Deactivate option. Click on the Activate/Deactivate icon from the appropriate row in which the filter to be enabled/disabled exists. This will enable/disable the filters based on the existing state. You can also disable a filter using the Disable Filter link in the Filter Configurator screen. This will display a popup to disable all filters for a particular test type. Select the checkbox's in the Disable column to disable the desired filters.



Copyright © 1999, AdventNet Inc. All Rights Reserved.