????λ?????????? >> ??????????
???Selenium/Ant??Web???????????????
???????????? ???????[ 2014/6/5 11:02:16 ] ????????Selenium ????????????
????????????????????Eclipse?????У?????????????????????????ant?????????client?????У????????ant????????????????????????????????棬???????????????????????report??????
????ant??Build.xml??????????£?
<?xml version="1.0"?>
<project name="portal" default="junit" basedir=".">
<property name="source.dir" value="src" />
<property name="build.dir" value="build" />
<property name="lib.dir" value="lib" />
<property name="classes.dir" value="${build.dir}/classes" />
<property name="report.dir" value="report" />
<!-- ================================================================== -->
<!-- C L E A N -->
<!-- ================================================================== -->
<target name="clean">
<delete dir="${classes.dir}" />
<mkdir dir="${classes.dir}" />
<delete dir="${report.dir}" />
<mkdir dir="${report.dir}" />
</target>
<!-- ================================================================== -->
<!-- C O M P I L E -->
<!-- ================================================================== -->
<target name="compile" depends="clean">
<!-- local project jars -->
<patternset id="lib.includes.compile">
<include name="*.jar" />
</patternset>
<fileset dir="${lib.dir}" id="lib.compile">
<patternset refid="lib.includes.compile" />
</fileset>
<pathconvert targetos="windows" property="libs.compile" refid="lib.compile" />
<!-- compile -->
<javac srcdir="${source.dir}" destdir="${classes.dir}" classpath="${libs.compile}" includes="**/*.java" debug="true">
</javac>
</target>
<!-- ================================================================== -->
<!-- J U N I T -->
<!-- ================================================================== -->
<target name="junit" depends="compile">
<junit printsummary="on" fork="true" haltonfailure="false" failureproperty="tests.failed" showoutput="true">
<classpath>
<pathelement path="${classes.dir}" />
<fileset dir="${lib.dir}">
<include name="**/*.jar" />
</fileset>
</classpath>
<formatter type="xml" />
<batchtest todir="${report.dir}">
<fileset dir="${classes.dir}">
<include name="**/*Test.*" />
</fileset>
</batchtest>
</junit>
<junitreport todir="${report.dir}">
<fileset dir="${report.dir}">
<include name="TEST-*.xml" />
</fileset>
<report format="frames" todir="${report.dir}" />
</junitreport>
<fail if="tests.failed">
</fail>
</target>
</project>
|
???????????????work?????????????? ant ?????????????????????????
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
????????????????AutoRunner??Selenium????????Selenium???????????????????????Selenium?????????????Щ?????????????????£???????Selenium???????????????ζ?Selenium???????????????????Selenium???????????????????????з?????Щ??????????????????????ATF???Selenium??????????????????д???????Selenium?????????????Selenium????????????????????Selenium???????????ATF????θ??????????????????????Selenium??????????????ATFJava?汾??Selenium??????????UI???-Python+Selenium???????Selenium????Webdriver??????????????????η???Selenium?????????Selenium FF WebDriver?????????firebug??2????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????