Dagger is a light, robust Web UI autotest framework based on Selenium and TestNG.(中文介绍参见这里)
Dagger is an automation framework first, it provides APIs to control browsers;
Dagger is a test framework then, it uses TestNG to organize testcases and TestNG's assertions are embedded in APIs above;
Dagger is a design style at last: the framework and the testcases based on it both should be light and straightforward.
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.
Already have an autotest framework? Please build Dagger into a .jar file before use, the steps are as follows:
mvn clean package -DskipTests
in terminalThen fetch dagger-1.3.jar
under target
folder, or just download the dagger-1.3.jar
. See this for more details.
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 and iedriver_win32_2.39.0.exe if necessary. We suggest to put the .exe files in the res
folder.
You are welcome to contribute to Dagger as follow
Meanwhile you'd better follow the rules below
master
branch. develop
branch is more appropriate(The Apache License)
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
http://www.apache.org/licenses/LICENSE-2.0
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。