This shows you the differences between two versions of the page.

Link to this comparison view

program_structure_diagram [2016/09/22 02:36] (current)
Line 1: Line 1:
 +===== MScript Program Structure Diagram =====
 +[[http://​en.wikipedia.org/​wiki/​Structure_chart|Program Structure Diagram]] is a good way to visualize mScript to assess the program flow and the complexity.
 +==== Labeling MScript Block=====
 +Each mScript tag is described in the diagram. The label is generated automatically. However you can specify the label for each mscript tag by supplying the "​comments"​ attribute, e.g.
 +    <action code="​$click('​id=loginBtn'​)"​ comment="​click on login button"/>​
 +The above mscript will be displayed with "click on login button"​ as the label.
 +[[commentsTag|MScript comments]] "<​!-- my notes -->"​ will be displayed as a yellow sticky note attached to the mscript tag that follows it.
QR Code
QR Code program_structure_diagram (generated for current page)