Loading and saving a BDF

 

To view, test, or customize browser definitions, you must first open an existing BDF or create a new one. When you first start the BrowserHawk Editor, most of the menu items and tool bar buttons are disabled. This is because the majority of these commands are only available when you are working on an open BDF.

 

Typically after you start the BrowserHawk Editor you will proceed to open a BDF and view the browser definitions and examine which capabilities each browser supports. You can then use the Hit Tester to test how BrowserHawk will recognize a browser based on a user agent you supply, and even proceed to make your own customizations if desired.

 

In the event that you make any customizations, you will need to save them before exiting if you wish to make them permanent.

To open and load a BDF:

image\DO-IT.gif Choose Open from the File menu, and select the BDF you wish to load.

To save changes made to the open BDF:

image\DO-IT.gif Choose Save from the File menu, and select the BDF you wish to load.

To save changes made to the open BDF under a different file name:

image\DO-IT.gif Choose Save As from the File menu, and select the BDF you wish to load.

To export your BDF file to BDD format for use by the BrowserHawk4J JavaBean:

image\DO-IT.gif Choose Export from the File menu, and enter the name for the BDD file.

 

Tip: BrowserHawk keeps track of the BDFs you have loaded recently. To quickly open a recently used BDF:

image\DO-IT.gif Choose the File menu, and select the BDF you wish to load from the list of recently opened BDF files.

 

Tip: BrowserHawk can be configured to automatically load a BDF every time the BrowserHawk Editor is launched. See the general settings for more information.

 

Tip for BrowserHawk4J JavaBean users: BrowserHawk4J uses BDD files instead of BDD. Use the Export command as shown above to create a BDD file from your BDF.

 

See Also:

Understanding Browser Definition Files

Compacting BDFs

Working with browsers

Preferences and options