????????

???????????????????????????????????????????????????????????б??е????????????????????????????????????????????????????

???????????????????????pylot???·??????????Щ???????????????????pylot????Щ????????????

????????·??

???????????????????????5??????????

????1??Test.xml????????

??????????????????testcase.xml????????????????????????????????????test case???????????????????в????????б???????????????testcase.xml???????£????testcase.xml???????д???xmlд??????????QA???????淽????б?д?????Ч?????С???????

 <testcases>
 
 <project>
         <name>Test</name>
         <description>Only Test</description>
         <executor>zhangyi</executor>
         <!-- ?????????????????????????????????????? ->
         <DB
 <host></host>
 <port></port>
 <user></user>
 <pwd></pwd>
 <db></db>
 <debug>true</debug>
 </DB>
 <type>Example</type>
         </project>
 <property>
 <old_version></old_verstion>
 <old_version></old_verstion>
 <wel_url>r'http://www.baidu.cn/'</wel_url>
 </property>
 <!-- run before all testcase -->
 <beforesetup>
 </beforesetup>
 <!-- run after all testcase -->
 <afterteardown>
 </afterteardown> 
 <!-- run before each testcase. if fail?? not continue run testcase-->
 <setup>
 </setup>
 <!-- run after each testcase. ignore testcase fail.  -->
 <teardown>
 </teardown>
     <!-- SAMPLE TEST CASE -->
     <case repeat=3>
         <url>http://www.example.com</url>
     </case>
     <case repeat=3>
         <url>http://search.yahooapis.com/WebSearchService/V1/webSearch</url>
         <method>POST</method>
         <body><![CDATA[appid=YahooDemo&query=pylot]]></body>
         <add_header>Content-type: application/x-www-form-urlencoded</add_header>
     </case>
     <case repeat=2>
         <url>http://search.yahooapis.com/WebSearchService/V1/webSearch</url>
         <method>POST</method>
         <body><![CDATA[appid=YahooDemo&query=pylot]]></body>
         <add_header>Content-type: application/x-www-form-urlencoded</add_header>
     </case repeat=3>
     <case>
         <url>http://search.yahooapis.com/WebSearchService/V1/webSearch</url>
         <method>POST</method>
         <body><![CDATA[appid=YahooDemo&query=pylot]]></body>
         <add_header>Content-type: application/x-www-form-urlencoded</add_header>
     </case>
     <case>
         <url>http://www.example.com</url>
     </case>
     <case repeat=10>
         <url>http://www.example.com</url>
     </case>
     <!-- SAMPLE TEST CASE -->
     <!--
     <case>
         <url>http://search.yahooapis.com/WebSearchService/V1/webSearch</url>
         <method>POST</method>
         <body><![CDATA[appid=YahooDemo&query=pylot]]></body>
         <add_header>Content-type: application/x-www-form-urlencoded</add_header>
     </case>
     -->
 </testcases>