Recently learning selenium, self-study is more difficult, but also very grateful to the network environment, you greatly help the blog.
Also want to be able to record a small white learning to use selenium test process, but also hope to be helpful to others.
There are a lot of materials about environment deployment and getting started selenium, and I'll just record the problems I've encountered in my learning process. I hope we can give you a little help when we meet the same problem.
1. Briefly describe the environment I am currently using:
Firefox version: 42.0 (Install Firepath, FireBug, Selennium IDE plugin)
selenuim:2.45.0
Eclipse:luna Service Release 2 (4.4.2)
2. Problems encountered when installing successfully:
The biggest problem is incompatibility,
(1) To pay attention to the use of Firefox version, the latest version of the Firefox browser is not compatible with the selenium IDE, will be prompted to find the plug-in, it is recommended to use a slightly earlier version of the browser, preferably under 42 version.
(2) Selenium2 version, can be used more stable, such as 2.45 or 2.47.
(3) The JDK and JRE versions are best used for 1.8 or 1.6.
(4) Eclipse or MyEclipse is available, but eclipse runs smoother and it is recommended to use eclipse.
(5) MyEclipse need to crack, the specific method of cracking can check it yourself.
(6) The version of the Selenium IDE can be selected 2.9.0.
3. Use after installation:
Just touch you can use the Seleniumide tool to record the execution process, and note that the following problems may occur during use (all are lessons):
(1) The recording process can refer to other web tutorials, but after exporting the script and saving it in the required format, you will find that the record button is not available when you use the tool again to record the script.
Note that you want to convert the format: options-->format-->html (converted to HTML format)
(2) It is best to use testng frame, because juint is more suitable for development use, testng is more suitable for testers.
(3) Well-recorded scripts are not normally used directly, and need to be edited before they can be used.
Cond....
Selenium use of the process encountered a problem essay