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
- We can locate HTML tag by caption attribute, but according to http://www.w3.org/TR/html401/index/attributes.html that attribute does not exist. It is now synonym for value, but I think it should be deprecated. WTR-186
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