A chart for a test scope ("/ITTX/ITEC") to see the number of test cases by "ABCD" attribute value ('Not automated', 'Automated', and null). To find out more about configuring charts, see Generating Charts - Introductory Training.


XML Definition: 


<Charts>
  <PieChart>
    <Slices>
      <Slice name="first" caption="To Be Decided" color="blue"/>
      <Slice name="second" caption="Not Automated" color="red"/>
      <Slice name="third" caption="Automated" color="green"/>
    </Slices>
    <Counter name="My Pie">
      <ForEach select="/ISSP/ITEC">
        <Choose>
          <When test="@ABCD=''">
            <AddToSlice name="first"/>
          </When>
          <When test="@ABCD='Not automated'">
            <AddToSlice name="second"/>
          </When>
          <When test="@ABCD='Automated'">
            <AddToSlice name="third"/>
          </When>
        </Choose>
      </ForEach>
    </Counter>
  </PieChart>
</Charts>


Result: