Skip to content

Commit a0bdf2f

Browse files
committed
Expose %|zeuz_current_step_name|% variable
1 parent 5affa90 commit a0bdf2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Framework/MainDriverApi.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ def run_all_test_steps_in_a_test_case(
525525
CommonUtil.current_step_name = current_step_name = all_step_info[StepSeq - 1]["step_name"]
526526
CommonUtil.current_step_id = current_step_id = all_step_info[StepSeq - 1]["step_id"]
527527
CommonUtil.current_step_sequence = current_step_sequence = all_step_info[StepSeq - 1]["step_sequence"]
528+
shared.Set_Shared_Variables("zeuz_current_step_name", current_step_name, print_variable=False, pretty=False)
528529
shared.Set_Shared_Variables("zeuz_current_step_sequence", current_step_sequence, print_variable=False, pretty=False)
529530
shared.Set_Shared_Variables("zeuz_total_step_count", len(all_step_info), print_variable=False, pretty=False)
530531

0 commit comments

Comments
 (0)