【发布时间】:2020-10-21 05:15:49
【问题描述】:
元素的HTML代码为-
<input cascadechildren="" class="form-control yearMonthDayFocus cascadeParent hasDatepicker" id="StartDate_10" name="StartDate_10" placeholder="DD-MM-YYYY" type="text" value="20-10-2020">
我使用了以下语句。
Input Text [LOC] ${EMPTY}
Press Keys [LOC] CTRL+a+BACKSPACE
Clear Element Text
Press Keys [LOC] /BACKSPACE
如果您有不同的答案,请告诉我
【问题讨论】:
-
请阅读minimal reproducible example并相应地编辑您的帖子。
-
以下代码运行良好,
Clear Element Text StartDate_10
标签: python robotframework