The Selenium IDE can record simple browser operations and then export to the corresponding code you want.
Before I do something formal with selenium 2.46, I intend to record a simple login operation with the IDE, then export it as a Java code, and give myself an example of writing code directly behind.
"Selenium IDE Download"
Last officer net find the latest IDE download link: http://release.seleniumhq.org/selenium-ide/2.9.0/selenium-ide-2.9.0.xpi
"Selenium IDE Installation"
Open the Firefox browser-> add-on-> get additional components-> the top right corner settings icon-> Install the attachment from the file, then select the selenium-ide-2.9.0.xpi you just downloaded to install
"Selenium IDE Recording"
Launch the selenium IDE from the Firefox toolbar
In BaseURL input want to simulate login BBS login URL, click Play Entire Test Suit, and then click on the right red circle button to start recording, and then began to do login and enter the forum sub version of the operation, the operation is completed after the red circle button to stop recording.
"Selenium IDE Export"
Can be exported into a variety of files, is derived into webdriver or exported into RC, later a search, or exported into Java/junit 4/webdriver
Friendship Link: http://www.ibm.com/developerworks/cn/web/1309_fengyq_seleniumvswebdriver/