Hi,
 
I am following SQLUnit example from 
http://webtest.canoo.com/webtest/manual/sqlunit.html
I am getting error when trying to nest <connection> inside <sqlUnit> as 
E:\test.xml:63: The <sqlunit> type doesn't support the nested "connection" 
element. 
 
I can connect to the database using ant SQL but not using sqlUnit.
 
<target name="sqlconnect" depends="def"> <echo message="Trying to connect"/> 
<sqlunit>
  <connection connection-id="1">    
<driver>oracle.jdbc.driver.OracleDriver</driver>    <url>url</url>    
<user>my</user>    <password>password</password>  </connection> 
</sqlunit></target>
 
_________________________________________________________________
Back to work after baby–how do you know when you’re ready?
http://lifestyle.msn.com/familyandparenting/articleNW.aspx?cp-documentid=5797498&ocid=T067MSN40A0701A

Reply via email to