资源推荐:
视频资源: 软件测试相关系列视频
社区资源: 自动化测试交流群
简介
Selenium为用户提供了大量的Selenese命令,可以非常方便的为用户编写脚本实用,其中实际场景运用需要的并不多,为了能更好的利用这些命令,我对几乎所有Selenese命令做了分类,分类内容如下:
-
包含操作页面元素常用命令,以及一些不常用到的高级使用命令
-
对鼠标键盘事件控制命令
-
wait相关命令
-
veriy相关命令
-
assert相关命令
-
store存储器相关命令
Part V store存储器相关命令汇总:
store |
storeAlert |
storeAlertPresent |
storeAllButtons |
storeAllFields |
storeAllLinks |
storeAllWindowIds |
storeAllWindowNames |
storeAllWindowTitles |
storeAttribute |
storeAttributeFromAllWindows |
storeBodyText |
storeChecked |
storeConfirmation |
storeConfirmationPresent |
storeCookie |
storeCookieByName |
storeCookiePresent |
storeCursorPosition |
storeEditable |
storeElementHeight |
storeElementIndex |
storeElementPositionLeft |
storeElementPositionTop |
storeElementPresent |
storeElementWidth |
storeEval |
storeExpression |
storeHtmlSource |
storeLocation |
storeMouseSpeed |
storeOrdered |
storePrompt |
storePromptPresent |
storeSelectOptions |
storeSelectedId |
storeSelectedIds |
storeSelectedIndex |
storeSelectedIndexes |
storeSelectedLabel |
storeSelectedLabels |
storeSelectedValue |
storeSelectedValues |
storeSomethingSelected |
storeSpeed |
storeTable |
storeText |
storeTextPresent |
storeTitle |
storeValue |
storeVisible |
storeWhetherThisFrameMatchFrameExpression |
storeWhetherThisWindowMatchWindowExpression |
storeXpathCount |
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/186917.html