Skip to content

Commit

Permalink
Misc: update readme and pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewleo committed Mar 18, 2014
1 parent 5b6e2e2 commit b993341
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
19 changes: 8 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Dagger - a light, robust Web UI autotest framework
## Dagger - a light, robust Web UI autotest framework

Dagger is a light, robust Web UI autotest framework based on [Selenium](http://seleniumhq.org/) and [TestNG](http://testng.org/doc/index.html).(中文介绍参见[这里](https://github.com/NetEase/Dagger/wiki/Dagger)

Expand All @@ -16,20 +16,17 @@ Dagger is a light, robust Web UI autotest framework based on [Selenium](http://s

## Features

* Easy to learn while only less than 20 APIs altogether, see [this](http://netease.github.com/Dagger/classcom_1_1netease_1_1dagger_1_1_browser_emulator.html).
* Easy to learn while only less than 30 APIs altogether, see [this](http://netease.github.com/Dagger/classcom_1_1netease_1_1dagger_1_1_browser_emulator.html).
* High speed with parallel mode which is indeed TestNG's feature, see [this](https://github.com/NetEase/Dagger/wiki/Parallel-Mode)
* High stability with a trick on TestNG to retry failed/skipped testcases automatically, see [this](https://github.com/NetEase/Dagger/wiki/Retry-Failed-Or-Skipped-Testcases).
* Re-run failed test cases using [Arrow](https://github.com/NetEase/arrow), see [this](https://github.com/NetEase/Dagger/wiki/Retry-Failed-Testcases-using-Arrow).
* Use Chrome as default browser which is much quicker and more stable than all Firefox, IE and Safari.
* Firefox, IE and Safari are also supported.
* Capture screenshot automatically when testcase fails.
* Support data-driven testing.
* Contrast images and compare differences by crawling page elements and screenshots on the pixel level.
* Support Flash automation testing.


## Coming Soon

* Integration with Flex/Flash automation.

## How to Use

Dagger is quite suitable for a small group to kick off Web UI autotest. For this case, just checkout Dagger and configure maven with Eclipse and then write testcases with it.
Expand All @@ -39,11 +36,11 @@ Already have an autotest framework? Please build Dagger into a .jar file before
* Enter the root directory
* Run `mvn clean package -DskipTests` in terminal

Then fetch `dagger-1.2.jar` under `target` folder, or just [download](https://github.com/NetEase/Dagger/releases/download/v1.2/dagger-1.2.jar) the `dagger-1.2.jar`. See [this](https://github.com/NetEase/Dagger/wiki/FAQ) for more details.
Then fetch `dagger-1.3.jar` under `target` folder, or just [download](https://github.com/NetEase/Dagger/releases/download/v1.3/dagger-1.3.jar) the `dagger-1.3.jar`. See [this](https://github.com/NetEase/Dagger/wiki/FAQ) for more details.

Currently, we use `selenium-server-standalone-2.37.0.jar` and `selenium-safari-driver-2.37.0.jar` , you can change the configuration in the _pom.xml_.
Currently, we use `selenium-server-standalone-2.39.0.jar` and `selenium-safari-driver-2.39.0.jar` , you can change the configuration in the _pom.xml_.

By the way, you should download the [chromedriver_for_win_2.3.exe](http://chromedriver.storage.googleapis.com/2.3/chromedriver_win32.zip) and [iedriver_win32_2.37.0.exe](http://selenium.googlecode.com/files/IEDriverServer_Win32_2.37.0.zip) if necessary. We suggest to put the .exe files in the `res` folder.
By the way, you should download the [chromedriver_for_win_2.3.exe](http://chromedriver.storage.googleapis.com/2.3/chromedriver_win32.zip) and [iedriver_win32_2.39.0.exe](http://selenium.googlecode.com/files/IEDriverServer_Win32_2.39.0.zip) if necessary. We suggest to put the .exe files in the `res` folder.

## Contributors

Expand Down Expand Up @@ -71,7 +68,7 @@ Meanwhile you'd better follow the rules below

(The Apache License)

Copyright (c) 2012-2013 NetEase, Inc. and other contributors
Copyright (c) 2012-2014 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

Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.netease</groupId>
<artifactId>dagger</artifactId>
<version>1.2</version>
<version>1.3</version>
<packaging>jar</packaging>

<properties>
Expand Down Expand Up @@ -53,14 +53,14 @@
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<version>2.37.0</version>
<version>2.39.0</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-safari-driver</artifactId>
<version>2.37.0</version>
<version>2.39.0</version>
<scope>provided</scope>
</dependency>

Expand Down

0 comments on commit b993341

Please sign in to comment.