title: Fill html form by value with C# selenium
body: <p>I try catching the html form to fill it out.</p>
  
  <p>Here is the target html source.</p>
  
  <pre><code>&lt;span class="login-id"&gt;
    &lt;div id="LoginId"&gt;
       &lt;input maxlength="100" name="uji.model.635939.value"&gt;
       &lt;input type="hidden" name="uji.model" value="uji.model.635939"&gt;
       &lt;input type="hidden" name="uji.model.635939"    value="com.fujitsu.uji.compo.taglib.FieldStringUpdater;vkaiinNinshoID"&gt;
    &lt;/div&gt;
    &lt;span class="example"&gt;（半角英数字）&lt;/span&gt;
  &lt;/span&gt;
  </code></pre>
  
  <p>I focus on   <code>&lt;input maxlength="100" name="uji.model.635939.value"&gt;</code> .
  And the number <code>635949</code> is changed when I connect every time.</p>
  
  <p>And here is my code. I used <code>for</code> to handle multiple cases.</p>
  
  <pre><code>for (int i = 600000; i &lt; 699999; i++)
  {
      string s = i.ToString();
      try
      {
          IWebElement id = driver.FindElement(By.Name(String.Format("uji.model.{0}.value", s)));
          id.SendKeys("******@gmail.com");
      }
      catch(OpenQA.Selenium.NoSuchElementException e)
      {
          Console.WriteLine("exception {0}", s);
      }
  }
  </code></pre>
  
  <p>I wonder my code is correct. I'm not sure<code>(By.Name(String.Format("uji.model.{0}.value", s)</code> is correct.</p>
  
  <p>BTW, <code>maxlength="100"</code> is the unique expression in the html source. 
  Is there any way to fill out the form using this? Thank you for reading.</p>