Showing posts with label open command. Show all posts
Showing posts with label open command. Show all posts

"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