资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

Selenese命令清单-verify及assert命令

成都创新互联专业提供成都主机托管四川主机托管成都服务器托管四川服务器托管,支持按月付款!我们的承诺:贵族品质、平民价格,机房位于中国电信/网通/移动机房,成都移动服务器托管服务有保障!

资源推荐:

视频资源: 软件测试相关系列视频

社区资源: 自动化测试交流群


简介

    Selenium为用户提供了大量的Selenese命令,可以非常方便的为用户编写脚本实用,其中实际场景运用需要的并不多,为了能更好的利用这些命令,我对几乎所有Selenese命令做了分类,分类内容如下:

  1. 包含操作页面元素常用命令,以及一些不常用到的高级使用命令

  2. 对鼠标键盘事件控制命令

  3. wait相关命令

  4. veriy相关命令

  5. assert相关命令

  6. store存储器相关命令

Part IV verify、assert命令汇总:

verifyAlertassertAlert
verifyAlertNotPresentassertAlertNotPresent
verifyAlertPresentassertAlertPresent
verifyAllButtonsassertAllButtons
verifyAllFieldsassertAllFields
verifyAllLinksassertAllLinks
verifyAllWindowIdsassertAllWindowIds
verifyAllWindowNamesassertAllWindowNames
verifyAllWindowTitlesassertAllWindowTitles
verifyAttributeassertAttribute
verifyAttributeFromAllWindowsassertAttributeFromAllWindows
verifyBodyTextassertBodyText
verifyCheckedassertChecked
verifyConfirmationassertConfirmation
verifyConfirmationNotPresentassertConfirmationNotPresent
verifyConfirmationPresentassertConfirmationPresent
verifyCookieassertCookie
verifyCookieByNameassertCookieByName
verifyCookieNotPresentassertCookieNotPresent
verifyCookiePresentassertCookiePresent
verifyCursorPositionassertCursorPosition
verifyEditableassertEditable
verifyElementHeightassertElementHeight
verifyElementIndexassertElementIndex
verifyElementNotPresentassertElementNotPresent
verifyElementPositionLeftassertElementPositionLeft
verifyElementPositionTopassertElementPositionTop
verifyElementPresentassertElementPresent
verifyElementWidthassertElementWidth
verifyEvalassertEval
verifyExpressionassertExpression
verifyHtmlSourceassertHtmlSource
verifyLocationassertLocation
verifyMouseSpeedassertMouseSpeed
verifyNotAlertassertNotAlert
verifyNotAllButtonsassertNotAllButtons
verifyNotAllFieldsassertNotAllFields
verifyNotAllLinksassertNotAllLinks
verifyNotAllWindowIdsassertNotAllWindowIds
verifyNotAllWindowNamesassertNotAllWindowNames
verifyNotAllWindowTitlesassertNotAllWindowTitles
verifyNotAttributeassertNotAttribute
verifyNotAttributeFromAllWindowsassertNotAttributeFromAllWindows
verifyNotBodyTextassertNotBodyText
verifyNotCheckedassertNotChecked
verifyNotConfirmationassertNotConfirmation
verifyNotCookieassertNotCookie
verifyNotCookieByNameassertNotCookieByName
verifyNotCursorPositionassertNotCursorPosition
verifyNotEditableassertNotEditable
verifyNotElementHeightassertNotElementHeight
verifyNotElementIndexassertNotElementIndex
verifyNotElementPositionLeftassertNotElementPositionLeft
verifyNotElementPositionTopassertNotElementPositionTop
verifyNotElementWidthassertNotElementWidth
verifyNotEvalassertNotEval
verifyNotExpressionassertNotExpression
verifyNotHtmlSourceassertNotHtmlSource
verifyNotLocationassertNotLocation
verifyNotMouseSpeedassertNotMouseSpeed
verifyNotOrderedassertNotOrdered
verifyNotPromptassertNotPrompt
verifyNotSelectOptionsassertNotSelectOptions
verifyNotSelectedIdassertNotSelectedId
verifyNotSelectedIdsassertNotSelectedIds
verifyNotSelectedIndexassertNotSelectedIndex
verifyNotSelectedIndexesassertNotSelectedIndexes
verifyNotSelectedLabelassertNotSelectedLabel
verifyNotSelectedLabelsassertNotSelectedLabels
verifyNotSelectedValueassertNotSelectedValue
verifyNotSelectedValuesassertNotSelectedValues
verifyNotSomethingSelectedassertNotSomethingSelected
verifyNotSpeedassertNotSpeed
verifyNotTableassertNotTable
verifyNotTextassertNotText
verifyNotTitleassertNotTitle
verifyNotValueassertNotValue
verifyNotVisibleassertNotVisible
verifyNotWhetherThisFrameMatchFrameExpressionassertNotWhetherThisFrameMatchFrameExpression
verifyNotWhetherThisWindowMatchWindowExpressionassertNotWhetherThisWindowMatchWindowExpression
verifyNotXpathCountassertNotXpathCount
verifyOrderedassertOrdered
verifyPromptassertPrompt
verifyPromptNotPresentassertPromptNotPresent
verifyPromptPresentassertPromptPresent
verifySelectOptionsassertSelectOptions
verifySelectedIdassertSelectedId
verifySelectedIdsassertSelectedIds
verifySelectedIndexassertSelectedIndex
verifySelectedLabelassertSelectedIndexes
verifySelectedLabelsassertSelectedLabel
verifySelectedValueassertSelectedLabels
verifySelectedValuesassertSelectedValue
verifySomethingSelectedassertSelectedValues
verifySpeedassertSomethingSelected
verifyTableassertSpeed
verifyTextassertTable
verifyTextNotPresentassertText
verifyTextPresentassertTextNotPresent
verifyTitleassertTextPresent
verifyValueassertTitle
verifyVisibleassertValue
verifyWhetherThisFrameMatchFrameExpressionassertVisible
verifyWhetherThisWindowMatchWindowExpressionassertWhetherThisFrameMatchFrameExpression
verifyXpathCountassertWhetherThisWindowMatchWindowExpression

assertXpathCount

网站题目:Selenese命令清单-verify及assert命令
网站地址:http://cdkjz.cn/article/pcopdg.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

大客户专线   成都:13518219792   座机:028-86922220