zoukankan      html  css  js  c++  java
  • Watin Html标记与Class映射表

    Html element WatiN Class WatiN Collection Example Version

     

     

     

     

     

    <a />

    Link

    LinkCollection

    Ie.Link(linkId)

    0.7

    <area />

    Area

    AreaCollection

    ie.Area(Find.ByAlt(alttext))

    1.2

    <button />

    Button

    ButtonCollection

    Ie.Button(buttonId)

    0.9

    <div />

    Div

    DivCollection

    Ie.Div(divId)

    0.7

    <form />

    Form

    FormCollection

    Ie.Form(formId)

    0.7

    <frame />

    Frame

    FrameCollection

    Ie.Frame(frameId)

    0.7

    <frameset />

    -

    FrameCollection

    Ie.Frames

    0.7

    <iframe />

    Frame

    FrameCollection

    Ie.Frame(iframeId)

    0.9

    <img />

    Image

    ImageCollection

    Ie.Image(imageId)

    0.7

    <input type=button/>

    Button

    ButtonCollection

    Ie.Button(buttonId)

    0.7

    <input type=checkbox/>

    CheckBox

    CheckBoxCollection

    Ie.CheckBox(checkboxId)

    0.7

    <input type=file/>

    FileUpload

    FileUploadCollection

    Ie.FileUpload(fileuploadId)

    0.9

    <input type=hidden/>

    TextField

    TextFieldCollection

    Ie.TextField(hiddenId)

    0.7

    <input type=image/>

    Button

    ButtonCollection

    Ie.Button(imageId)

    no longer supported as of 2.0 beta 1

    <input type=image/>

    Image

    ImageCollection

    Ie.Image(imageId)

    0.9.5

    <input type=password/>

    TextField

    TextFieldCollection

    Ie.TextField(passwordId)

    0.7

    <input type=radio/>

    RadioButton

    RadioButtonCollection

    Ie.RadioButton(radioId)

    0.7

    <input type=reset/>

    Button

    ButtonCollection

    Ie.Button(resetId)

    0.7

    <input type=submit/>

    Button

    ButtonCollection

    Ie.Button(submitId)

    0.7

    <input type=text/>

    TextField

    TextFieldCollection

    Ie.TextField(textId)

    0.7

    <label />

    Label

    LabelCollection

    Ie.Label(elementId)

    0.7

    <option />

    Option

    OptionCollection

    Ie.Select(selectId).Options

    1.0

    <p />

    Para

    ParaCollection

    Ie.Para(pId)

    0.7

    <select />

    Select

    SelectCollection

    Ie.Select(selectId)

    0.7

    <span />

    Span

    SpanCollection

    Ie.Span(spanId)

    0.7

    <table />

    Table

    TableCollection

    Ie.Table(tableId)

    0.7

    <tbody />

    TableBody

    TableBodyCollection

    Ie.TableBody(tablebodyId)

    Ie.Table(tableid).TableBodies

    1.0

    <td />

    TableCell

    TableCellCollection

    Ie.TableCell(tablecellId) or

    Ie.Table(TableId).TableRows[0].TableCells[0]

    0.7

    <textarea />

    TextField

    TextFieldCollection

    Ie.TextField(textareaId)

    0.7

    <tr />

    TableRow

    TableRows

    Ie.TableRow(tablerowId) or

    Ie.Table(TableId).TableRows[0]

    0.7

    All elements, also the ones not mentioned in this list

    Element and

    ElementsContainer

    ElementCollection

    Ie.Element(elementId)

    Ie.Element(tagname, elementId)

    0.9


    1.2


  • 相关阅读:
    js设置奇偶行数样式
    c#简单的调试信息、日志信息输出
    调用接口
    sql日期转换格式
    .net 常用方法
    日常验证
    Js 返回页面 or 跳转页面
    .NET Core Kestrel部署HTTPS以及Docker部署HTTPS
    Linux openssl生成证书
    ASP.NET Core中使用AutoMapper实现自动转化
  • 原文地址:https://www.cnblogs.com/zqonline/p/1932760.html
Copyright © 2011-2022 走看看