Selenese 命令清单 - wait相关命令
发表于:2024-11-24 作者:热门IT资讯网编辑
编辑最后更新 2024年11月24日,资源推荐:视频资源: 软件测试相关系列视频社区资源: 自动化测试交流群简介Selenium为用户提供了大量的Selenese命令,可以非常方便的为用户编写脚本实用,其中实际场景运用需要的并不多,为了能
资源推荐:
视频资源: 软件测试相关系列视频
社区资源: 自动化测试交流群
简介
Selenium为用户提供了大量的Selenese命令,可以非常方便的为用户编写脚本实用,其中实际场景运用需要的并不多,为了能更好的利用这些命令,我对几乎所有Selenese命令做了分类,分类内容如下:
包含操作页面元素常用命令,以及一些不常用到的高级使用命令
对鼠标键盘事件控制命令
wait相关命令
veriy相关命令
assert相关命令
store存储器相关命令
Part III wait相关命令汇总:
waitForAlert | waitForNotEval |
waitForAlertNotPresent | waitForNotExpression |
waitForAlertPresent | waitForNotHtmlSource |
waitForAllButtons | waitForNotLocation |
waitForAllFields | waitForNotMouseSpeed |
waitForAllLinks | waitForNotOrdered |
waitForAllWindowIds | waitForNotPrompt |
waitForAllWindowNames | waitForNotSelectOptions |
waitForAllWindowTitles | waitForNotSelectedId |
waitForAttribute | waitForNotSelectedIds |
waitForAttributeFromAllWindows | waitForNotSelectedIndex |
waitForBodyText | waitForNotSelectedIndexes |
waitForChecked | waitForNotSelectedLabel |
waitForCondition | waitForNotSelectedLabels |
waitForConfirmation | waitForNotSelectedValue |
waitForConfirmationNotPresent | waitForNotSelectedValues |
waitForConfirmationPresent | waitForNotSomethingSelected |
waitForCookie | waitForNotSpeed |
waitForCookieByName | waitForNotTable |
waitForCookieNotPresent | waitForNotText |
waitForCookiePresent | waitForNotTitle |
waitForCursorPosition | waitForNotValue |
waitForEditable | waitForNotVisible |
waitForElementHeight | waitForNotWhetherThisFrameMatchFrameExpression |
waitForElementIndex | waitForNotWhetherThisWindowMatchWindowExpression |
waitForElementNotPresent | waitForNotXpathCount |
waitForElementPositionLeft | waitForOrdered |
waitForElementPositionTop | waitForPageToLoad |
waitForElementPresent | waitForPopUp |
waitForElementWidth | waitForPrompt |
waitForEval | waitForPromptNotPresent |
waitForExpression | waitForPromptPresent |
waitForFrameToLoad | waitForSelectOptions |
waitForHtmlSource | waitForSelectedId |
waitForLocation | waitForSelectedIds |
waitForMouseSpeed | waitForSelectedIndex |
waitForNotAlert | waitForSelectedIndexes |
waitForNotAllButtons | waitForSelectedLabel |
waitForNotAllFields | waitForSelectedLabels |
waitForNotAllLinks | waitForSelectedValue |
waitForNotAllWindowIds | waitForSelectedValues |
waitForNotAllWindowNames | waitForSomethingSelected |
waitForNotAllWindowTitles | waitForSpeed |
waitForNotAttribute | waitForTable |
waitForNotAttributeFromAllWindows | waitForText |
waitForNotBodyText | waitForTextNotPresent |
waitForNotChecked | waitForTextPresent |
waitForNotConfirmation | waitForTitle |
waitForNotCookie | waitForValue |
waitForNotCookieByName | waitForVisible |
waitForNotCursorPosition | waitForWhetherThisFrameMatchFrameExpression |
waitForNotEditable | waitForWhetherThisWindowMatchWindowExpression |
waitForNotElementHeight | waitForXpathCount |
waitForNotElementIndex | windowFocus |
waitForNotElementPositionLeft | windowFocusAndWait |
waitForNotElementPositionTop | windowMaximize |
waitForNotElementWidth | windowMaximizeAndWait |