Good point. I'm not sure how to get this to work either.
It seems that "enabled" should be a separate element, something like:
<runtimeStats>
<enabled>true</enabled>
<interval>10</interval>
</runtimeStats>
Not sure why it was made an attribute.
It appears that you can specify attributes in the xhtml (see driverConfig), but whether you can create an input element for it is the question.
Akara - any thoughts on this?
If you want to change to the above syntax and fix this yourself, it's a single line change in com.sun.faban.driver.engine.RunInfo.java where it checks and sets runtimeStatsEnabled.
Shanti
On Wed, Feb 15, 2012 at 6:03 AM, 周竑翊
<czarst...@gmail.com> wrote:
hello
I am trying to edit the config.xhtml to make the website generate run.xml with run-time report
But unfortunately, I couldn't find where to change to make the config.xhtml generate right run.xml
The problem was I could make the xhtml to put <runtimeStats enabled="true">
It always be <runtimeStats>true</runtimeStats>
Can anyone help me to make it wright???
thanks