title: Selenium adding weird characters to the end of javascript in a form field
body: <p>I'm trying to set up a field to prepopulate with a unique set of characters, so that i can automatically generate test accounts.  Because of the way the system is set up, the name field must be unique, and must not include numerical characters.  </p>
  
  <p>I put together this selenium code, and it works 99% of the way, but leaves extra garbage characters at the end of the good code.</p>
  
  <pre><code>javascript{stringtime=''; 
  nowtime=new Date().getTime().toString(); 
  for ( var i in nowtime ) 
    { stringtime+=String.fromCharCode(parseInt(nowtime[i])+65 ); }; 
  'test' + stringtime + '\0'}
  </code></pre>
  
  <p>Result:
  testBCEBBJCBFBBAI + a bunch of characters that won't copy into here.  They look like 4 zeros in a box.</p>
  
  <p>Thanks in advance for the help.</p>