Selenium is a Throughtworks the Company a strong open source Web Functional Testing Tool series, this series now mainly includes the following 4 section:
q1.SeleniumCore: A test case that supports DHTML (effects like data-driven testing), which is seleniumide and SELENIUMRC 's engine. q2.SeleniumIDE: a plugin for FireFox that supports script recording. q3.SeleniumRC:seleniumremotecontrol. The following series of articles I will mainly focus on the introduction of SELENIUMRC .
Q 4.SeleniumGrid : Allows multiple test tasks to be run concurrently and in different environments, greatly accelerating Functional testing of WEB applications
Above is an introduction to selenium, selenium is a tool for Web automation testing, and then this article describes how to use the Selenium-ide plugin
1. Install firefox,firefox Download website: http://www.firefox.com.cn
Selenium-ide currently only supports Firefox, so download Firefox first
2. Download Selenium-ide plugin, use Firefox to download selenium-ide, official website:http://seleniumhq.org/download/, you can also download my upload plugin,/http download.csdn.net/detail/u014427391/9454398
3. Install Selenium-ide,selenium-ide.xpi to Firefox, and the prompt will appear:
You can install it all here
4. Use Selenium-ide to record a web
Open Firefox, press ALT to display the toolbar (some Firefox toolbars are hidden, to press the ALT key to display), if the selenium installation is successful, you can see the Selenium IDE, click the Selenium IDE on the toolbar, launch the tool
Then open Baidu, in the base URL input https://www/baidu.com
Introduction to Tools
We enter www.firefox.com.cn in Firefox and record Firefox's official website.
The code to be recorded:
Web Automation test Plug-in Selenium-ide plug-in installation using