Caplin Trader 5.1.0

Interface: module:br-test/viewhandler/ViewFixtureHandler

module:br-test/viewhandler/ViewFixtureHandler

Classes implementing ViewFixtureHandler interface are used by ViewFixture to interact with the elements in the rendered view.

Methods

get(eElement, vValue)

Inspects eElement and returns the value of its particular property.

Parameters:
Name Type Description
eElement DOMElement

DOM element

vValue Variant

value to be used when inspecting the element

set(eElement, vValue)

Updates eElement in a particular way, for example by setting a vValue on one of its properties.

Parameters:
Name Type Description
eElement DOMElement

DOM element

vValue Variant

value to be set on eElement