Netease OpenSource Home

 Quick Info

Selenium TestNg autotest






Dagger is a light, robust Web UI autotest framework based on Selenium and TestNg.(中文介绍参见这里


  • Easy to learn while only less then 20 APIs altogether, see this.
  • Providing a quickstart, see this.
  • High speed with parallel mode which is indeed TestNg's feature, see this
  • High stability with a trick on TestNg to retry failed/skipped testcases automatically, see this.
  • Using Chrome as default browser which is much more quick and stable than Firefox and IE.
  • Firefox and IE are also supported.
  • Capture screenshot automatically when testcase failed.

Coming soon

  • Integrating Flex/Flash automation.

How to use Dagger

Dagger is quite suitable for a small group to kick off Web UI autotest, for this case, just checkout Dagger with Eclipse and write testcases within it.

Already have an autotest framework? Please build Dagger into a .jar file to use, see this


  • NetEase, Inc.


(The Apache License)

Copyright (c) 2012-2013 NetEase, Inc. and other contributors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Projects Links