Watin Html标记与Class映射表
2011-01-11 12:31
169 查看
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/>[/i] | Button[/i] | ButtonCollection[/i] | Ie.Button(imageId)[/i] | no longer supported as of 2.0 beta 1[/i] |
<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 |
相关文章推荐
- Html文件基本标记
- 说说ID选择符、类选择符和HTML标记选择符的优先级顺序
- html 元素添加 class
- 使用整洁的HTML标记构建页面
- 使用伪静态时iis7的html脚本映射
- 如何使用PHP来快速将纯ASCII文本完美地转换成为可读的HTML标记
- HTML--表单(FORM)标记(TAGS)
- 【网站制作视频教程】 第4讲 html标记语义应用上集!-传智播客
- html的排版标记
- DELPHI 去掉字符串中的HTML标记,返回纯文本
- HTML文档设置标记
- 在ASP.NET的母版页中使用图片和超链接,HTML标记和ASP.NET标记的不同
- CSS中.和#的区别 html id和class的区别
- HTML:添加<meta>标记说明内容的类型(文件的内容类型和编程用的字符类型)
- HTML语言剖析(二)HTML标记一览
- html 中的标记大全
- HTML之class属性、table元素、块级和内联元素
- html单双标记
- C#、JS利用正则表达式清理HTML标记一例
- C# 正则移除所有的Html标记