title: Robot Framework Marking Test as Expected Failure or XFAIL
body: <p>Is there a way to mark a test as XFAIL in robot framework? 
  I would like to execute the tests and if they have a defect tag associated with them I would like to mark them as XFAIL.</p>
  
  <p>Is it possible to implement this using ResultWriter or any other module.</p>