From 53e656200368a983e563550e2cc1acbc6d86b729 Mon Sep 17 00:00:00 2001
From: chr <chrry550@outlook.com>
Date: 星期三, 08 四月 2026 19:57:14 +0800
Subject: [PATCH] 完善代码

---
 Plugin/AddInPlugin/Util/TestPlanRunAddIn.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Plugin/AddInPlugin/Util/TestPlanRunAddIn.cs b/Plugin/AddInPlugin/Util/TestPlanRunAddIn.cs
index 87fb8ec..5d8d951 100644
--- a/Plugin/AddInPlugin/Util/TestPlanRunAddIn.cs
+++ b/Plugin/AddInPlugin/Util/TestPlanRunAddIn.cs
@@ -1,5 +1,6 @@
 锘縰sing DynamicExpresso;
 using OpenTap;
+using OpenTap.Addin;
 using System;
 
 namespace AddInPlugin.Util
@@ -15,6 +16,8 @@
             target.SetVariable("Parameters", run.ParametersRuntime);
             target.SetVariable("Step", step);
 
+            target.SetVariable("Locals", run.LocalsRuntime);
+
             var context = step?.GetParent<ContextStep>();
             if (context != null)
             {

--
Gitblit v1.9.1