{{
$t('stepDetail.dragTo')
diff --git a/src/components/StepUpdate.vue b/src/components/StepUpdate.vue
index 532a8727..400d1d05 100644
--- a/src/components/StepUpdate.vue
+++ b/src/components/StepUpdate.vue
@@ -594,6 +594,10 @@ const androidOptions = ref([
value: 'swipe2',
label: $t('stepDetail.label.androidOptions.element.uiEle.swipe2'),
},
+ {
+ value: 'drag2',
+ label: $t('stepDetail.label.androidOptions.element.uiEle.drag2'),
+ },
{
value: 'scrollToEle',
label: $t(
@@ -668,6 +672,12 @@ const androidOptions = ref([
'stepDetail.label.androidOptions.element.coordinate.swipe'
),
},
+ {
+ value: 'drag',
+ label: $t(
+ 'stepDetail.label.androidOptions.element.coordinate.drag'
+ ),
+ },
],
},
{
@@ -1568,6 +1578,31 @@ onMounted(() => {
+
+
+
+
+
{
style="margin-bottom: 10px"
close-text="Get!"
type="info"
- :title="`${$t('stepDetail.msgTips.variable')}{{${$t('stepDetail.variableName')}}}`"
+ :title="`${$t('stepDetail.msgTips.variable')}{{${$t(
+ 'stepDetail.variableName'
+ )}}}`"
/>
{
style="margin-bottom: 10px"
close-text="Get!"
type="info"
- :title="`${$t('stepDetail.msgTips.variable')}{{${$t('stepDetail.variableName')}}}`"
+ :title="`${$t('stepDetail.msgTips.variable')}{{${$t(
+ 'stepDetail.variableName'
+ )}}}`"
/>
{
style="margin-bottom: 10px"
close-text="Get!"
type="info"
- :title="`${$t('stepDetail.msgTips.variable')}{{${$t('stepDetail.variableName')}}}`"
+ :title="`${$t('stepDetail.msgTips.variable')}{{${$t(
+ 'stepDetail.variableName'
+ )}}}`"
/>
{
style="margin-bottom: 10px"
close-text="Get!"
type="info"
- :title="`${$t('stepDetail.msgTips.variable')}{{${$t('stepDetail.variableName')}}}`"
+ :title="`${$t('stepDetail.msgTips.variable')}{{${$t(
+ 'stepDetail.variableName'
+ )}}}`"
/>
{
{{ $t('stepDetail.msgTips.focus') }}
- {{`${$t('stepDetail.msgTips.variable')}{{${$t('stepDetail.variableName')}}}`}}
+ {{
+ `${$t('stepDetail.msgTips.variable')}{{${$t(
+ 'stepDetail.variableName'
+ )}}}`
+ }}
@@ -2350,6 +2399,29 @@ onMounted(() => {
+
+
+
+
+
{
style="margin-bottom: 10px"
close-text="Get!"
type="info"
- :title="`${$t('stepDetail.use')} {{${$t('stepDetail.variableName')}}} ${$t('stepDetail.msgTips.verify')}`"
+ :title="`${$t('stepDetail.use')} {{${$t(
+ 'stepDetail.variableName'
+ )}}} ${$t('stepDetail.msgTips.verify')}`"
/>
{
- {{
- $t('stepDetail.new')
- }}
+ {{ $t('stepDetail.new') }}
+
@@ -3509,8 +3585,8 @@ onMounted(() => {
- {{
- $t('stepDetail.submit')
- }}
+ {{ $t('stepDetail.submit') }}
+
diff --git a/src/locales/lang/en_US.js b/src/locales/lang/en_US.js
index 59ef8798..6510fcf7 100644
--- a/src/locales/lang/en_US.js
+++ b/src/locales/lang/en_US.js
@@ -1156,6 +1156,7 @@ const stepDetail = {
delete: 'Delete ',
detect: 'Detect ',
dragTo: 'Drag To ',
+ swipeTo: 'Swipe To',
display: 'Display ',
downwards: 'Downwards ',
exception: {
@@ -1263,8 +1264,9 @@ const stepDetail = {
click: 'Click the Control Element',
sendKeys: 'Enter Text',
sendKeysByActions: 'Enter Text(Actions)',
- swipe2: 'Drag Control Element',
- scrollToEle: 'Drag to Control Element',
+ swipe2: 'Swipe Control Element',
+ drag2: 'Drag Control Element',
+ scrollToEle: 'Scroll to Control Element',
longPress: 'Long Press Control Element',
clear: 'Clear InputBox',
obtainElementAttr: 'Get Element Attribute',
@@ -1279,6 +1281,7 @@ const stepDetail = {
tap: 'Tap Coordinate',
longPressPoint: 'Long Press Point',
swipe: 'Swipe',
+ drag: 'Drag And Drop',
},
webView: {
self: 'WebView Control',
diff --git a/src/locales/lang/ja_JP.js b/src/locales/lang/ja_JP.js
index 0f7fa963..ce9870fd 100644
--- a/src/locales/lang/ja_JP.js
+++ b/src/locales/lang/ja_JP.js
@@ -349,7 +349,6 @@ const common = {
copy: '复制',
inuse: '使用済み',
inidle: 'アイドル状態',
-
};
// 路由
const routes = {
@@ -467,7 +466,7 @@ const jobsTS = {
},
addCron: '添加定时任务',
whatCron: '什么是Cron表达式?',
- cronNoNext: "N/A",
+ cronNoNext: 'N/A',
cronInfo: {
one: '* 第一位,表示秒,取值 0-59',
two: '* 第二位,表示分,取值 0-59',
@@ -1064,16 +1063,19 @@ const stepDetail = {
swipeEvent: '随机两个坐标滑动',
systemEvent: 'Home、返回键等等',
navEvent: '安卓:随机开关WIFI;iOS:后台运行当前应用',
- isOpenPackageListener: '检测当前应用是否为被测应用,为否时将重新拉起被测应用',
+ isOpenPackageListener:
+ '检测当前应用是否为被测应用,为否时将重新拉起被测应用',
isOpenH5Listener: '检测是否长时间停留在H5页面 (Android Only)',
isOpenActivityListener: '检测当前Activity是否在黑名单内 (Android Only)',
- isOpenNetworkListener: '检测设备是否处于飞行模式和WIFI网络 (Android Only)',
+ isOpenNetworkListener:
+ '检测设备是否处于飞行模式和WIFI网络 (Android Only)',
},
},
detailConfigure: '详细配置',
delete: '删除',
detect: '检测',
- dragTo: '滑动拖拽至',
+ dragTo: '拖拽至',
+ swipeTo: '滑动至',
display: '显示',
downwards: '向下',
exception: {
@@ -1180,7 +1182,8 @@ const stepDetail = {
click: '点击控件元素',
sendKeys: '输入文本',
sendKeysByActions: '输入文本(Actions)',
- swipe2: '拖拽控件元素',
+ swipe2: '滑动控件元素',
+ drag2: '拖拽控件元素',
scrollToEle: '滚动到控件元素',
longPress: '长按控件元素',
clear: '清空输入框',
@@ -1195,7 +1198,8 @@ const stepDetail = {
self: '坐标控件',
tap: '点击坐标',
longPressPoint: '长按坐标',
- swipe: '滑动拖拽',
+ swipe: '直线滑动',
+ drag: '拖拽滑动',
},
webView: {
self: 'WebView控件',
@@ -1265,7 +1269,7 @@ const stepDetail = {
self: '运行设置',
stepHold: '步骤间隔设置',
switchTouchMode: '触控模式设置',
- },
+ },
},
iOSOptions: {
system: {
@@ -1436,7 +1440,7 @@ const stepDetail = {
'TIPS: 传递Android应用的App包名,该步骤可实现自动授权目标App所需要的所有权限',
focus: 'TIPS: 在文本框需要先获取焦点,才能进行输入时,使用此方式。',
sysKey:
- 'TIPS: 本功能需要先唤醒系统键盘。需要临时变量或全局变量时,可以添加',
+ 'TIPS: 本功能需要先唤醒系统键盘。需要临时变量或全局变量时,可以添加',
table: 'TIPS: 长列表的场景下,可通过该方法连续滚动,尝试让目标元素可见',
text: 'TIPS: 可以将获取的文本放入临时变量中',
controlAttribute: 'TIPS: 可以将获取的控件属性放入临时变量中',
@@ -1470,7 +1474,8 @@ const stepDetail = {
port: '端口',
randomEventsTest: '随机事件测试',
refreshPage: '刷新页面',
- reminderDisplay: '三个指令前端显示上保留,用于兼容老版本升级上来之后,依然能正常的显示和运行',
+ reminderDisplay:
+ '三个指令前端显示上保留,用于兼容老版本升级上来之后,依然能正常的显示和运行',
reminderVersion: '大于2.5.0版本,增强的文本断言能力',
retries: '重试次数',
retriesInterval: '重试间隔',
@@ -1498,7 +1503,7 @@ const stepDetail = {
textToClipboard: '设置文本至剪切板',
stepsInterval: '步骤间隔设置',
touchMode: '触控模式设置',
-},
+ },
swipe: '滑动',
switch: {
handler: '切换句柄',
diff --git a/src/locales/lang/zh_CN.js b/src/locales/lang/zh_CN.js
index 953be1a8..43d25a9f 100644
--- a/src/locales/lang/zh_CN.js
+++ b/src/locales/lang/zh_CN.js
@@ -1133,7 +1133,8 @@ const stepDetail = {
detailConfigure: '详细配置',
delete: '删除',
detect: '检测',
- dragTo: '滑动拖拽至',
+ dragTo: '拖拽至',
+ swipeTo: '滑动至',
display: '显示',
downwards: '向下',
exception: {
@@ -1240,7 +1241,8 @@ const stepDetail = {
click: '点击控件元素',
sendKeys: '输入文本',
sendKeysByActions: '输入文本(Actions)',
- swipe2: '拖拽控件元素',
+ swipe2: '滑动控件元素',
+ drag2: '拖拽控件元素',
scrollToEle: '滚动到控件元素',
longPress: '长按控件元素',
clear: '清空输入框',
@@ -1255,7 +1257,8 @@ const stepDetail = {
self: '坐标控件',
tap: '点击坐标',
longPressPoint: '长按坐标',
- swipe: '滑动拖拽',
+ swipe: '直线滑动',
+ drag: '拖拽滑动',
},
webView: {
self: 'WebView控件',
diff --git a/src/locales/lang/zh_TW.js b/src/locales/lang/zh_TW.js
index 86230a38..e0784dd4 100644
--- a/src/locales/lang/zh_TW.js
+++ b/src/locales/lang/zh_TW.js
@@ -1070,7 +1070,8 @@ const stepDetail = {
detailConfigure: '详细配置',
delete: '删除',
detect: '检测',
- dragTo: '滑动拖拽至',
+ dragTo: '拖拽至',
+ swipeTo: '滑动至',
display: '显示',
downwards: '向下',
exception: {
@@ -1177,7 +1178,8 @@ const stepDetail = {
click: '点击控件元素',
sendKeys: '输入文本',
sendKeysByActions: '输入文本(Actions)',
- swipe2: '拖拽控件元素',
+ swipe2: '滑动控件元素',
+ drag2: '拖拽控件元素',
scrollToEle: '滚动到控件元素',
longPress: '长按控件元素',
clear: '清空输入框',
@@ -1192,7 +1194,8 @@ const stepDetail = {
self: '坐标控件',
tap: '点击坐标',
longPressPoint: '长按坐标',
- swipe: '滑动拖拽',
+ swipe: '直线滑动',
+ drag: '拖拽滑动',
},
webView: {
self: 'WebView控件',