I cannot click the button with the id of PostButton with the code:
ie.button(:id,"PostButton").click

Any help is highly appreciated.


<div style="margin-bottom:4px;">
            <input type="hidden" name="draftid" id="draftid" value="0" />
            <input type="hidden" name="articleid" id="articleid" value="0" />
            <input type="hidden" name="action" id="action" value="0" />
            <input type="button" id="PostButton" class="btn1"
style="cursor:pointer;" value="发表" onclick="PostArticleButtonClick
(this)" onmousedown="document.getElementById('inputsummit').value =
0;"/>
            &nbsp;&nbsp;&nbsp;<input name="Neweditarticle2008_1:DraftButton"
type="button" id="Neweditarticle2008_1_DraftButton" value="保存草稿"
style="cursor:pointer;" class="btn1 btnn" onclick="PostDraftButtonClick
(this)" />
        &nbsp;&nbsp;

        <span id="AdminDraftLink"><a href="http://post.blog.hexun.com/
i/mydraft.aspx?Blogname=13051424" target="_blank"
style="color:#FB5D00;">查看草稿箱</a></span>

    </div>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to