web ui测试增加关键字getValue

This commit is contained in:
seagull 2021-06-30 14:23:42 +08:00
parent 9614164e92
commit 45a761fa94
1 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,10 @@ public class EncapsulateOperation {
result = "获取到的值是【" + we.getTagName() + "";
LogUtil.APP.info("getTagName获取对象tagname属性...【tagname属性值:{}】",result);
break;
case "getvalue":
result = "获取到的值是【" + we.getAttribute("value") + "";
LogUtil.APP.info("getAttribute获取对象【value】属性...【value属性值:{}】",result);
break;
case "getattribute":
result = "获取到的值是【" + we.getAttribute(value) + "";
LogUtil.APP.info("getAttribute获取对象【{}】属性...【{}属性值:{}】",value,value,result);