Thank you very much

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul King
Sent: Thursday, March 13, 2008 2:27 AM
To: [email protected]
Subject: Re: [Webtest] SQLUnit Integration


You should probably consider using a macrodef. Just see the Ant
documentation for that:

http://ant.apache.org/manual/CoreTasks/macrodef.html

Paul.


Chaohua Wang wrote:
> Paul, thank you for your help.
> 
> I have a quick question, I am using ant sql,
> 
> <sql
>             driver="net.sourceforge.jtds.jdbc.Driver"
>             url="jdbc:jtds:sqlserver://10.3.1.201/BillTest"
>             userid="settle"
>             password="settle"
>             print="yes"
>                       onerror="continue"
>                       classpathref="webtest.path.id"
>             output="${tmp.dir}/dbModification.txt"
>               >
> 
> Because I have a few of ant sql statements, could you tell me how to
put
> above part into a property file. So there is no duplicate code. 
> In this part just like
> <sql [EMAIL PROTECTED] > something like this.
> 
> Thanks,
> 
> cwang
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul King
> Sent: Wednesday, March 12, 2008 5:06 AM
> To: [email protected]
> Subject: Re: [Webtest] SQLUnit Integration
> 
> 
> Glad you sorted it out.
> 
> Cheers, Paul.
> 
> Chaohua Wang wrote:
>> Paul,
>>
>> I have fixed this issue, it is css file missing from recourses. After
> I
>> put them together, it works fine.
>> Thank you again.
>>
>> cwang
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Paul King
>> Sent: Monday, March 10, 2008 1:59 PM
>> To: [email protected]
>> Subject: Re: [Webtest] SQLUnit Integration
>>
>>
>> I am flat out for the rest of the week. If you are still
>> having problems on the weekend I might be able to have
>> a quick look then.
>>
>> Cheers, Paul.
>>
>> Chaohua Wang wrote:
>>> Paul,
>>>
>>> Thank you very much for your help. Could you help me fix this issue?

>>> I guess it is related to WebTestReport.xsl file, which is created by
>>> SQLunit team. 
>>> But this is  a major issue for us. 
>>> Thanks again,
>>>
>>> cwang
>>>
>>> -----Original Message-----
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] On Behalf Of Paul King
>>> Sent: Friday, March 07, 2008 6:08 PM
>>> To: [email protected]
>>> Subject: Re: [Webtest] SQLUnit Integration
>>>
>>>
>>> The SQLUnit integration was done some time ago. I suspect that
>>> the reports it generates don't know much about CSS.  I guess if
>>> it is a mjaor issue for you we could try to patch that. It would
>>> be an issue raised in the SQLUnit project. Though there hasn't
>>> been a lot of activity in that project lately.
>>>
>>> Paul.
>>>
>>> Chaohua Wang wrote:
>>>> Hi folks,
>>>>
>>>>  
>>>>
>>>> I am a newer to webtest.
>>>>
>>>> I read http://webtest.canoo.com/webtest/manual/sqlunit.html  about 
>>>> SQLUnit Integration. And run the test case:
>>>>
>>>>   ant sqlunit-nested canoo2html -Dtestdir=test  -Dlog.format=canoo 
>>>> -Doutput.file=results.xml -Dwebtest.style=WebTestReport
>>>>
>>>> after generating webpage results.html file. Its layout is all
right,
>>> but 
>>>> no color and picture in the page, it is all white background. I
> don't
>>>> know the reason why, it should have some color.
>>>>
>>>> I attached this generated page for your review, Please help, this
is
>>> my 
>>>> first assignment in a new job.
>>>>
>>>>  
>>>>
>>>>  
>>>>
>>>> Thank you!
>>>>
>>>>  
>>>>
>>>> Cwang
>>>>
>>>>
>>>>
>
------------------------------------------------------------------------
>>>> Canoo
>>>>     Tests started at Fri Mar 07 15:19:48 MST 2008
>>>>
>>>>
>>>>         Result Summary
>>>>
>>>> Result     #       %       Graph
>>>> *Sum*      * 1*    * 100*   
>>>>    1       100     
>>>> x  0       0       
>>>> o  0       0       
>>>>
>>>>    
>>>>
>>>>
>>>>         Server Roundtrip Timing Profile
>>>>
>>>> Secs       #       %       Histogram
>>>> *Sum*      * 1*    * 100*   
>>>> *Avg*                      *0*
>>>>  0 -  1    1       100     
>>>>  1 -  5    0       0       
>>>>  5 - 10    0       0       
>>>> 10 - 30    0       0       
>>>>    > 30    0       0       
>>>>
>>>>
>>>>         Test Scenario Overview (94)
>>>>
>>>> No Result  Name    Duration        %       Graph
>>>> 1          sqlunittest <#testspec1>        94      100     
>>>>
>>>>
>
------------------------------------------------------------------------
>>>>              sqlunittest
>>>>
>>>>     Test started at Fri Mar 07 15:19:48 MST 2008
>>>>     Source: C:\workspace\Canoo\billPay\tests\sqlunittest.xml
>>>>     Base URL (used by *invoke* steps with a relative URL): :/// 
>>>>
>>>> No Result  Name    Parameter       Duration
>>>> *  1*              *sqlunit:test*
>>>> Testing rowcount functionality             94
>>>>
>>>> Back to Test Report Overview <#overview>
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to