Selenese命令清单-verify及assert命令-创新互联
资源推荐:
创新互联于2013年开始,是专业互联网技术服务公司,拥有项目成都网站制作、成都网站设计网站策划,项目实施与项目整合能力。我们以让每一个梦想脱颖而出为使命,1280元桦川做网站,已为上家服务,为桦川各地企业和个人服务,联系电话:028-86922220视频资源:软件测试相关系列视频
社区资源:自动化测试交流群
简介
Selenium为用户提供了大量的Selenese命令,可以非常方便的为用户编写脚本实用,其中实际场景运用需要的并不多,为了能更好的利用这些命令,我对几乎所有Selenese命令做了分类,分类内容如下:
包含操作页面元素常用命令,以及一些不常用到的高级使用命令
对鼠标键盘事件控制命令
wait相关命令
veriy相关命令
assert相关命令
store存储器相关命令
Part IV verify、assert命令汇总:
verifyAlert | assertAlert |
verifyAlertNotPresent | assertAlertNotPresent |
verifyAlertPresent | assertAlertPresent |
verifyAllButtons | assertAllButtons |
verifyAllFields | assertAllFields |
verifyAllLinks | assertAllLinks |
verifyAllWindowIds | assertAllWindowIds |
verifyAllWindowNames | assertAllWindowNames |
verifyAllWindowTitles | assertAllWindowTitles |
verifyAttribute | assertAttribute |
verifyAttributeFromAllWindows | assertAttributeFromAllWindows |
verifyBodyText | assertBodyText |
verifyChecked | assertChecked |
verifyConfirmation | assertConfirmation |
verifyConfirmationNotPresent | assertConfirmationNotPresent |
verifyConfirmationPresent | assertConfirmationPresent |
verifyCookie | assertCookie |
verifyCookieByName | assertCookieByName |
verifyCookieNotPresent | assertCookieNotPresent |
verifyCookiePresent | assertCookiePresent |
verifyCursorPosition | assertCursorPosition |
verifyEditable | assertEditable |
verifyElementHeight | assertElementHeight |
verifyElementIndex | assertElementIndex |
verifyElementNotPresent | assertElementNotPresent |
verifyElementPositionLeft | assertElementPositionLeft |
verifyElementPositionTop | assertElementPositionTop |
verifyElementPresent | assertElementPresent |
verifyElementWidth | assertElementWidth |
verifyEval | assertEval |
verifyExpression | assertExpression |
verifyHtmlSource | assertHtmlSource |
verifyLocation | assertLocation |
verifyMouseSpeed | assertMouseSpeed |
verifyNotAlert | assertNotAlert |
verifyNotAllButtons | assertNotAllButtons |
verifyNotAllFields | assertNotAllFields |
verifyNotAllLinks | assertNotAllLinks |
verifyNotAllWindowIds | assertNotAllWindowIds |
verifyNotAllWindowNames | assertNotAllWindowNames |
verifyNotAllWindowTitles | assertNotAllWindowTitles |
verifyNotAttribute | assertNotAttribute |
verifyNotAttributeFromAllWindows | assertNotAttributeFromAllWindows |
verifyNotBodyText | assertNotBodyText |
verifyNotChecked | assertNotChecked |
verifyNotConfirmation | assertNotConfirmation |
verifyNotCookie | assertNotCookie |
verifyNotCookieByName | assertNotCookieByName |
verifyNotCursorPosition | assertNotCursorPosition |
verifyNotEditable | assertNotEditable |
verifyNotElementHeight | assertNotElementHeight |
verifyNotElementIndex | assertNotElementIndex |
verifyNotElementPositionLeft | assertNotElementPositionLeft |
verifyNotElementPositionTop | assertNotElementPositionTop |
verifyNotElementWidth | assertNotElementWidth |
verifyNotEval | assertNotEval |
verifyNotExpression | assertNotExpression |
verifyNotHtmlSource | assertNotHtmlSource |
verifyNotLocation | assertNotLocation |
verifyNotMouseSpeed | assertNotMouseSpeed |
verifyNotOrdered | assertNotOrdered |
verifyNotPrompt | assertNotPrompt |
verifyNotSelectOptions | assertNotSelectOptions |
verifyNotSelectedId | assertNotSelectedId |
verifyNotSelectedIds | assertNotSelectedIds |
verifyNotSelectedIndex | assertNotSelectedIndex |
verifyNotSelectedIndexes | assertNotSelectedIndexes |
verifyNotSelectedLabel | assertNotSelectedLabel |
verifyNotSelectedLabels | assertNotSelectedLabels |
verifyNotSelectedValue | assertNotSelectedValue |
verifyNotSelectedValues | assertNotSelectedValues |
verifyNotSomethingSelected | assertNotSomethingSelected |
verifyNotSpeed | assertNotSpeed |
verifyNotTable | assertNotTable |
verifyNotText | assertNotText |
verifyNotTitle | assertNotTitle |
verifyNotValue | assertNotValue |
verifyNotVisible | assertNotVisible |
verifyNotWhetherThisFrameMatchFrameExpression | assertNotWhetherThisFrameMatchFrameExpression |
verifyNotWhetherThisWindowMatchWindowExpression | assertNotWhetherThisWindowMatchWindowExpression |
verifyNotXpathCount | assertNotXpathCount |
verifyOrdered | assertOrdered |
verifyPrompt | assertPrompt |
verifyPromptNotPresent | assertPromptNotPresent |
verifyPromptPresent | assertPromptPresent |
verifySelectOptions | assertSelectOptions |
verifySelectedId | assertSelectedId |
verifySelectedIds | assertSelectedIds |
verifySelectedIndex | assertSelectedIndex |
verifySelectedLabel | assertSelectedIndexes |
verifySelectedLabels | assertSelectedLabel |
verifySelectedValue | assertSelectedLabels |
verifySelectedValues | assertSelectedValue |
verifySomethingSelected | assertSelectedValues |
verifySpeed | assertSomethingSelected |
verifyTable | assertSpeed |
verifyText | assertTable |
verifyTextNotPresent | assertText |
verifyTextPresent | assertTextNotPresent |
verifyTitle | assertTextPresent |
verifyValue | assertTitle |
verifyVisible | assertValue |
verifyWhetherThisFrameMatchFrameExpression | assertVisible |
verifyWhetherThisWindowMatchWindowExpression | assertWhetherThisFrameMatchFrameExpression |
verifyXpathCount | assertWhetherThisWindowMatchWindowExpression |
assertXpathCount |
另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
当前文章:Selenese命令清单-verify及assert命令-创新互联
文章出自:http://ybzwz.com/article/hsjje.html