Caplin Trader 5.1.0

Class: module:br-test/viewhandler/RightMarginWidth

module:br-test/viewhandler/RightMarginWidth()

RightMarginWidth instances of ViewFixtureHandler can be used to test the right margin width of an element. Example usage:

and("form.view.([identifier=\'orderForm\'] .order_amount .order_amount_input input).rightMarginWidth = '10'");

Constructor

new module:br-test/viewhandler/RightMarginWidth()

Implements:

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

Implements:

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

Implements: