How to access the property tag of TEST-result.xml from junit-frames.xsl?

rcassy

New Member
\[code\]<?xml version="1.0" encoding="UTF-8" ?><testsuite errors="0" failures="0" hostname="xxx19" name="MyProject.TestSuite" tests="2" time="105.112" timestamp="2012-04-30T11:32:18"> <properties> <property name="java.vendor" value="http://stackoverflow.com/questions/10383477/Oracle Corporation" /> <property name="reportstyle" value="http://stackoverflow.com/questions/10383477/." /> <property name="sun.java.launcher" value="http://stackoverflow.com/questions/10383477/SUN_STANDARD" /> <property name="sun.management.compiler" value="http://stackoverflow.com/questions/10383477/HotSpot Client Compiler" /> <property name="lib" value="http://stackoverflow.com/questions/10383477/file://localhost/C:/Selenium/Selenium JARs" /> <property name="os.name" value="http://stackoverflow.com/questions/10383477/Windows 7" /> <property name="TODAY" value="http://stackoverflow.com/questions/10383477/April 30 2012" /> <property name="report" value="http://stackoverflow.com/questions/10383477/file://localhost/C:/Selenium-Reports/MyProject-April 30 2012 (17_02_15)" /> <property name="sun.desktop" value="http://stackoverflow.com/questions/10383477/windows" /> <property name="java.vm.specification.vendor" value="http://stackoverflow.com/questions/10383477/Oracle Corporation" /> <property name="ant.home" value="http://stackoverflow.com/questions/10383477/file://localhost/C:/apache-ant-1.8.3" /> <property name="java.runtime.version" value="http://stackoverflow.com/questions/10383477/1.7.0-ea-b119" /> <property name="user.name" value="http://stackoverflow.com/questions/10383477/hpadmin" /> <property name="START_TIME" value="http://stackoverflow.com/questions/10383477/17_02_15" /></properties>\[/code\]This is the snippet from my TEST-results.xmlHow can I read the following property from the junit-frames.xsl file property name="report" value="http://stackoverflow.com/questions/10383477/file://localhost/C:/Selenium-Reports/MyProject-April 30 2012 (17_02_15)" Please do the needful.Thanks in Advance,-Hanuman
 
Back
Top