Selenium-RC Commands

Imagemap
Selenium-RC 

 CommandsBrowsers*iexplore, *iehta, *iexploreproxy*firefox, *chrome, *firefoxproxyWindow FlowanswerOnNextPromptchooseCancelOnNextConfirmationchoose answer to next window.confirm()chooseOKOnNextConfirmationgetAlertget message from a JavaScript alertgetConfirmationmessage of a JavaScript confirmation dia ...getPrompttext from last javascript question promp ...goBackisAlertPresenthas an alert occurredisConfirmationPresentisPromptPresentopenopenWindowrefreshwaitForPageToLoadcookiescreateCookiedeleteAllVisibleCookiesdeleteCookiegetCookiereturn all cookiesgetCookieByNamespecific CookieisCookiePresentKeyboardaltKeyDownaltKeyUpcontrolKeyDowncontrolKeyUpkeyDownkeyDownNativekeyPresskeyPressNativekeyUpkeyUpNativemetaKeyDownmetaKeyUpshiftKeyDownshiftKeyUpMousemouseDownmouseDownAtmouseDownRightmouseDownRightAtmouseMovemouseMoveAtmouseOutmouseOvermouseUpmouseUpAtmouseUpRightmouseUpRightAtScreenShotscaptureEntirePageScreenshotsave content of window canvas to PNGcaptureEntirePageScreenshotToStringscreenshot as base64 encoded pngcaptureScreenshotsave screen to pngSelenium Config and ControlallowNativeXpathgetSpeedget millisecond delay settingignoreAttributesWithoutValueretrieveLastRemoteControlLogssetBrowserLogLevelsetContextsetSpeedsetTimeoutshowContextualBannershutDownSeleniumServerstartstopuseXpathLibraryDefaultSeleniumall in DefaultSelenium unless otherwise  ...Window ManagementgetAllWindowIdsids of all windowsgetAllWindowNamesgetAllWindowTitlesgetWhetherThisWindowMatchWindowExpressio ...selectWindowwaitForPopUpwindowFocuswindowMaximizeFramesselectFramegetWhetherThisFrameMatchFrameExpressionwaitForFrameToLoadHTMLElementsselectmultiselectaddSelectionadd a selection to multi-selectremoveAllSelectionsremoveSelectiongetSelectedIdget the option idgetSelectedIDsgetSelectedIndexgetSelectedIndexesgetSelectedLabelgetSelectedLabelsgetSelectedValuegetSelectedValuesgetSelectOptionsisSomethingSelecteddropdownselectassignIdassign an id to an elementfile elementattachFileamend a file input fieldcheckbox/radiochecktoggle a checkbox or radio buttonisCheckedunchecklink, button, checkbox or radio buttonclickclickAton an element @ particular co-ordsdoubleClickdoubleClickAtpopupwindow or tabcloseelementcontextMenucontextMenuAthighlightchange the backgroundColour of an elemen ...input or textareagetCursorPositiongetValueisEditablesetCursorPositiontypetypekeysqueriesElementgetElementHeightgetElementIndexgetElementPositionLeftgetElementPositionTopgetElementWidthgetAttributegets the value of an element's attributegetAttributeFromAllwindowsgetTexttext of an elementisElementPresentisVisiblePagegetHTMLSourceget full <html> sourcegetLocationget absolute url of pagegetBodyTexttext of a page in <body> taggetAllLinksids of all linksgetAllfieldsids of all input fieldsgetAllButtonsids of all buttons on the pagegetTitleisOrderedisTextPresentXpathgetXpathCounttablegetTableget text from table cellFormsubmitJavaScriptaddLocationStrategyallows you to add a function to 

 us ...addScriptallows you to add javascript to SeleniumremoveScriptremoves a script you have addedrunScriptadd javascript to the AUTfireEventtrigger an event for an elementgetEvalget results of running a javascript comm ...getExpressionrollupsetExtensionJswaitForConditionDrag and DropdragAndDropdragAndDropToObjectgetMouseSpeedsetMouseSpeed
hide

Selenium-RC

Commands

User Link
hide
JavaScript
hide

http://www.google.com/search?q=selenium.getEval&rls=com.microsoft:*:IE-SearchBox&ie=UTF-8&oe=UTF-8&sourceid=ie7&rlz=1I7SUNA_en-GB

http://kmamalis.wordpress.com/2008/07/15/extend-selenium-rc-by-means-of-geteval-method/

http://www.google.com/url?sa=t&source=web&ct=res&cd=2&url=http%3A%2F%2Fclearspace.openqa.org%2Fdocs%2FDOC-1061&ei=35LwSaCiB-DNjAe9543aDA&usg=AFQjCNHSqA4oJ91zV9DIT2APtq-KDMvAXw&sig2=mn_gA8ii18tFb_BcV6e9tQ