"click" command

"click" command is another mostly used command in selenium ide software testing tool. you can use it when you want to click on any element like Link, Text box, radio button, check box etc of your software web application.

In below given example, click command will click on element "css=#gb_2 > span.gbts" of software application if it is present on page otherwise it will display error message in selenium IDE.

New Test
Command Target Value
open https://www.google.co.in/
click css=#gb_2 > span.gbts

"clickAndWait" Command

"clickAndWait" command is some different than "click" command. It will wait for page to load means next command will be not executed until page not loaded successfully. You need to use this command when your

 "open" Command

"Open" command in selenium IDE software testing tool is mostly used command in selenium IDE software testing tool. "Open" command opens the URL whatever you want to open in your current selected browser window or tab.

In bellow given sample script, it will open "https://www.google.com" URL into your currently selected browser window.
New Test
Command Target Value
open https://www.google.com

VIEW EXAMPLE OF HOW TO OPEN URL IN WEBDRIVER.

"openWindow" Command

"openWindow" is useful to open your URL in new window. If you have not entered URL in target, It will

 Now all you are familiar about selenium IDE software testing tool bar and its different components. Now lets we record and play sample script in selenium IDE software testing tool. Follow bellow given steps to record script in selenium IDE software testing tool.

Recording sample script in Selenium IDE
  • Open new tab in Mozilla Firefox browser.
  • Open selenium IDE software testing tool.
  • Click on "Record" button. (Please note here. It will start recording all navigation and action once you click on "Record" button.
  • Now enter URL "https://www.google.co.in/" in your browser. (Selenium IDE will record that action. Make sure your recording is working fine.)