Forum Discussion

678's avatar
678
Regular Contributor
6 years ago

script log giving error message even though step passed

I see ERROR message on Script log even though test step passed 

something like this on script logs 

 

 

2019-03-05 07:20:06,200 ERROR [log] accountreqtest:request_accounttest: TestStep "request_accounttest" finished with the status PASS

  • Please show the respective script code snippet.

    Does it contains a statement like below?

    log.error

    Then check why it is coded like that. If it is ok to change then use it as

    log.info

    or

    log.debug
  • nmrao's avatar
    nmrao
    Champion Level 3
    Please show the respective script code snippet.

    Does it contains a statement like below?

    log.error

    Then check why it is coded like that. If it is ok to change then use it as

    log.info

    or

    log.debug