資源推薦:
視頻資源: 軟件測試相關係列視頻
社區資源: 自動化測試交流羣
簡介
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 |