<?xml version="1.0" encoding="UTF-8"?>
-<TestItem>
<Name>Capacitor polarity test</Name>
-<Operation>
-<OperationList>
<Description>Switch Bat On</Description>
<TestCommand>$Switch_Bat-H</TestCommand>
<ShowMessage>#Switch_Bat-H,ok</ShowMessage>
</OperationList>
</Operation>
</TestItem>
要读取<Name>和<OperationList>的值,怎么读取?
反序列化.或者用xml路径查询.
总的来说百度吧.