have been using the robot framework to do web-side automation, that command, that XPath looking for my heart tired.
Finally found that there are Seleniun IDE and other useful tools ...
By the way want to learn to write a little bit of automation with Java Selenium (pull away)
First, download a Firefox (Firebug really Useful)
Second, to the official website download seleniumide,http://seleniumhq.org/download/, if you are lucky, can install the success directly .... I was always dot download no response ... ;
Select the Add-ons manager for Firefox, search for selenium,
Then install the two basic components Selenium IDE button and Selenium IDE,
Restart Firefox to see that the installation was successful
I also installed the selenium ide:robotframeworkformatter, a look at the name to know is recorded robot script.
Three, below is the recording script interface.
1. files : Create, open, and save test Cases and test case sets. edit : Copy, paste, delete, revoke, and select all the commands in the test case. Options : For setting up the SELENIUNM IDE.
2. Used to fill in the address of the site under test.
3. Speed control: Controls the speed at which the case is run.
4. Run All: Runs all cases in a test case set.
5. Run: Runs the currently selected test case.
6. Pause/Resume: Pause and resume test case execution.
7. Single-Step: You can run one line of commands in a case.
8. Recording: After clicking, start recording your actions on the browser.
9. A list of case sets.
. Test scripts; Table Tags: show commands and parameters in tabular form. SOURCE Tags: In the original way, the default is the HTML language format, can also be displayed in other languages.
one by one. View the number of pass/fail scripts running.
. The pre-selected command corresponds to the parameter.
. Log/reference/ui element/rollup
After you have finished recording your script, you can choose to export the script to a format
Can finally easily record the script, but still need some manual modification, recording is not so perfect ~ but has reduced a lot of work ~
Getting started with selenium IDE recording scripts