Re: [wtr-general] Re: some more details on CSS

2010-12-07 Thread Hrishikesh Bose
understand that Tiffany. Neither i am asking anyone to invest there precious time in creating a new tut. what i wanted to know if someone has used CSS so that can share there exp, if they want to. Since in watir, we have different methods for recognize the object with xpath, regex, index, i worke

Re: [wtr-general] Unable to identify the object error

2010-12-07 Thread sudeep pattnaik
Hi, The page I am testing, gets loaded after the login page. I have written Watir script for logging in also which works fine. The problem is Watir scxript is not able to locate any of the elements on the page even if I have tried to access them using different parameters like :name,:id,:text etc.

[wtr-general] Re: click_no_wait fails for button to open modal dialog (Win XP, Ruby 1.8.6.26, Watir 1.6.7)

2010-12-07 Thread dt_nz
Hi, I had a similiar problem that began when I started using IE8. I found (and could be wrong) that WinClicker didn't seem to handle the popup, so, I am now using the method clickprompt which I borrowed from http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups It works for IE8 and IE7. -- Befo

[wtr-general] Re: Can't click on a nameless div

2010-12-07 Thread orde
If browser.link(:text,"Add Another State").click does't work, try browser.link(:text, /Add Another State/).click. If neither of those work, you may need to use the fire_event method (see http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/Element.html#M000557). Example: browser.link(:text, /Add Ano

Re: [wtr-general] Can't click on a nameless div

2010-12-07 Thread Eric Mathiesen
you could try using a fire event statment such as @browswer.link(:text, "Add Another State").fire_event("onmousedown") or similar... On Tue, Dec 7, 2010 at 2:21 PM, LizLeong wrote: > I'm running Ruby1.8.7 patchlevel 249 with Watir 1.6.7 on WinXP. > > I'm trying to click on the text "Add Another

[wtr-general] Re: Data Driven testing

2010-12-07 Thread Tiffany Fodor
Hi Kay! You may have already found this in your search, but the Ruby on Windows blog has really helped me: http://rubyonwindows.blogspot.com/ Hope this helps! -Tiffany On Dec 6, 9:50 am, Kay wrote: > Cheers Dave. > > @Zelijko: cannot use Roo as I am using Jruby. > > Cheers, > Kay > > On Dec 6

[wtr-general] Re: some more details on CSS

2010-12-07 Thread Tiffany Fodor
Hi! Can you please provide some detail about the issue you're having? If you're having trouble with the tutorial, can you specify where it's losing you? None of us has the time to create a new tutorial here in Watir General, but if we understand your problem or where the tutorial falls short, we

[wtr-general] Re: Can't click on a nameless div

2010-12-07 Thread Tiffany Fodor
Hi! Is this the only instance of the 'Add Another State' text? Maybe you've tried more than the code you listed, but if you haven't, you may be making this harder than you need to. Have you tried just accessing it as a span or link? ie.link(:text, 'Add Another State').click ie.span(:text, 'Add

[wtr-general] Can't click on a nameless div

2010-12-07 Thread LizLeong
I'm running Ruby1.8.7 patchlevel 249 with Watir 1.6.7 on WinXP. I'm trying to click on the text "Add Another State" on a web page. It looks like a link, but I am having trouble hooking onto it. The structure is: http://www.website.com/ insert" method="post">

[wtr-general] Re: click_no_wait fails for button to open modal dialog (Win XP, Ruby 1.8.6.26, Watir 1.6.7)

2010-12-07 Thread Kushal
Hi all, Thanks for all the posts. I am not really trying to access the button by using unique_number. The click_no_wait function in element class passes the command to spawned_click_no_wait_command which refers to the element using unique_number. I have seen the example on the page: http://wiki.

[wtr-general] some more details on CSS

2010-12-07 Thread Hrishikesh Bose
hello guys, can someone give me more tut of how to use CSS. not able to understand the tut available in watir site http://wiki.openqa.org/display/WTR/CSS -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://grou

[wtr-general] Re: Option in select

2010-12-07 Thread Shlomit Gazit
Please help On Dec 1, 12:22 pm, Shlomit Gazit wrote: > The thing is for testing I dont want to go through all the select > options since it is a lot. I want to have only one from each. I have > about 11 select items with variedoptiontitles, and these options are > repeating with different tex