diff --git a/src/components/StepShow.vue b/src/components/StepShow.vue
index 9aaecc90..dfb4cd56 100644
--- a/src/components/StepShow.vue
+++ b/src/components/StepShow.vue
@@ -468,6 +468,21 @@ const getNotes = (text, type) => {
>
获取到变量:{{ step.content }}
+
+ 获取{{ getEleResult(step.stepType) }}控件属性
+ {{ step.elements[0]['eleName'] }}
+ 的 {{ step.text }} 属性到变量:{{ step.content }}
+
获取剪切板文本
获取到变量:{{ step.content }}
diff --git a/src/components/StepUpdate.vue b/src/components/StepUpdate.vue
index 626dcb32..dec7b4b7 100644
--- a/src/components/StepUpdate.vue
+++ b/src/components/StepUpdate.vue
@@ -553,6 +553,10 @@ const androidOptions = ref([
value: 'clear',
label: '清空输入框',
},
+ {
+ value: 'obtainElementAttr',
+ label: '获取控件属性',
+ },
{
value: 'getElementAttr',
label: '验证控件属性',
@@ -711,6 +715,10 @@ const androidOptions = ref([
value: 'closePocoDriver',
label: '关闭PocoDriver',
},
+ {
+ value: 'obtainPocoElementAttr',
+ label: '获取控件属性',
+ },
{
value: 'getPocoElementAttr',
label: '验证控件属性',
@@ -959,6 +967,10 @@ const iOSOptions = ref([
value: 'clear',
label: '清空输入框',
},
+ {
+ value: 'obtainElementAttr',
+ label: '获取控件属性',
+ },
{
value: 'getElementAttr',
label: '验证控件属性',
@@ -1051,6 +1063,10 @@ const iOSOptions = ref([
value: 'closePocoDriver',
label: '关闭PocoDriver',
},
+ {
+ value: 'obtainPocoElementAttr',
+ label: '获取控件属性',
+ },
{
value: 'getPocoElementAttr',
label: '验证控件属性',
@@ -2367,7 +2383,15 @@ onMounted(() => {
-