thats a link, so
 
ie.link(:id , "sessionDialogCancel" ).flash is what you need
 
 
----- Original Message -----
Sent: Friday, September 01, 2006 12:40 PM
Subject: Re: [Wtr-general] I am a newb



On 9/1/06, David <[EMAIL PROTECTED]> 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="">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




_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to