惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
WordPress大学
WordPress大学
阮一峰的网络日志
阮一峰的网络日志
博客园 - 司徒正美
月光博客
月光博客
宝玉的分享
宝玉的分享
Recent Announcements
Recent Announcements
小众软件
小众软件
H
Hackread – Cybersecurity News, Data Breaches, AI and More
美团技术团队
博客园 - 三生石上(FineUI控件)
A
About on SuperTechFans
J
Java Code Geeks
云风的 BLOG
云风的 BLOG
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
IT之家
IT之家
Vercel News
Vercel News
量子位
Martin Fowler
Martin Fowler
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
腾讯CDC
有赞技术团队
有赞技术团队

博客园 - WebQ

工作流软件升级完成 !!!!!!求救:.Net调用迅雷的问题!!!!! 行政审批工作流系统寻求合作 地铁上的遭遇 开始升级我的工作流系统 IE7中如何子窗口只在关闭时刷新opener 英文标点符号翻译大全 How to pass a input parameter in Script task of SSIS Handle alert dialog with WatiN Working overtime The Tongsha ferry (通沙汽渡) over Changjiang river 实现COM组件访问.Net组件的方法 a article about Polymorphism ASP.NET 页面对象模型 Object Serailization What is WSDL? 自定义控件中UserControl(用户控件)和CustomControl(自定义控件)的区别 常见的手机英语 Callback with event and delegate over .net remoting
One Bug of WatiN? - WebQ
WebQ · 2007-05-25 · via 博客园 - WebQ

With WatiN,How to find a radio input button on the page?
such as the line of HTML:
<input type="radio" id="rdb_1" name="rdb" value="Value_1">
How to get it?
1) ie.RadioButton(Find.ById("rdb_1"))
2) ie.RadioButton(Find.ByName("rdb"))
3) ie.RadioButton(Find.ByValue("Value_1"))
neither of  these methods works well.
Now I can only get it with this:
ie.RadioButtons[index]

Why do them?
May I get some suggestions?