首页 手机游戏 手机软件 新闻 攻略 手游礼包 手游开测 手游合集 手游专区 排行榜
当前位置:首页 → 手游攻略 → 游戏攻略elementtd(Element TD 2)

elementtd(Element TD 2)

时间:2022-03-31 00:35:02

小编:测试开发robonxun

阅读:

在手机上看
手机扫描阅读

1

三层架构: project directoy resource

文件类型 robot txt

txt文件下创建关键字,参数文件new scalar

elementtd(Element TD 2)

elementtd(Element TD 2)

2

引用python自定义关键字 library: 函数名和文件名一致

如输入关键字:date.date(文件名.函数)

引用关键字文件: resource

elementtd(Element TD 2)

3

(1)

select frame

unselect frame

(2)

set global variable ${} 定义全局变量

(3)

关于多元素的 定位:

${x} get gebelements xpath

click element ${x}[2]

(4)

关于变量的数值运算用 evaluate

可以直接赋值 ${} 变量值

列表的两种形式 ${} @{}

(5)

get length 数组长度

get element attribute xpath value

get text 无法获取值 用 get element attribute

(6)

多class属性定位 td[contain(@class,")]

should be equal ${} ${}

(7)

FOR ${i} in range 1 100

run keyword if "${}"==!"" 可以自定义关键字(多操作)ELSE

END

多操作 run keyword if run keywords AND

elementtd(Element TD 2)

本文标签:

相关阅读 更多