[wtr-general] Re: Issue with clicking a DIV Element

2009-06-25 Thread Pallavi Sharma
:) Thanks a ton Ye, you rock this works: ie.div(:class = 'search-hotel',:index = 2).click thanks again!! On Thu, Jun 25, 2009 at 11:29 AM, Ye Jian j...@cn.ufinity.com wrote: there are two divs have the same class attribute in your page, a onClick=validate1() class=nohoverBG div

[wtr-general] Re: How to handle popup alerts in fireox

2009-06-25 Thread Ravid
Hi Sruthi, Probably not the best way to do it, but with my suite, I knew when the popups would occur all I needed to do was hit enter. So in firewatir, i just wrote some code to send the enter keystroke, worked for me. On Jun 21, 5:46 am, Sruthi Sinha sruthifor...@gmail.com wrote: Hello

[wtr-general] How to check if a button is enabled or disabled

2009-06-25 Thread Maumita
Hi, Is this pissible in watir to check if a button is enabled or disabled? If yes..please guide me how? Thanks Maumita --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group,

[wtr-general] Re: Why Do Exists? Exceptions Occur?

2009-06-25 Thread wsm
This gets more interesting. The statement: emailframe.frame(:id, 'EmailDefnAction').frame(:id, 'WizardStepFrame') craps out with; Unable to locate a frame with id WizardStepFrame (Watir::Exception::UnknownFrameException) I'm not hard to get along with, I do an exists? loop ahead of the

[wtr-general] Re: Why Do Exists? Exceptions Occur?

2009-06-25 Thread Mark Anderson
database 4188 (20090625) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus, version of virus signature database 4188 (20090625) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

[wtr-general] Re: How to check if a button is enabled or disabled

2009-06-25 Thread anil menon
hi, use this code ie.button(:id, id name).enabled? ie.button(:id, id name).disabled? Thanks, Anil Menon On Thu, Jun 25, 2009 at 5:27 PM, Maumita maumita.majum...@gmail.com wrote: Hi, Is this pissible in watir to check if a button is enabled or disabled? If yes..please guide me how?

[wtr-general] Re: How to handle popup alerts in fireox

2009-06-25 Thread Angrez Singh
can you see the unit tests on how to deal with pop up alerts in Firewatir? On Sun, Jun 21, 2009 at 6:16 PM, Sruthi Sinha sruthifor...@gmail.comwrote: Hello friends, I am new to this group. I want to know whether fireWatir supports popup alerts or not.Please help me with the code how to

[wtr-general] accessing javascript elements with watir

2009-06-25 Thread kiran
Hi, I need one clarification regarding javascript. some times Watir is able to access the objects inside javascript in the html with out using any fire_events.I have a checkbox with in the javascript and i used the following code to access it. ie.radio(:name,abc).set when i run the above code

[wtr-general] Re: accessing javascript elements with watir

2009-06-25 Thread Ye Jian
Hi,Krian Are you sure to use ie.radio(:name,abc).set to access a checkbox? I remember,if you want to access a checkbox,you need use ie.checkbox(:name,abc) to access it. -Camael 发件人: kiran 发送时间: 2009-06-26 00:11:59 收件人: Watir General 抄送: 主题: [wtr-general] accessing javascript elements