[TestOptimal] comments Tag

TestOptimal   Wiki Home   Support  

"comments" tag is used to enter a long or multiple line comments for the mScript. It can be added to any mScript tags but there should be no more than one "comments" tag for each tag. (rel 3.0.10)

Examples:

  <if value1="$rand()" op="le" value2="0.5">
     <comments>
        only execute this block 50% of the time.
     </comments>
     <action code="$click('abc')"/>
  </if>

Optionally you may add comments as an attribute to each tag as follows:

  <if value1="$rand()" op="le" value2="0.5" comment="only execute this block 50% of the time.">
     <action code="$click('abc')"/>
  </if>

Page locked (last edited May 3, 2010) [info] [diff])
FindPage by browsing or searching
5 best incoming links: mScriptTags (11), RecentChanges (1)
5 best outgoing links:
5 most popular nearby: RecentChanges (860), mScriptTags (525)