Testing Siebel Business Applications > Functional Test Object Reference >

SiebCalendar Object


The SiebCalendar object provides events and properties that allow you to manipulate a calendar control in a test automation environment.

Parent

The SiebCalendar object is a child of the SiebApplet Object, SiebList Object, and SiebCurrency Object.

Type

The SiebCalendar object is one of the Complex Control Objects.

Events

The SiebCalendar object has the following events.

Event Name
Description

CancelPopup

Closes the calendar popup applet without saving changes (for example, by clicking the Cancel button).

ClosePopup

Closes the calendar popup applet after saving changes (for example, by clicking the Save button).

NextMonth

Changes the displayed month in the calendar popup applet to the next month (for example, from February to March).

OpenPopup

Opens the calendar popup applet.

PrevMonth

Changes the displayed month in the calendar popup applet to the previous month (for example, from April to March).

ProcessKey (KeyName)

Invokes the specified key inside the control. KeyName is a String that specifies the key to invoke. The following values are valid for KeyName:

  • "Enter"
  • "LeftArrow"
  • "RightArrow"
  • "UpArrow"
  • "DownArrow"

SelectTimeZone (TimeZone)

Sets the Time Zone in the open calendar popup applet. TimeZone is a String that specifies the Time Zone value in the format "(GMT-09:00) Alaska".

SetDay (Day)

Sets the Day in the open calendar popup applet. Day is an Integer that specifies the new day value.

SetMonth (Month)

Sets the Month in the open calendar popup applet. Month is an Integer that specifies the new month value.

SetText (TextValue)

Enters text in the parent control for the calendar. TextValue specifies the text to enter.

SetTime (TimeText)

Sets the Time in the open calendar popup applet. TimeText is a String that specifies the new time value.

SetYear (Year)

Sets the Year in the open calendar popup applet. Year is an Integer that specifies the new year value.

Methods

There are no methods available from the SiebCalendar object.

Properties

The SiebCalendar object has the following properties.

Property Name
Type
Description

CalendarType

String

Specifies the type of calendar. The value of this property must be either Date, DateTime, or DateTimeZone.

ClassName = "SiebCalendar"

Const String

See Common Test Automation Object Properties for a description of this property.

Day

String

Specifies the current day in the open calendar control.

IsEnabled

Boolean

See Common Test Automation Object Properties for a description of this property.

IsOpen

Boolean

See Common Test Automation Object Properties for a description of this property.

IsRequired

Boolean

See Common Test Automation Object Properties for a description of this property.

Month

String

Specifies the current month in the open calendar control.

RepositoryName

String

See Common Test Automation Object Properties for a description of this property.

Text

String

See Common Test Automation Object Properties for a description of this property.

Time

String

Specifies the current time in the open calendar control.

TimeZone

String

Specifies the current time zone in the open calendar control.

TimeZoneCount

Integer

Specifies the number of time zones in the time zone picklist for the open calendar control.

UIName

String

See Common Test Automation Object Properties for a description of this property.

Year

String

Specifies the current year in the open calendar control.

Testing Siebel Business Applications Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.