Web automation testing tool selenium 1.0 officially released: chrome support + User Guide

Source: Internet
Author: User
Tags selenium grid

Selenium
It is an open-source Web automation testing tool. It has recently released version 1.0, marking the formal Addition of a new member in the Web automation testing field. In its new version, apart from fixing a number of bugs, the most eye-catching
The goal is to add support for Google Chrome in selenium RC and provide a complete user guide on the official website of selenium.

Infoq has been paying attention to the growth of selenium, Zhao Miao
Horizontal comparison of Web testing tools on the. NET platform
Selenium is summarized in this article:

Strictly speaking, Selenium
Is a complete set of web applicationsProgramTest system, which includes the test recording (selenium IDE)
), Write and run selenium remote control
) And test parallel processing (selenium grid)
). Selenium Core
Based on jsunit
,
It is completely written in Javascript, so it can run on any browser that supports JavaScript. Selenium
Core is driven by an HTML file in a specified format, which enhances the readability of test suite to a certain extent. Selenium remote
Control allows testers to use common languages
(Naturally including C # And other. NET languages) write and TestCodeAnd supports different operating systems
Various mainstream browsers
. Selenium grid is used to distribute tests to multiple machines, which greatly speeds up testing. Like watin, selenium is also an open-source framework released using the Apache license 2.0 protocol.

Reply from the reader to the above
It can also be seen that the domesticCommunitySelenium is also gaining popularity.

As a web automated testing tool, selenium supports many browser types and has always been a pleasure for the community. In Version 1.0, selenium officially added support for Google Chrome.
:

Selenium remote control uses the browser parameter googlechrome to call Google Chrome. It has passed the test on Windows XP/Vista and chrome support is completed by Google.

So far, in addition to the support for IE8 is still under development, all other mainstream browsers
Selenium can be used to automate the drive to test web applications.

The official website of selenium officially launched the selenium user guide when selenium 1.0 was released.
. Before that, users can only use limited text introductions and forums
To learn selenium. Now, the team responsible for document writing has completed a complete selenium User Guide, mainly including:

    • Selenium Introduction
    • Basic concepts of Selenium
    • Use selenium ide to develop test cases
    • Familiar with selenium commands
    • Selenium-RC

Selenium 1.0 also includes the following important updates:

    • Supports context menu
    • Setspeed supported
    • Case Sensitive matching
    • Added the deleteallvisiblecookies command.

However, in selenium 1.0, the shutdownseleniumserver command does not work due to previous Code refactoring errors. Therefore, the selenium team immediately released version 1.0.1 to fix the bug. The latest version can be found here.
Download.

It is gratifying that Chinese communities have also put forward a new Web automated testing framework, tellurium, in addition to learning and using selenium.
Is one of them. Currently, infoq Chinese site Zhang Kaifeng
I made a special report on this.
Mr. Fang Jian, founder of tellurium, talked about selenium's shortcomings in the interview:

I have a job (task) that uses selenium to test one of our applications (with dojo
Written by the Javascript framework ). At that time, selenium was a groundbreaking framework.
Replay) is easy to generate test scripts. But once I start using selenium, I find that it still has some disadvantages and inconveniences. The main test script is vulnerable to code updates.
(Fragile ). However, in an agile development environment, users are usually tested in stages (user acceptance ).
Test), because the program has been updated, selenium test script maintenance becomes a headache. In addition, the replication and replay modes are not applicable to many enterprise applications.
We have a lot of data
Grid), the content itself is dynamic. Other problems include that the selenium test script is not structured. You can see that there is an XPath, which makes maintenance more difficult.

He also said that tellurium originated from selenium and its main competitor was selenium. After all, selenium has been promoted for several years. It takes some time to use a new framework.

It can be seen that the competition for Web automated testing tools is becoming increasingly fierce. But either selenium or tellurium, the software development community is the final reviewer and beneficiary. You can view more tests on the infoq Chinese site.
.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.