Logo QF-Test

Completely documented in two languages.
Manual = The QF-Test reference work

 

Free Trial  Download  Buy

Help is given in the software itself, too.

You can access the whole documentation directly from within QF-Test.

Uwe Klüh, Senior Sales Manager, QFS

Find the information you need in the whole documentation (Manual, Tutorial, Mailing list, Standard library) by using the online search above.

Uwe Klüh, Sr. Sales Manager, QFS

Manual

41.1
Pseudo DOM API

To a certain extent QF-Test exposes the DOM of a web based SUT to 'SUT script' nodes. This API is not equivalent to working directly at the JavaScript level which can be done via the methods toJS and evalJS described in this chapter. With this API is possible to traverse the DOM and retrieve and set attributes of the respective nodes, but not to manipulate the structure of the DOM. Thus this API is useful for implementing Name- or FeatureResolvers as described in section 42.1.

NoteThe DOM can differ depending on the browser, so you should try not to rely too much on child indexes in your resolvers or scripts in case of cross-browser testing if viable.

QF-Test's DOM API comprises a hierarchy of the following five classes:

41.1.1
The abstract Node class
41.1.2
The DocumentNode class
41.1.3
The FrameNode class
41.1.4
The DomNode class
41.1.5
The DialogNode class
Videos Downloads Documentation Buy Free Trial