Search:     Advanced search

Changing Default Search Criteria

Article ID: 833  |  Last updated: 05 May, 2017

Note: The following information only applies to controls that use the Standard search method.

During playback, QA Wizard Pro searches for windows and controls using the search criteria selected in the window/control Properties dialog box. When QA Wizard Pro stores a control in the repository, it selects the properties to use as search criteria based on the type of control.

You can change the search criteria for a given type of control by editing the defaultidentificationitems.xml file located in QA Wizard Pro application directory. You may want to change the default search criteria if the controls in an application contain a unique property that will make it easy for scripts to locate them or the application contains a control not specified in the XML file. You may also decide to change the default search criteria if you are consistently changing the search criteria for a specific type of control.

The defaultidentificationitems.xml file is an xml file with the following record structure:



   <SpecificType>.NET RadioButton</SpecificType>






The ControlArchType tag identifies the type of control. The SpecificType tag further defines the control (for example, a browser push button). If the search criteria does not apply to a specific subcategory of a control, an * appears in the SpecificType tag. The IdentificationProperties tag contains the names of the properties used as search criteria. You can add as many properties as you like. Before changing the identification property, check its spelling and format in the application repository.

You can edit the defaultidentificationitems.xml file with any text editor. Before editing the file, make a back-up copy in case you want to restore the defaults.

Article ID: 833  |   Last updated: 05 May, 2017
default search criteria control properties

Prev   Next
Remote Playback Support     Escape Sequence Is Not Defined Error During Playback