[wtr-general] Re: Unable to locate checkbox element ?

2010-08-13 Thread Chan Nguyen
Hi Linden, Thanks a lot for your comment. To be honest, I'm still an intern here. And I have 0 experiences with Web Development so I can't kick my developers' asses yet ^_^. I'm evaluating "Watir" right now( just for myself ) since my boss want me to learn "Manual Testing" first. Although my compan

[wtr-general] Re: Unable to locate checkbox element ?

2010-08-13 Thread Chuck van der Linden
Frames are evil. Most "web 2.0" developers I know try to avoid them like the plague. I cannot share with you (without lots of censoring) what my web-devs say about people that still use frames. (well except for the dev from Russia, he just said 'they should be taken out and shot'.. (Stalin would

Re: [wtr-general] Re: Unable to locate checkbox element ?

2010-08-13 Thread Chan Nguyen
Thanks again Željko. Simple enough, add "Trusted Sites" under Internet Explore Option ;) ! Sweet On Fri, Aug 13, 2010 at 7:17 AM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Fri, Aug 13, 2010 at 4:11 PM, Chan Nguyen wrote: > > Access is denied. > > Watir can not access cont

Re: [wtr-general] Re: Unable to locate checkbox element ?

2010-08-13 Thread Željko Filipin
On Fri, Aug 13, 2010 at 4:11 PM, Chan Nguyen wrote: > Access is denied. Watir can not access contents of a frame. Please search this group for this error message, I am sure there is a solution. If you can not find it, let me know. Željko -- Before posting, please read http://watir.com/sup

[wtr-general] Re: Unable to locate checkbox element ?

2010-08-13 Thread Chan Nguyen
Yesterday, when I was home. I got it run without problem under FF ( Ubuntu Linux ). Now I'm at work, I used ie. and it gave me errors : (. Any idea? frame = browser.frame( :id, "Main_Body" ) frame.checkbox( :id, "cblModules_0" ).clear frame.checkbox( :id, "cblModules_1" ).clear frame.checkbox( :id

[wtr-general] Re: Unable to locate checkbox element ?

2010-08-13 Thread Chan Nguyen
Hi Željko again, Thanks for your clear answer ;) ! I will keep this in mind "Only Frame" ^_^ ! On Aug 13, 12:33 am, Željko Filipin wrote: > On Fri, Aug 13, 2010 at 5:59 AM, Chan Nguyen wrote: > > So this problem is only with "frame"? > > Yes. > > > Is there any other element that we have to do t

Re: [wtr-general] Re: Unable to locate checkbox element ?

2010-08-13 Thread Željko Filipin
On Fri, Aug 13, 2010 at 5:59 AM, Chan Nguyen wrote: > So this problem is only with "frame"? Yes. > Is there any other element that we have to do this kind of "nested call" ? No. > What's the easiest way to access an element? > What's the most usable way to access an element? Make sure element

Re: [wtr-general] Re: Unable to locate checkbox element ?

2010-08-12 Thread Chan Nguyen
I got it fixed ;). Thanks guys, much simpler than I thought. fr = browser.frame( :id, "Main_Body" ) fr.checkbox( :id, "cblModules_0" ).clear So this problem is only with "frame"? Is there any other element that we have to do this kind of "nested call" ? What's the easiest way to access an element

Re: [wtr-general] Re: Unable to locate checkbox element ?

2010-08-12 Thread Chan Nguyen
Hi all, I think my situation is really bad, I check the HTML code. The nesting level is very high. I check most of the tutorial, the example is so simple, while my case is so complex :( ! Can anyone help me to access the check box element in my case. Thank. ( HTML from firebug is attached ) On Th

[wtr-general] Re: Unable to locate checkbox element ?

2010-08-12 Thread orde
Search this group for : http://groups.google.com/group/watir-general/search?group=watir-general&q=%3Ciframe%3E&qt_g=Search+this+group Or check the tutorial: http://wiki.openqa.org/display/WTR/Printable+Tutorial and http://wiki.openqa.org/display/WTR/Printable+Tutorial#PrintableTutorial-Frames On

[wtr-general] Re: Unable to locate checkbox element ?

2010-08-12 Thread Chan Nguyen
Hi Brendan, First thanks a lot for your help. Sorry for confusing you, I actually have up to icblModules_16, so just copy and paste problem. I think it should work for any of icblModules_xxx, but it did not. This checkbox's items are actually nested in a table, I don't know would it be matter? Tha