List of Selenium Commands With Examples Part – 1

Selenium IDE commands with examples
There are many commands available in selenium IDE software testing tool. I have prepared one selenium commands list and linked some selenium ide command with its examples. So you can click on command link(From bellow given selenium ide commands list table) to view how to and where to use that command with example. This full selenium command list will help you to learn selenium IDE software testing tool on beginning level.

(Do you wants to be master of selenium IDE software testing tool in just 7 days? If yes then Read this Selenium IDE tutorials)

Pending command’s(Which are not linked) example creation is in process. you can subscribe via email for
new post update or you can bookmark this page in your browser to visit it again.

Selenium Commands List

Complete List of Selenium IDE Commands 
(Click here to view part 2)

addLocationStrategy
addLocationStrategyAndWait
addScript
addScriptAndWait
allowNativeXpath
allowNativeXpathAndWait
altKeyDownAndWait
altKeyUpAndWait
assertAllButtons
assertAllFields
assertAllLinks
assertAllWindowIds
assertAllWindowNames
assertAllWindowTitles
assertAttributeFromAllWindows
assertBodyText
assertCookie
assertCookieByName
assertCookieNotPresent
assertCookiePresent
assertCursorPosition
assertElementIndex
assertElementPositionLeft
assertElementPositionTop
assertExpression
assertHtmlSource
assertMouseSpeed
assertNotAllButtons
assertNotAllFields
assertNotAllLinks
assertNotAllWindowIds
assertNotAllWindowNames
assertNotAllWindowTitles
assertNotAttribute
assertNotAttributeFromAllWindows
assertNotBodyText
assertNotConfirmation
assertNotCookie
assertNotCookieByName
assertNotCursorPosition
assertNotElementIndex
assertNotElementPositionLeft
assertNotElementPositionTop
assertNotEval
assertNotExpression
assertNotHtmlSource
assertNotMouseSpeed
assertNotOrdered
assertNotPrompt
assertNotSelectedId
assertNotSelectedIds
assertNotSelectedValue
assertNotSelectedValues
assertNotSpeed
assertNotWhetherThisFrameMatchFrameExpression
assertNotWhetherThisWindowMatchWindowExpression
assertNotXpathCount
assertPromptNotPresent
assertPromptPresent
assertSpeed
assertWhetherThisFrameMatchFrameExpression
assertWhetherThisWindowMatchWindowExpression
assertXpathCount
assignIdAndWait
captureEntirePageScreenshotAndWait
chooseOkOnNextConfirmationAndWait
contextMenu
contextMenuAndWait
contextMenuAt
contextMenuAtAndWait
controlKeyDown
controlKeyDownAndWait
controlKeyUp
controlKeyUpAndWait
createCookie
createCookieAndWait
deleteAllVisibleCookies
deleteAllVisibleCookiesAndWait
deleteCookie
deleteCookieAndWait
deselectPopUpAndWait
doubleClick
doubleClickAndWait
doubleClickAt
doubleClickAtAndWait
dragAndDropAndWait
dragAndDropToObjectAndWait
dragdrop
dragdropAndWait
fireEventAndWait
focusAndWait
goBackAndWait
highlightAndWait
ignoreAttributesWithoutValue
ignoreAttributesWithoutValueAndWait
keyDownAndWait
keyPressAndWait
keyUpAndWait
metaKeyDown
metaKeyDownAndWait
metaKeyUp
metaKeyUpAndWait
mouseDownAndWait
mouseDownAt
mouseDownAtAndWait
mouseDownRight
mouseDownRightAndWait
mouseDownRightAt
mouseDownRightAtAndWait
mouseMove
mouseMoveAndWait
mouseMoveAtAndWait
mouseUpAndWait
mouseUpAt
mouseUpAtAndWait

mouseUpRight
mouseUpRightAndWait
mouseUpRightAt
mouseUpRightAtAndWait
openWindowAndWait
removeAllSelections
removeAllSelectionsAndWait
removeScript
removeScriptAndWait
rollupAndWait
runScriptAndWait
setBrowserLogLevel
setBrowserLogLevelAndWait
setCursorPosition
setCursorPositionAndWait
setMouseSpeed
setMouseSpeedAndWait
setSpeedAndWait
shiftKeyDownAndWait
shiftKeyUpAndWait
storeAllWindowIds
storeAllWindowNames
storeAllWindowTitles
storeAttributeFromAllWindows
storeBodyText
storeConfirmationPresent
storeCookie
storeCookieByName
storeCookiePresent
storeCursorPosition
storeElementPresent
storeExpression
storeHtmlSource
storeMouseSpeed
storeOrdered
storeSelectedId
storeSelectedIds
storeSomethingSelected
storeSpeed
storeWhetherThisFrameMatchFrameExpression
storeWhetherThisWindowMatchWindowExpression
submit
submitAndWait
typeKeys
typeKeysAndWait

27 thoughts on “List of Selenium Commands With Examples Part – 1

  1. Hello i am new in selenium. I like your blog and your post. can anyone please help me.
    How we store value in "assertElementHeight"assertElementWidht" "storeElementHeight" " assertElementwidth " and all in assertion command.

  2. when i handle multipleWindow command it will not open new window it shows error like:
    warn] Opening window '_blank', which is not a real window name. Randomizing target to be: selenium_blank89618
    [error] Unexpected Exception: TypeError: result is null. fileName -> chrome://selenium-ide/content/recorder.js, lineNumber -> 74
    plzzz suggest me

  3. 'openwindow' cmd cannot open new url when i wish to handle multiple windows
    it shows error
    like:
    warn] Opening window '_blank', which is not a real window name. Randomizing target to be: selenium_blank89618
    [error] Unexpected Exception: TypeError: result is null. fileName -> chrome://selenium-ide/content/recorder.js, lineNumber -> 74

  4. Hello
    I want to ask one question
    My scenario is
    Click on create new account in google
    Select Birth Month manually in IDE
    and select Gender .
    Can anyone help me

  5. Nice tutorial.
    Can anyone help in one scenario
    Click on create new account -> now select Birth month and gender using manually in IDE without using recording .

    and Second scenario is ;- Open google , enter youtube or any text in search , click on submit button , now try to click on any link after refresh and again run your code.

    Thanks in advance

  6. I want to automate mobile browser (android and iOS) through selenium. Please guide me through the installation and getting started flow.

    Thanks..

  7. I know basics of Java .. but I dont know how to setup selenium and my mobile device to run tests. I need a detailed step by step procedure to setup selenium webdriver for mobile and then getting started with it

  8. Can we use selenium webdriver for mobile automation? As far as my knowledge we cannot.
    Seetest is the mobile automation tool which is being used by most of the companies for mobile automation

  9. i want to test my theme in wordpress with lots of plugins and widgets..

    can any body tell me how can i tested with my theme using selenium??
    please its urgent.. reply me soon…

  10. i want to test my theme in wordpress with lots of plugins and widgets..

    can anybody tell me how can i tested with my theme using selenium?

    its urgent..please reply me soon..

  11. Hello Blogger ,

    I am new to selenium, is it possible to verify color of any simple html table using IDE ? Please help. I have tried many options but when i right click and browse through available commands, it never shows, verify color or assert color.
    Using which command I can do that ? and also let me know how i can achieve that ?

  12. Hi,
    Can you please explain the below assertions ?

    assertXpathCount
    assertAllWindowIds
    assertAllWindowNames
    assertAllWindowTitles
    assertAttributeFromAllWindows
    assertExpression
    assertHtmlSource
    assertCookie
    assertCookieByName
    assertCookieNotPresent
    assertCookiePresent

    -Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *