Hi folks,

an email from Marc pointed me to the concept of <macrodef> and I gave it a try. It works nicely but there is little information regarding the executed steps in the XML report (see below) - I only get the name of the executed macro but nothing else.

What I miss is

+) execution time
+) the list of passed parameters
+) maybe the exploded steps but this is probably a lot of fluff anyway

Is there another to use <macrodef> to get this information into the report or is this completely missing?

Thanks in advance

Siegfried Goeschl



>>> CODE >>>

  <macrodef name="searchArtistMacro">
    <attribute name="artistName"/>
    <sequential>
      <clickLink ..." />
    </sequential>
  </macrodef>

  <target name="WebArtistNameSearch">
    <webtest name="WebArtistNameSearch">
      &config;
      <steps>
        <....>
        <searchArtistMacro artistName="${ARTIST_SEARCH_NAME}" />
        <....>
      </steps>
    </webtest>
  </target>

<<<<<<

>>> XML REPORT >>>
<step>
  <parameter name="stepType" value="ant:searchArtistMacro"/>
    <result>
      <completed duration="0"/>
    </result>
</step>
<<<<<<
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to