xframium / xframium-java

xFramium - Rapid unified test case development
http://www.xframium.org
GNU General Public License v3.0
12 stars 18 forks source link

Report format error #40

Closed xframiumAS closed 7 years ago

xframiumAS commented 8 years ago

for some of the report properties, the values are not substituted properly as shown below

Verification that the %s element is present on the page %s failed. %s

corresponding message in outputFormatter.properties is _KWSExists=Verification that the %1%s element is present on the page %2%s failed.
%3%s

instead it should have been _KWSExists=Verification that the %1$s element is present on the page %2$s failed.
%3$s

This is the case in most of the properties. should we change for all of them?

xframiumAS commented 8 years ago

attribute=Retrieved the value of the attribute %3$s on the element %2$s on the page %1$s as %4$s

The attribute property in outputFormatter.properties is showing incorrect format

"Retrieved the value of the attribute NAME on the element googleindia on the page name as Email" the message should have been Retrieved the value of the attribute NAME on the element name on the page googleindia as Email"

the property is now corrected to attribute=Retrieved the value of the attribute %3$s on the element %1$s on the page %2$s as %4$s

Also, _KWSExists property is changed

xframium commented 7 years ago

Resolved in 1.0.6