I have a listbox and I want to set the DataSource property to a specific
location of an XML file. Can someone tell me how? I want the DataMember
property to refer to the <ChildTestsection to list all the tests under that
section.
I want to refer either to the <ChildTestunder <TestDefinitionsor the
<ChildTestunder <TestRuns>.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<CITests>
<TestDefinitions>
<TestGroupName TestName="Application">
<ChildTest>Run Registry Entry</ChildTest>
<ChildTest>Spawn Process</ChildTest>
</TestGroupName>
<TestRuns>
<TestGroupName TestName="Run1.tr">
<ChildTest>Suite1.ts</ChildTest>
<ChildTest>Suite2.ts</ChildTest>
</TestGroupName>
<TestGroupName TestName="Run2.tr">
<ChildTest>Suite2.ts</ChildTest>
</TestGroupName>
</TestRuns>
<TestGroupName TestName="BIOS">
<ChildTest>System Power</ChildTest>
</TestGroupName>
<TestGroupName TestName="Operating System">
<ChildTest>Registry</ChildTest>
</TestGroupName>
<TestGroupName TestName="Storage">
<ChildTest>File Operations</ChildTest>
<ChildTest>File Properties</ChildTest>
</TestGroupName>
<TestGroupName TestName="System">
<ChildTest>Event Logs</ChildTest>
<ChildTest>OCA MRK Files</ChildTest>
<ChildTest>PnP Driver Version Check</ChildTest>
<ChildTest>System Properties Panel</ChildTest>
<ChildTest>WMI</ChildTest>
</TestGroupName>
</TestDefinitions>
</CITests>
--
-----------
Thanks,
Steve