Skip to content

DomDynamicsAXDatePicker

This behavior pattern implements standard behavior for DatePicker control.

Extends HTMLObject

Extends SeSSimulatedObject

Behavior Pattern: DomDynamicsAXDatePickerBehavior

Property Summary

Property Description Getter Setter
Day Current day displayed by the date picker. GetDay
Month Current month displayed by the date picker. GetMonth
Year Current year displayed by the date picker. GetYear

Action Summary

Action Description
DoNextMonth Clicks on 'Next Month' selector.
DoPrevMonth Clicks on 'Previous Month' selector.
DoSelectDate Selects specific date in the date picker.

Property Detail

Day

Current day displayed by the date picker.

Type: string|number

Accessors: GetDay

value = SeS('SomeDomDynamicsAXDatePicker').GetDay()

Month

Current month displayed by the date picker.

Type: string|number

Accessors: GetMonth

value = SeS('SomeDomDynamicsAXDatePicker').GetMonth()

Year

Current year displayed by the date picker.

Type: string|number

Accessors: GetYear

value = SeS('SomeDomDynamicsAXDatePicker').GetYear()

Action Detail

DoNextMonth

Clicks on 'Next Month' selector.

SeS('SomeDomDynamicsAXDatePicker').DoNextMonth()

Returns:

boolean: 'true' if success, 'false' otherwise

DoPrevMonth

Clicks on 'Previous Month' selector.

SeS('SomeDomDynamicsAXDatePicker').DoPrevMonth()

Returns:

boolean: 'true' if success, 'false' otherwise

DoSelectDate

Selects specific date in the date picker.

SeS('SomeDomDynamicsAXDatePicker').DoSelectDate(dateValue)

Parameters:

Name Type Description
dateValue number New date to select

Returns:

boolean: 'true' if success, 'false' otherwise