background image
<< The Browser Extensions | Lesson 2 Preparation >>

Document Object Model (DOM) extension

<< The Browser Extensions | Lesson 2 Preparation >>
Getting Started: A Tutorial
23
1 I
NTRODUCING
S
ILK
T
EST
Using SilkTest with Web Applications
Document Object
Model (DOM)
extension
SilkTest's Document Object Model (DOM) extension makes use of the DOM
standard developed by the World Wide Web Consortium (W3C). This
standard, currently supported by Internet Explorer (IE) versions 5.0.x and
higher and Netscape 6, allows external applications, such as SilkTest, to
query the browser directly for information about the Web page it is currently
displaying.
SilkTest's DOM extension communicates directly with the Web browser to
recognize, categorize and manipulate objects on a Web page. It does this by
working with the actual HTML code, rather than relying on the visual pattern
recognition techniques currently employed by the Virtual Object (VO)
extension. For more information about the DOM extension, refer to the
online Help.
What SilkTest does
when you enable a
browser extension
When you enable an extension on the host machine, SilkTest:
·
Adds the extension's include file to the Use Files text box in the Runtime
Options dialog, so that the extension's classes are available to you.
·
Makes sure that the classes defined in the extension appear in the Library
Browser. SilkTest does this by adding the name of the extension's help
file (browser.ht) to the Help Files For Library Browser field in SilkTest
General Options dialog and recompiling the help file used by the Library
Browser.
·
Merges the property sets defined for the extension with the default
property sets.The Web-based property sets are in a file named browser.ps
in the Extend directory. The file defines the following property sets:
Color, Font, Values and Location. (For more information about property
sets, see the online Help).
When you disable an extension, SilkTest reverses the preceding actions.