Forum Discussion

jaibabu's avatar
jaibabu
New Contributor
9 years ago

How to retrieve the current test run status (Pass / Fail) from Keyword test

Hi,       Currently i am trying to get the status of the keyword test result and its failed reason. But i don't find any way to achieve this. I had recorded a keyword test. when i run this test by...
  • tristaanogre's avatar
    9 years ago

    Have you tried using the OnLogError event handler?  Basically, whenever anything is written to the TC log of a type "Error", that event handler will get triggered and you'll be able to call code there to post to TFS.