RadScheduler Class

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
A simple control wrapper for the scheduler Control.
Inheritance Hierarchy

SystemObject
  ArtOfTest.WebAii.ControlsControl
    ArtOfTest.WebAii.Controls.HtmlControlsHtmlControl
      ArtOfTest.WebAii.Controls.HtmlControlsHtmlContainerControl
        ArtOfTest.WebAii.Controls.HtmlControlsHtmlDiv
          Telerik.WebAii.Controls.HtmlRadScheduler

Namespace:  Telerik.WebAii.Controls.Html
Assembly:  Telerik.WebAii.Controls.Html (in Telerik.WebAii.Controls.Html.dll) Version: 2012.1.411.0 (2012.1.411.0)
Syntax

public class RadScheduler : HtmlDiv

The RadScheduler type exposes the following members.

Constructors

  NameDescription
Public methodRadScheduler
Initializes a new instance of the RadScheduler class.
Public methodRadScheduler(Element)
Initializes a new instance of the RadScheduler class.
Top
Properties

  NameDescription
Public propertyAdvancedFormAllDayCheckBox
Advanced form all day checkbox.
Public propertyAdvancedFormAllDayCheckBoxChecked
Advanced form all day checkbox checked state.
Public propertyAdvancedFormCancelButton
Get the advanced form Cancel button.
Public propertyAdvancedFormDiv
Get the advanced form if visible or null otherwise.
Public propertyAdvancedFormInsertButton
Get the advanced form Save(Insert) button.
Public propertyAdvancedFormMoreControlsPanel
Advanced form more controls panel.
Public propertyAdvancedFormMoreControlsPanelVisible
Advanced form more controls visible state.
Public propertyAdvancedFormRecurrenceCheckBox
Advanced form recurrence checkbox.
Public propertyAdvancedFormRecurrenceCheckBoxChecked
Advanced form recurrence checkbox checked state.
Public propertyAdvancedFormRecurrencePanel
Advanced form recurrence panel.
Public propertyAdvancedFormRecurrencePanelVisible
Advanced form recurrence panel visible state.
Public propertyAdvancedFormSaveButton
Get the advanced form Save button.
Public propertyAdvancedFormText
Advanced form text in case the advanced form is visible, null otherwise.
Public propertyAdvancedFormVisible
Check whether the advanced form is visible.
Public propertyAppointments
Get the Appointments object of the scheduler.
Public propertyAttributes
All attributes defined for this HtmlControl.
(Inherited from HtmlControl.)
Public propertyBaseElement
Gets the DOM element representing this test control
(Inherited from Control.)
Public propertyCalendarVisible
Returns whether the calendar is visible.
Public propertyCalendarWrapper
Scheduler calendar wrapper.
Public propertyChangeHoursLinkText
Change hours link text.
Public propertyChildNodes
Get all the child element nodes of this HtmlControl.
(Inherited from HtmlControl.)
Public propertyClientSideLocator
Get the locator FindParam.
(Overrides HtmlControlClientSideLocator.)
Public propertyCssClass
This HtmlControl's CSS class name.
(Inherited from HtmlControl.)
Public propertyEvents
The list of events defined on this HtmlControl
(Inherited from HtmlControl.)
Public propertyFind
Find property
(Inherited from HtmlControl.)
Public propertyFirstDayStart
Current day in the day view.
Public propertyGetDayViewAllDayTimeSlot
Get the AllDay TimeSlot form scheduler DayView.
Public propertyHeaderText
Get the current header text.
Public propertyID
This HtmlControl's ID.
(Inherited from HtmlControl.)
Public propertyInlineFormDiv
Get the inline form div if visible, null otherwise.
Public propertyInlineFormText
Get the text of the inline form if visible, or null otherwise.
Public propertyInlineFormVisible
Get whether the inline form is visible.
Public propertyInnerText
Gets the innerText of this container control.
(Inherited from HtmlContainerControl.)
Public propertyIsActiveElement
Gets whether this element has the keyboard focus
(Inherited from HtmlControl.)
Public propertyIsEnabled
Gets / sets whether this control is enabled (not disabled)
(Inherited from HtmlControl.)
Public propertyIsRefresh
Gets whether the control is executing a Refresh call.
(Inherited from Control.)
Public propertyIsVisibleModalDialog
Check whether the modal dialog is visible.
Public propertyLocator
Gets the FindParam that describes this control. The base Control returns null.
(Inherited from Control.)
Public propertyLocatorExpression
Get the FindParam that defines the pattern for scheduler.
(Overrides ControlLocatorExpression.)
Public propertyMappings
Gets a mappings collection that stores customizable control specific mapping knowledge that can be later customized.
(Inherited from HtmlControl.)
Public propertyModalDialogTitle
Returns modal dialog title.
Public propertyOwnerBrowser
Gets the owner browser that owns this control.
(Inherited from Control.)
Public propertyReminderDialog
Get the reminder dialog.
Public propertyReminderDialogCloseButton
Get the reminder dialog close button
Public propertyReminderDialogDismissAllButton
Get the reminder dialog dismiss all button
Public propertyReminderDialogDismissButton
Get the reminder dialog dismiss button
Public propertyReminderDialogSnoozeButton
Get the reminder dialog snooze button
Public propertyReminderDialogTitleBarText
Get the reminder dialog header text
Public propertyReminderDialogVisible
Reminder dialog visible state.
Public propertyRemindersList
Get the list of the reminders
Public propertyRenderMode
Render mode of toolbar.
Public propertyResourceTypesString
Returns a string containing the scheduler resource types.
Public propertyScrollLeft
Gets / Sets the scrollLeft value of this HtmlControl.
(Inherited from HtmlControl.)
Public propertyScrollTop
Gets / Sets the scrollTop value of this HtmlControl.
(Inherited from HtmlControl.)
Public propertySelectedView
Selected view in the scheduler.
Public propertyStyles
Styles collection set on this HtmlControl and persisted in the Html stream. This collection does not contain computed styles.
(Inherited from HtmlControl.)
Public propertyTagName
The tag name of this HtmlControl.
(Inherited from HtmlControl.)
Public propertyTextContent
Gets the TextContent of this container control.
(Inherited from HtmlContainerControl.)
Protected propertyThrowOnInvalidAssignment
Gets whether the control should throw on invalid assignments
(Inherited from Control.)
Public propertyWait
Gets the HtmlWait object attached to this HtmlControl.
(Inherited from HtmlControl.)
Top
Methods

  NameDescription
