File tree Expand file tree Collapse file tree
Framework/Built_In_Automation/Sequential_Actions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -545,19 +545,26 @@ def step_exit(data_set):
545545
546546 try :
547547 action_value = ""
548+ msg = ""
548549 for row in data_set :
549550 if row [0 ] == "step exit" and row [1 ] == "action" :
550551 action_value = row [2 ]
552+ elif row [0 ].strip ().lower () == "message" :
553+ msg = row [2 ]
551554 except :
552555 return CommonUtil .Exception_Handler (sys .exc_info ())
553556
554557 if (
555558 action_value in failed_tag_list
556559 ): # Convert user specified pass/fail into standard result
560+ if msg :
561+ CommonUtil .ExecLog (sModuleInfo , f'{ msg } ' , 3 )
557562 return "zeuz_failed"
558563 elif action_value in skipped_tag_list :
559564 return "skipped"
560565 elif action_value in passed_tag_list :
566+ if msg :
567+ CommonUtil .ExecLog (sModuleInfo , f'{ msg } ' , 1 )
561568 return "passed"
562569 else :
563570 CommonUtil .ExecLog (sModuleInfo , "Step Result action has invalid VALUE" , 3 )
You can’t perform that action at this time.
0 commit comments