Re: [Wtr-general] Where to find watir classes and their methods
maung aung wrote: > I am new to ruby and watir. Can any one direct me where I can get more info > about watir classes and their methods? Especially related to ie class and its > methods. I have been to this site http://wtr.rubyforge.org/rdoc/index.html, > but seems like it doesn't contain most updated methods. Or did i not know how > to find the info in there. For example, I am looking for the method from > watir::ie, button or text_field and its affiliated methods, but it is not in > the page I mention earlier. Is there any other places where I can find more > information about it? > Load the recent gem (see our Development Builds page on our Wiki), and then Start the Rdoc Server and Look at the Rdoc for Watir. Or you can download the bonus-zip file and look at the Rdoc there. We've been making lots of updates and fixes to the Rdoc lately, so be sure to get the latest version. If these instructions aren't clear, check google for clarification and then (if that doesn't help) ask again for details -- i realize this is a breezy note. Bret ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] Can you tell me where can download reporter package?
I expect get the test report too,but I don't know where can download the reporter package.Can you give me a address where can download the reporter package .Thanks a lot! ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] Where to find watir classes and their methods
I am new to ruby and watir. Can any one direct me where I can get more info about watir classes and their methods? Especially related to ie class and its methods. I have been to this site http://wtr.rubyforge.org/rdoc/index.html, but seems like it doesn't contain most updated methods. Or did i not know how to find the info in there. For example, I am looking for the method from watir::ie, button or text_field and its affiliated methods, but it is not in the page I mention earlier. Is there any other places where I can find more information about it? Thanks, Maung ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Watir no longer always waits for all frames to load
Bret, I've filed the issue in Jira as low priority. The ticket# is: WTR-165 Thanks for your help. -David ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] iterate thru forum
Hard to tell without seeing an html snippet of what you're trying to test. Now that you have the table, I assume you want to iterate through rows. table.rows.each do |row| do something with the row end -Charley On 6/18/07, B Smith <[EMAIL PROTECTED]> wrote: I got this far on my own table = ie.table(:index,5) v_3 = table[1][3].to_s v_4 = table[1][4].to_s v_5 = table[1][5].to_s v_6 = table[1][6].to_s variable = v_3 + " " + v_4 + " " + v_5 + " " + v_6 puts variable This now returns the HEADER row from the correct table in the page. HOW DO I set this to iterate thru all the threads?? I saw a forum posting for counting links :: ie.(:index,1).links.length, but it isn't working for my variable. thanks, ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Can we display images using puts
Sapna, puts displays text, not images. Do you need to display image properties? Something like this should work. puts ie.image(:how, what).src Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] WYSIWYG editor inside - entire new
... problem is, I don't seem to have a tag anywhere in sight. All I've got inside the is another instance, and inside the of that, nothing but a tag. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] display errors without exiting the script?
Hi, Try this: begin $ie1=IE.attach(:title, /bla bla bla/) rescue Watir::Exception::NoMatchingWindowFoundException [ do what you want to do in case you don't find the matching window] end Hope this helps. - Angrez On 6/20/07, mihai <[EMAIL PROTECTED]> wrote: i have a link in $ie wich opens me a new window i attach that window to a variable $ie1 like that: $ie1=IE.attach(:title, /bla bla bla/) and i must verify if that window really exist or not how do i do that because if that window exist is ok, but if is not exist the script is interrupted and stoped and i dont want that: c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir.rb:1642:in `attach_browser_window': Unable to locate a window with title of (?-mix:bla bla bla) (Watir::Exception::NoMatchingWindowFoundException) ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Load Error
The load error turned out to be due to the line Require 'rubygems' becoming explicit rather than implicit. Max Russell Test Analyst INPS ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] display errors without exiting the script?
i have a link in $ie wich opens me a new window i attach that window to a variable $ie1 like that: $ie1=IE.attach(:title, /bla bla bla/) and i must verify if that window really exist or not how do i do that because if that window exist is ok, but if is not exist the script is interrupted and stoped and i dont want that: c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir.rb:1642:in `attach_browser_window': Unable to locate a window with title of (?-mix:bla bla bla) (Watir::Exception::NoMatchingWindowFoundException) ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] Can we display images using puts
Hi, Can we display images in the output using puts? Regards Sapna ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general