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)
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
|
Hello i am new in selenium. I like your blog and your post. can anyone please help me.
ReplyDeleteHow we store value in "assertElementHeight"assertElementWidht" "storeElementHeight" " assertElementwidth " and all in assertion command.
I am posting different examples one by one. Please stay tuned..
Delete'openwindow' cmd cannot open new url when i wish to handle multiple windows
ReplyDeleteit 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
when i handle multipleWindow command it will not open new window it shows error like:
ReplyDeletewarn] 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
I modified example given at http://software-testing-tutorials-automation.blogspot.in/2012/10/selenium-ide-openand-openwindow-command.html . Now try it.
DeleteVery helpful tutorial.......thanx a lot.......
ReplyDeleteспасибо Вам большое, очень полезный учебник..
ReplyDeleteHello
ReplyDeleteI 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
Nice tutorial.
ReplyDeleteCan 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
@Tarun, for you first scenario, use the following
ReplyDeletesendkeys | //*[@id='BirthMonth']/div[1]| June
I want to automate mobile browser (android and iOS) through selenium. Please guide me through the installation and getting started flow.
ReplyDeleteThanks..
You need to use webdriver for mobile automating testing and for that you should know any programming language.
DeleteI 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
DeleteThis comment has been removed by the author.
DeleteCan we use selenium webdriver for mobile automation? As far as my knowledge we cannot.
DeleteSeetest is the mobile automation tool which is being used by most of the companies for mobile automation
You can use android driver and Iphone driver of webdriver for mobile application testing
DeleteHi,
ReplyDeleteI want to select date from Calender Icon using Selenium Ide,can u plz help me doing so.
Thanks in advance.
i want to test my theme in wordpress with lots of plugins and widgets..
ReplyDeletecan any body tell me how can i tested with my theme using selenium??
please its urgent.. reply me soon...
i want to test my theme in wordpress with lots of plugins and widgets..
ReplyDeletecan anybody tell me how can i tested with my theme using selenium?
its urgent..please reply me soon..
Hello Blogger ,
ReplyDeleteI 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 ?
Hi,
ReplyDeleteI just want to know what is the difference between assertBodyText and AssertTextPresent?
Can you explain what is assertXpathCount ?
ReplyDeleteHi,
ReplyDeleteCan you please explain the below assertions ?
assertXpathCount
assertAllWindowIds
assertAllWindowNames
assertAllWindowTitles
assertAttributeFromAllWindows
assertExpression
assertHtmlSource
assertCookie
assertCookieByName
assertCookieNotPresent
assertCookiePresent
-Thanks
please tell me how to create report of record test cases inselenium ide
ReplyDeleteCan you explain me
ReplyDeleteHow to use deleteAllVisibleCookies and createCookie commands.
Can you explain me
ReplyDeleteHow to use createCookie and deleteAllVisibleCookies commands.
What is selsense?
ReplyDelete