我想将数字从Excel工作表输入到网页搜索框中。这是我的网页元素:
<div class= "FindContainer" id= "ct100_pnlSearchPanel_pnlsFind">
<img alt= "Search by" src= "/PM/images/searchBy.png"/>
<label class="blackBold8" for ="txtFind">Find</label>
<input name="ct100$pnlslSearchPanel$txtFind" class="content" id= " ct100_pnlSearchPanel_txtFind" type="text"/>
</div>
您应该使用Internet Explorer自动化技术。请阅读this simple example以掌握该技术!如果您有任何疑问,很高兴听到您的消息。