[Wtr-general] I am a newb
Chris McMahon
christopher.mcmahon at gmail.com
Fri Sep 1 14:40:54 EDT 2006
On 9/1/06, David <forum-watir-users at openqa.org> wrote:
>
> I want to say thanks to everyone, I am trying to understand. With the
> $ie.button(:index, 2).click command how does it know that it is looking for
> Cancel. This is the html source I am trying to pull from:
>
> <a class="right button" id="sessionDialogCancel"
> href="JavaScript:hideSessionDialog();">Cancel</a>
Try $ie.button(:id,"sessionDialogCancel").click
Also try using the "flash" method to see what's happening:
$ie.button(:index, 2).flash
$ie.button(:index, 3).flash
$ie.button(:index, 4).flash
$ie.button(:index, 5).flash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060901/3ef1972c/attachment.html
More information about the Wtr-general
mailing list