automation help for C# and xml

Aug 1 2010 7:18 AM
Hi there,

              I've been stuck up with a problem..it may be an tiny issue. I've done a automation project in c# which fills the html form automatically from default forms in my application. The text and the combobox stuff is working perfectly.. the issue is with checkbox and radiobutton. i'm using xml for storing and getting the data..

for text i'm using this xml attributes

<control type="input" subtype="text" disptext="" check="True" source="DEFAULT">
        <id type="id">IDofthe field</id>
        <values>
          <value type="value"></value>
        </values>
        <events>
        </events>
      </control>

its saving and filling the data perfectly to an html page.

for checkboxes i tried with this

<control type="input" subtype="checkbox" disptext="test" check="True" source="DEFAULT">
        <id type="name">id</id>
        <values>
          <value selected="false"></value>
        </values>
      </control>

its always checked to html ... even if i uncheck it in my default form in my app.. it remains checked..
can anyone please help me with this checkbox n radio button issue..??



Answers (2)