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 comments:

  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.

    ReplyDelete
    Replies
    1. I am posting different examples one by one. Please stay tuned..

      Delete
  2. '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

    ReplyDelete
  3. 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

    ReplyDelete
    Replies
    1. I modified example given at http://software-testing-tutorials-automation.blogspot.in/2012/10/selenium-ide-openand-openwindow-command.html . Now try it.

      Delete
  4. Very helpful tutorial.......thanx a lot.......

    ReplyDelete
  5. спасибо Вам большое, очень полезный учебник..

    ReplyDelete
  6. 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

    ReplyDelete
  7. 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

    ReplyDelete
  8. @Tarun, for you first scenario, use the following
    sendkeys | //*[@id='BirthMonth']/div[1]| June

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

    Thanks..

    ReplyDelete
    Replies
    1. You need to use webdriver for mobile automating testing and for that you should know any programming language.

      Delete
    2. 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

      Delete
    3. This comment has been removed by the author.

      Delete
    4. 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

      Delete
    5. You can use android driver and Iphone driver of webdriver for mobile application testing

      Delete
  10. Hi,
    I want to select date from Calender Icon using Selenium Ide,can u plz help me doing so.

    Thanks in advance.

    ReplyDelete
  11. 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...

    ReplyDelete
  12. 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..

    ReplyDelete
  13. 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 ?

    ReplyDelete
  14. Hi,
    I just want to know what is the difference between assertBodyText and AssertTextPresent?

    ReplyDelete
  15. Can you explain what is assertXpathCount ?

    ReplyDelete
  16. Hi,
    Can you please explain the below assertions ?

    assertXpathCount
    assertAllWindowIds
    assertAllWindowNames
    assertAllWindowTitles
    assertAttributeFromAllWindows
    assertExpression
    assertHtmlSource
    assertCookie
    assertCookieByName
    assertCookieNotPresent
    assertCookiePresent

    -Thanks

    ReplyDelete
  17. please tell me how to create report of record test cases inselenium ide

    ReplyDelete
  18. Can you explain me
    How to use deleteAllVisibleCookies and createCookie commands.

    ReplyDelete
  19. Can you explain me
    How to use createCookie and deleteAllVisibleCookies commands.

    ReplyDelete
  20. What is selsense?

    ReplyDelete