摘要: Tag names:当仅使用1个tag的时候,xpath匹配具有该标签名称的所有直接子元素。 Paths:通过/符号连接tag名称,例如second/child将匹配父元素second下所有的child子元素。 请注意,如果有多个父元素都有子元素,则xpath将匹配所有这些子元素。 Wildcard 阅读全文
posted @ 2017-06-20 23:41 垄上行 阅读(1185) 评论(0) 推荐(0) 编辑
摘要: Name:Get ElementsSource:XML <test library>Arguments:[ source | xpath ]Returns a list of elements in the `source` matching the `xpath`. The `source` ca 阅读全文
posted @ 2017-06-20 23:40 垄上行 阅读(744) 评论(0) 推荐(0) 编辑
摘要: Name:Get ElementSource:XML <test library>Arguments:[ source | xpath=. ]Returns an element in the `source` matching the `xpath`. The `source` can be a 阅读全文
posted @ 2017-06-20 22:53 垄上行 阅读(590) 评论(0) 推荐(0) 编辑
摘要: Name:Element Attribute Should BeSource:XML <test library>Arguments:[ source | name | expected | xpath=. | message=None ]Verifies that the specified at 阅读全文
posted @ 2017-06-20 22:22 垄上行 阅读(704) 评论(0) 推荐(0) 编辑
摘要: Name:Parse XmlSource:XML <test library>Arguments:[ source | keep_clark_notation=False ]Parses the given XML file or string into an element structure. 阅读全文
posted @ 2017-06-20 22:14 垄上行 阅读(594) 评论(0) 推荐(0) 编辑
摘要: 文件存放路径:C:\workspace\robotframework\test_rf_api\testdata\XML.xml 文件内容: 阅读全文
posted @ 2017-06-20 22:13 垄上行 阅读(752) 评论(0) 推荐(0) 编辑