title: Taking screenshots on failure using Robot framework
body: <p>I am new to robot framework. I want to know how to capture screenshots on failure.
  Doesnt robot framework automatically take screenshots if script fails?
  An example will be of great help!</p>