Re: [wtr-general] two buttons Search and Go
On Fri, Jan 21, 2011 at 5:16 PM, Aravind aravindredd...@gmail.com wrote: I am able to click Go but not the Search, wiered Show us the Watir code that clicks Go button, and one that does not click Search button. Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] two buttons Search and Go
Hi I have two buttons in a page Search and Go. I am able to click Go but not the Search, wiered Go button input name=Go onclick=javascript:go(this); type=button value=Go Search button input name=searchAccounts onclick=javascript:searchAcct(this); type=button value=Search I dont find any diff in the code. please help thanks aravind -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] two buttons Search and Go
I would guess that you are using :name to locate the button but are using the value instead. That's the only difference I can see between the two! Emmanuel On 1/21/2011 11:16 AM, Aravind wrote: Hi I have two buttons in a page Search and Go. I am able to click Go but not the Search, wiered Go button input name=Go onclick=javascript:go(this); type=button value=Go Search button input name=searchAccounts onclick=javascript:searchAcct(this); type=button value=Search I dont find any diff in the code. please help thanks aravind -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com