Re: [wtr-general] How to write code for button click?

2010-01-02 Thread Wesley Chen
$ie.link(:href, javascript: void(0)).click
or
$ie.link(:text, Auto Complete).click

Thanks.
Wesley Chen.
For life, the easier, the better.


On Sat, Jan 2, 2010 at 1:43 PM, Shaiful Islam jshai...@gmail.com wrote:

 Hello All,

 I am learning Watir and implementing it one of my project. I have done
 few things to execute. But I gotta stuck over the form submission for
 this code:

 a class=greenArrow onclick=T.FF.SV2.autocompleteTeam()
 href=javascript: void(0)Auto Complete/a

 other place i used for form submission:  b.button(:type,
 'submit').click

 Anyone can help on this.

 Thanks in Advance.

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

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

[wtr-general] How to write code for button click?

2010-01-01 Thread Shaiful Islam
Hello All,

I am learning Watir and implementing it one of my project. I have done
few things to execute. But I gotta stuck over the form submission for
this code:

a class=greenArrow onclick=T.FF.SV2.autocompleteTeam()
href=javascript: void(0)Auto Complete/a

other place i used for form submission:  b.button(:type,
'submit').click

Anyone can help on this.

Thanks in Advance.

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