def stdoutRedirect(self): """ Description For Robot Framework. Robot captures the stdout. This stdoutRedirect will redirect the output back to stdout so you could see the test progress and to troubleshoot. """ for attr in ('stdin', 'stdout', 'stderr'): setattr(sys, attr, getattr(sys, '__%s__' %attr)) @staticmethod