Public methodAddEventListener
Add an event handler to a Javascript event handler list on this HtmlControl.
(Inherited from HtmlControl.)
Public methodAdvancedFormSetText
Advanced form set text method.
Public methodAsjQueryControl
Convert this HtmlControl to jQueryControl.
(Inherited from HtmlControl.)
Public methodAssignElement
Assign the control element.
(Overrides HtmlDivAssignElement(Element).)
Protected methodAssignFailed
Mark the assignment to failed. Throw if the framework is set for throwing.
(Inherited from Control.)
Public methodCallMethod(String)
Call a client side Javascript method on this HtmlControl.
(Inherited from HtmlControl.)
Public methodCallMethodT(String, T)
Call a client side Javascript method on this HtmlControl with return type of T and a default return value.
(Inherited from HtmlControl.)
Public methodCapture
Captures and returns a bitmap image of this HtmlControl.
(Inherited from HtmlControl.)
Public methodCapture(String)
Captures and saves this HtmlControl's image to the WebAii log location as a file.
(Inherited from HtmlControl.)
Public methodCapture(String, String)
Captures and saves this HtmlControl's image to the specified save path as the specified file name as a BMP file.
(Inherited from HtmlControl.)
Public methodChangeHours
Click the ChangeHours link.
Public methodClick
Invoke a click on this HtmlControl.
(Inherited from HtmlControl.)
Public methodClick(Boolean)
Invoke a click on this HtmlControl that will cause its browser window to close (this is common for html pop-ups).
(Inherited from HtmlControl.)
Public methodControlAssert
Get RadControlAssert instance initialized for this control.
Public methodDownload
Clicks a control using the MouseClick or Click and handles the download dialogs sequence that is produced.
(Inherited from HtmlControl.)
Public methodDragTo(Point)
Drag this HtmlControl to an absolute screen coordinate point.
(Inherited from HtmlControl.)
Public methodDragTo(HtmlControl)
Drag this HtmlControl to the center on the destination HtmlControl.
(Inherited from HtmlControl.)
Public methodDragTo(Int32, Int32)
Drag this HtmlControl to a relative X/Y offset.
(Inherited from HtmlControl.)
Public methodDragTo(HtmlControl, OffsetReference, Point)
Drag to a destination HtmlControl with an offset of where within the destination HtmlControl to drag to.
(Inherited from HtmlControl.)
Public methodDragTo(OffsetReference, Point, HtmlControl)
Drag this HtmlControl by specifying a reference point on the HtmlControl rectangle to start the drag from with an offset and drop on the destination HtmlControl center.
(Inherited from HtmlControl.)
Public methodDragTo(OffsetReference, Point, Int32, Int32)
Drag this HtmlControl from a source offset to an X/Y offset from the source.
(Inherited from HtmlControl.)
Public methodDragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)
Drag this HtmlControl by specifying a reference point on the HtmlControl rectangle to start the drag from and a reference point on the destination HtmlControl to specify the drop location.
(Inherited from HtmlControl.)
Public methodDragTo(OffsetReference, Int32, Int32, Rectangle, OffsetReference, Int32, Int32)
Drag this HtmlControl from a source offset to an X/Y offset from the source.
(Inherited from HtmlControl.)
Public methodDragTo(OffsetReference, Int32, Int32, Boolean, HtmlControl, OffsetReference, Int32, Int32, Boolean)
Drag this HtmlControl by specifying a reference point on the HtmlControl rectangle to start the drag from and a reference point on the destination HtmlControl to specify the drop location.
(Inherited from HtmlControl.)
Public methodDragToWindowLocation
Drag this HtmlControl, using the browser window as the drop target
(Inherited from HtmlControl.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindAppointment
Find appointment by given predicate.
Public methodFindAppointmentBySubject
Finds appointment by Subject.
Protected methodFindParentContainerTContainerControl
Traverses the DOM tree upwards until it finds the container element desired.
(Inherited from HtmlControl.)
Public methodFocus
Give this Html element focus.
(Inherited from HtmlControl.)
Protected methodGetAttributeAsString
Get an attribute of this element as a string
(Inherited from HtmlControl.)
Public methodGetComputedStyle
Returns an HtmlStyle object that can be used to easily probe the style value. (i.e. convert unit styles to Int32 or color value to System.Drawing.Color)
(Inherited from HtmlControl.)
Public methodGetComputedStyleValue
Returns the computed value of the specified style. The computed style value represents the final computed value taking into account the CSS properties for this HtmlElement.
(Inherited from HtmlControl.)
Public methodGetDayViewTimeSlot(Int32)
Get the TimeSlot form scheduler DayView by index.
Public methodGetDayViewTimeSlot(Int32, Int32)
Get the TimeSlot form scheduler DayView by index and resource index.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetMonthViewTimeSlot
Get the TimeSlot form scheduler MonthView by timeSlot index and day index.
Public methodGetRectangle
The absolute screen position and size of this HtmlControl.
(Inherited from HtmlControl.)
Public methodGetStyle
Returns a HtmlStyle object that can be used to easily probe the style value. (i.e. convert unit styles to Int32 or color value to System.Drawing.Color)
(Inherited from HtmlControl.)
Public methodGetStyleValue
Returns any style as if you are accessing the element.style object from JavaScript.
(Inherited from HtmlControl.)
Public methodGetTimeLineTimeSlot
Get the TimeSlot form scheduler TimeLineView.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleGetValueT(String)
Get a property value (e.g. control.border or control.style.backgroundColor).
(Inherited from HtmlControl.)
Public methodCode exampleGetValueT(String, Boolean)
Get a property value (e.g. control.border or control.style.backgroundColor) with ability to specify wrappedJSObject's in Firefox.
(Inherited from HtmlControl.)
Public methodCode exampleGetValueT(String, T)
Get a property value (e.g. control.border or control.style.backgroundColor) and return the specified default value if the get fails for any reason.
(Inherited from HtmlControl.)
Public methodCode exampleGetValueT(String, Boolean, T)
Get a property value (e.g. control.border or control.style.backgroundColor) with ability to specify wrappedJSObject's in Firefox and return the specified default value if the get fails for any reason.
(Inherited from HtmlControl.)
Public methodGetWeekViewAllDayTimeSlot
Get the AllDay TimeSlot form scheduler WeekView.
Public methodGetWeekViewTimeSlot
Get the TimeSlot form scheduler WeekView by timeSlot index and day index.
Public methodGoNext
Go to the Next day.
Public methodGoPrevious
Go to the Previous day.
Public methodGoToday
Navigate to today.
Public methodInitializeAppointments
Initializes all Scheduler appointments.
Public methodInitializeMappings
Initialize the Mappings collection. This method is called when the Mappings collection is accessed for the first time. It is then cached
(Inherited from HtmlControl.)
Public methodInlineFormSetText
Inline form set text method.
Public methodInvokeEvent(ScriptEvent)
Invokes an event on this HtmlControl.
(Inherited from HtmlControl.)
Public methodInvokeEvent(ScriptEventType)
Invokes an event on this HtmlControl.
(Inherited from HtmlControl.)
Public methodInvokeEvent(ScriptEvent, Boolean)
Invokes an event on this HtmlControl.
(Inherited from HtmlControl.)
Public methodInvokeEvent(ScriptEventType, Boolean)
Invokes an event on this HtmlControl.
(Inherited from HtmlControl.)
Public methodIsVisible
Returns whether the html element is visible or not. Returns true only when computedStyle.display != 'none' && computedStyle.visibility != 'hidden'
(Inherited from HtmlControl.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMouseClick
Uses the Desktop.Mouse object to move the mouse to this HtmlControl and click it.
(Inherited from HtmlControl.)
Public methodMouseClick(MouseClickType)
Uses the Desktop.Mouse object to move the mouse to the absolute center of this HtmlControl and simulate a left mouse click. Be sure this HtmlControl is visible in the browser window first. Call ScrollToVisible(ScrollToVisibleType) or ScrollToVisible(ScrollToVisibleType, Rectangle)first if the element could be currently outside of the browsers window.
(Inherited from HtmlControl.)
Public methodMouseClick(MouseClickType, Point, OffsetReference)
Uses the Desktop.Mouse object to move the mouse to a point relative to this HtmlControl and simulate the specified mouse click. Be sure this HtmlControl is visible in the browser window first. Call ScrollToVisible(ScrollToVisibleType) or ScrollToVisible(ScrollToVisibleType, Rectangle)first if the element could be currently outside of the browsers window.
(Inherited from HtmlControl.)
Public methodMouseClick(MouseClickType, Int32, Int32)
Uses the Desktop.Mouse object to move the mouse to a point relative to this HtmlControl and simulate the specified mouse click. Be sure this HtmlControl is visible in the browser window first. Call ScrollToVisible(ScrollToVisibleType) or ScrollToVisible(ScrollToVisibleType, Rectangle)first if the element could be currently outside of the browsers window.
(Inherited from HtmlControl.)
Public methodMouseClick(MouseClickType, Int32, Int32, OffsetReference)
Uses the Desktop.Mouse object to move the mouse to a point relative to this HtmlControl and simulate the specified mouse click. Be sure this HtmlControl is visible in the browser window first. Call ScrollToVisible(ScrollToVisibleType) or ScrollToVisible(ScrollToVisibleType, Rectangle)first if the element could be currently outside of the browsers window.
(Inherited from HtmlControl.)
Public methodMouseHover
Uses the Desktop.Mouse object to Hover over this absolute center of this HtmlControl. Be sure this HtmlControl is visible in the browser window first. Call ScrollToVisible(ScrollToVisibleType) or ScrollToVisible(ScrollToVisibleType, Rectangle)first if the element could be currently outside of the browsers window.
(Inherited from HtmlControl.)
Public methodMouseHover(Point)
Uses the Desktop.Mouse object to Hover over a point relative to this HtmlControl. Be sure this HtmlControl is visible in the browser window first. Call ScrollToVisible(ScrollToVisibleType) or ScrollToVisible(ScrollToVisibleType, Rectangle)first if the element could be currently outside of the browsers window.
(Inherited from HtmlControl.)
Public methodMouseHover(Int32, Int32)
Uses the Desktop.Mouse object to Hover over a point relative to this HtmlControl. Be sure this HtmlControl is visible in the browser window first. Call ScrollToVisible(ScrollToVisibleType) or ScrollToVisible(ScrollToVisibleType, Rectangle)first if the element could be currently outside of the browsers window.
(Inherited from HtmlControl.)
Public methodMouseHover(Int32, Int32, OffsetReference)
Uses the Desktop.Mouse object to Hover over a point relative to this HtmlControl. Be sure this HtmlControl is visible in the browser window first. Call ScrollToVisible(ScrollToVisibleType) or ScrollToVisible(ScrollToVisibleType, Rectangle)first if the element could be currently outside of the browsers window.
(Inherited from HtmlControl.)
Public methodNavigateDayView
Navigate to day view.
Public methodNavigateMonthView
Navigate to month view.
Public methodNavigateMultiDayView
Navigate to MultiDay view.
Public methodNavigateTimelineView
Navigate to timeline view.
Public methodNavigateWeekView
Navigate to week view.
Public methodOpenCalendar
Activate date picker.
Public methodParentTContainerControl
Return the parent HtmlContainerControl of the desired type that this HtmlControl is contained inside of. If a parent HtmlControl of the desired type is not found, will return null.
(Inherited from HtmlControl.)
Public methodRefresh
Refresh this control within the current DOM and update this control property values.
(Inherited from Control.)
Public methodRemoveEventListener
Removes an event handler from a Javascript event handler list on this HtmlControl.
(Inherited from HtmlControl.)
Public methodScrollToVisible
Scroll the browsers window to make this HtmlControl visible on the page. This will method uses the ScrollToVisibleType.ElementTopAtWindowTop
(Inherited from HtmlControl.)
Public methodScrollToVisible(ScrollToVisibleType)
Scroll the browsers window to make this HtmlControl visible on the page.
(Inherited from HtmlControl.)
Public methodScrollToVisible(ScrollToVisibleType, Rectangle)
Scroll the browsers window so that the specified rectangle within this HtmlControl is visible on the page.
(Inherited from HtmlControl.)
Public methodCode exampleSetValueT(String, T)
Set a property value. (e.g. control.border = 2 or control.style.backgroundColor = "red")
(Inherited from HtmlControl.)
Public methodCode exampleSetValueT(String, T, Boolean)
Set a property value. (e.g. control.border = 2 or control.style.backgroundColor = "red") myControl.SetValue<string>("style.backgroundColor","red")
(Inherited from HtmlControl.)
Public methodToString
Builds and returns a string representation of this element.
(Inherited from HtmlControl.)
Protected methodValidateControl
Validate a HtmlControl using its LocatorExpression.
(Inherited from HtmlControl.)
Protected methodValidateTag
Validate a tag name
(Inherited from HtmlControl.)
Top
Extension Methods

  NameDescription
Public Extension MethodAssertAttributeOverloaded.
Assert methods based on the HtmlControl's attributes.
(Defined by HtmlControlsAssertExtensions.)
Public Extension MethodAssertAttribute(Boolean)Overloaded.
Assert methods based on the HtmlControl's attributes
(Defined by HtmlControlsAssertExtensions.)
Public Extension MethodAssertContent
Assert methods based on the HtmlControl's content.
(Defined by HtmlControlsAssertExtensions.)
Public Extension MethodAssertStyleOverloaded.
Assert methods based on the HtmlControl's style.
(Defined by HtmlControlsAssertExtensions.)
Public Extension MethodAssertStyle(Boolean)Overloaded.
Assert methods based on the HtmlControl's style.
(Defined by HtmlControlsAssertExtensions.)
Public Extension MethodTojQueryControl (Defined by jQueryExtension.)
Top
See Also

Reference