Dashboard > Watir > ... > Watir Development > Deprecated Methods
Watir Log In View a printable version of the current page.
Deprecated Methods
Added by Zeljko, last edited by Zeljko on Feb 08, 2008  (view change) show comment
Labels: 
(None)

Deprecated Methods

Camel Case

  • activeObjectHighLightColor (Watir::Element)
  • clearSecurityAlertBox (WinClicker)
  • clearSelection (Watir::SelectList) should be renamed to clear to be consistent with other Watir classes
  • clickButtonWithHandle (WinClicker)
  • clickJSDialog_NewProcess (WinClicker)
  • clickJSDialog_Thread (WinClicker)
  • clickJavaScriptDialog (WinClicker)
  • clickWindowsButton (WinClicker)
  • clickWindowsButton_hwnd (WinClicker)
  • deleteSpecialFolderContents (Watir::CookieManager::WatirHelper)
  • dragContentsTo (Watir::TextField)
  • fileCreatedDate (Watir::Image)
  • fileSize (Watir::Image)
  • getAllContents (Watir::SelectList)
  • getChildHandle (WinClicker)
  • getControlText (WinClicker)
  • getFileRequesterFileName (WinClicker)
  • getHandleOfControl (WinClicker)
  • getParent (WinClicker)
  • getSelectedItems (Watir::SelectList)
  • getShortFileName (WinClicker)
  • getSpecialFolderLocation (Watir::CookieManager::WatirHelper)
  • getState (Watir::RadioCheckCommon)
  • getStaticText (WinClicker)
  • getStaticTextFromWindow (WinClicker)
  • getStaticText_hWnd (WinClicker)
  • getTextValueForFileNameField (WinClicker)
  • getWindowHandle (WinClicker)
  • getWindowTitle (WinClicker)
  • hasLoaded? (Watir::Image)
  • isSet? (Watir::RadioCheckCommon)
  • makeWindowActive (WinClicker)
  • setComboBoxText (WinClicker)
  • setFileRequesterFileName (WinClicker)
  • setFileRequesterFileName_newProcess (WinClicker)
  • setTextBoxText (WinClicker)
  • setTextValueForFileNameField (WinClicker)

Ways to Identify Object

Buggy

  • after_text (Watir::Element)
  • before_text (Watir::Element)

Additional

  • screen_capture (Watir::ScreenCapture) should be replaced by Win32Screenshot

show_

  • show_active (Watir::IE) => active.show
  • show_all_objects (Watir::Container) => all_objects.show
  • show_divs (Watir::IE) => divs.show
  • show_forms (Watir::IE) => forms.show
  • show_frames (Watir::PageContainer) => frames.show
  • show_images (Watir::IE) => images.show
  • show_labels (Watir::IE) => labels.show
  • show_links (Watir::IE) => links.show
  • show_pres (Watir::IE) => pres.show
  • show_spans (Watir::IE) => spans.show
  • show_tables (Watir::IE) => tables.show

Site running on a free Atlassian Confluence Community License granted to OpenQA. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.6 Build:#812 Aug 06, 2007) - Bug/feature request - Contact Administrators