Edit:
It contains the options like Undo, Redo, Cut, Copy, Paste, Delete, and Select All.
The two important options are:
Insert New Command
Insert New Comment
The newly inserted command or comment will be placed on top of the currently selected line.
In the below example,
We have placed open command in the first line, and clickAt command in the second line.
Suppose if I want to insert a comment in between these two commands then we have to right click on the second command “ClickAt” and click on the option “Insert New Comment”.
I have typed the comment as “Hi Automation” which is displaying in pink color.
It contains the options like Undo, Redo, Cut, Copy, Paste, Delete, and Select All.
The two important options are:
Insert New Command
Insert New Comment
The newly inserted command or comment will be placed on top of the currently selected line.
In the below example,
We have placed open command in the first line, and clickAt command in the second line.
Suppose if I want to insert a comment in between these two commands then we have to right click on the second command “ClickAt” and click on the option “Insert New Comment”.
I have typed the comment as “Hi Automation” which is displaying in pink color.
Remember:
Comments displays in pink color
Commands displays in black color
Actions:
The “Actions” menu and “Tool bar” have the same actions.
So, I will explain in detail about this at “Tool bar” section.
Options:
Options dialog box can be launched by clicking Options->Options… on the menu bar.
We can configure various settings of Selenium IDE.
The below diagram shows the various options present in the Selenium IDE.
Some of the important options are as below:
Default Timeout Value: Default timeout value is 30000ms. It is the time that Selenium IDE has
to wait for a certain element to appear in a webpage before it generates an error.
Remember base URL: If you want Selenium IDE to remember the Base URL every time you
launch it then keep this option as checked. If you uncheck this, Selenium IDE will always launch
with a blank value for the Base URL.
Clipboard Format:
Clipboard Format allows us to copy a command from the editor and paste it as a code snippet as
explained in the below figure:
For example, when you choose Java/JUnit 4/Remote Control as your clipboard format, every Selenese command you copy from Selenium IDE’s editor will be pasted as Java code.
Base URL: (Referred from http://docs.seleniumhq.org/)
The Base URL field at the top of the Selenium-IDE window is very useful for allowing test cases to be run across different domains.
For example, Suppose that a site named http://news.portal.com had a beta site named
http://beta.news.portal.com.
Any test cases for these sites that begin with an open statement should specify a relative URL as
the argument to open rather than an absolute URL (one starting with a protocol such as http: or https :).
Selenium-IDE will then create an absolute URL by appending the open command’s argument onto the end of the value of Base URL.
For example, the test case below would be run against
http://news.portal.com/about.html:
This same test case with a modified Base URL setting would be run against
http://beta.news.portal.com/about.html
Tool bar:
The tool bar contains buttons for controlling the execution of your test cases, including a step feature for debugging your test cases.
The right-most button, the one with the red-dot, is the record button.










No comments:
Post a Comment