title: How to uploading test result in HP ALM
body: <p>i want to run my test script written in Java+Selenium+TestNG in HP ALM. I created Vapi-XP test and batch file which run my test. But if test failed it will report a pass. How to uploading test result?</p>
  
  <pre><code>mycommand = "C:\PSelenium\RunVapi.bat"
  TDOutput.Print "Starting " &amp; mycommand
  result=run(mycommand,0,true)
  TDOutput.Print "Test ended with " &amp; result
  </code></pre>