Selenium IDE commands:



First we will describe the mostly using command “open”.
There are three types of “open” commands these are:
open, openWindow and openWindowAndWait.

"open" Command

"open" command is using to open the website whatever we want to open in our browser or tab.

Here is a simple example or script  to open a website in our browser using selenium IDE “open” command:

Test case-01:
Command
Target
Value
open
http://www.xoom.com/


"openWindow" Command

openWindow” command is mostly same as “open” command but simply difference is:
When we use “open” command this open an website using a new tab of a browser on the other hand “openWindow” command open an website using a new browser window.

Here is a simple example or script  to open a website in our browser using selenium IDE “openWindow” command:

Test case-02:
Command
Target
Value
openWindow
http://www.xoom.com/



"openWindowAndWait" Command

openWindowAndWait” command is mostly same as “openWindow” command but simply difference is:
When we use “openWindowAndWait” command it will showing a error message for timed out.
If website is not loaded within 3000ms.

2 comments:

  1. I just wrote this article on the open command.http://ideqa.blogspot.com/2016/07/the-open-command.html

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete