title: How can I trigger a JavaScript event click
body: <p>I have a hyperlink in my page. I am trying to automate a number of clicks on the hyperlink for testing purposes. Is there any way you can simulate 50 clicks on the hyperlink using JavaScript?</p>
  
  <pre><code>&lt;a href="#" target="_blank" onclick="javascript:Test("Test");"&gt;MSDN&lt;/a&gt;
  </code></pre>
  
  <p>I'm looking for onClick event trigger from the JavaScript.</p>