[wtr-general] Re: My blog about Watir and RSpec

2010-02-17 Thread Jarmo Pertman
Increased the font size by 2px. Is it better now or should i increase it even more? You guys have a large screens i guess :P Jarmo On Feb 16, 8:55 pm, Alan Baird wrote: > Jarmo - > > I'm still reading but this is good stuff.  +1 on the font size tho  :) > > Alan > > On Tue, Feb 16, 2010 at 9:34

[wtr-general] Re: Issue with the wrapper built around the ".text" method in Firewatir

2010-02-17 Thread Betsy
Dear Ethan, We had to do this because the ".text" method in firewatir removes all the newlines before returning the text while in watir it returns the text with newlines. In certain scenarios, we need to split the returned text on newline to extract the required text which was impossible using the

[wtr-general] Re: Right click on the web page to click on the option export to excel sheet

2010-02-17 Thread Tiffany Fodor
Hi! Here's an old thread about right-clicking an element: http://groups.google.com/group/watir-general/browse_thread/thread/67dda45048bb8744 And the resulting wiki page: http://wiki.openqa.org/display/WTR/Right+Click+an+Element Hope this helps! -Tiffany On Feb 17, 6:48 am, JOY wrote: > HI,

[wtr-general] Re: Question About Watir

2010-02-17 Thread Tiffany Fodor
Hi! Is there a part of the id values that is unique and consistent? If so, you could use a regex. For example if your id is 'field_id_XXX' where XXX is a number that is auto-generated: browser.text_field(:id, /field_id/).set('My Text') Are there other attributes that are available (:name, :cla

[wtr-general] Re: Question About Watir

2010-02-17 Thread tester86
Hi I came across that example before on automation frameworks. I have already started to implement a framework. But my question was is there any way Watir supports automatically generated ID's? Thanks -- You received this message because you are subscribed to the Google Groups "Watir General"

Re: [wtr-general] Question About Watir

2010-02-17 Thread Rick Webster
You can build one from this design: http://safsdev.sourceforge.net/FRAMESDataDrivenTestAutomationFrameworks.htm I learned enough Ruby to code a prototype of this in about 2 or 3 weeks. On Wed, Feb 17, 2010 at 3:09 PM,

[wtr-general] Question About Watir

2010-02-17 Thread tester86
Hi I am automating a website where every time the ID's change and my scripts need to cope with this change. For example if I click on a link and next time the value of the link will change. Is there any scope or any implementation that can be implemented to cope with this. I have talked with a de

Re: [wtr-general] Issue with the wrapper built around the ".text" method in Firewatir

2010-02-17 Thread Ethan
Why is this necessary? This looks very fragile and error-prone to me. What problem does this solve? Returning text without tags and html entities is the point of the #text method, and the code that does this (which is in firefox itself) is much more robust. On Wed, Feb 17, 2010 at 01:50, Betsy wr

[wtr-general] Right click on the web page to click on the option export to excel sheet

2010-02-17 Thread JOY
HI, I want to automate a scenario using watir where i want to download the contents of web page into an excel sheet. Am trying out this: 1:Right click on the web page to click on the option "export to excel sheet" 2 : Now formatting the contents in the Excel Sheet, Can you please hel

Re: [wtr-general] Re: Elements supported by Watir

2010-02-17 Thread Željko Filipin
On Tue, Oct 6, 2009 at 4:01 AM, Bret Pettichord wrote: > require 'watir/ie' Thanks, I finally got some time to update the code and the output: http://wiki.openqa.org/display/WTR/HTML+Elements+Supported+by+Watir Željko -- You received this message because you are subscribed to the Google Group

Re: [wtr-general] Re: Elements supported by Watir

2010-02-17 Thread Željko Filipin
Fixed (removed "Watir Class" column): http://wiki.openqa.org/display/WTR/Collections+of+HTML+Elements http://wiki.openqa.org/display/WTR/HTML+Elements+Supported+by+Watir Željko On Thu, Oct 8, 2009 at 6:12 AM, Bret Pettichord wrote: > But how do the class names help with this? To me the method n

Re: [wtr-general] FYI for handling mutliple IE windows in IE8 when you dont want to share session variables

2010-02-17 Thread Željko Filipin
On Wed, Feb 17, 2010 at 4:54 AM, eric wrote: >startup_command = "#{program_files}\\Internet Explorer\ > \iexplore.exe -nomerge " Eric, Thanks for sharing this. Željko -- watir.com - community manager pledgie.com/campaigns/2982 - donate to Watir watirpodcast.com - host testingpodcast.com

[wtr-general] Re: String to watir object

2010-02-17 Thread JArkelen
The "cat".to_sym is exactly what I needed, thanks! Cheers, John On Feb 16, 4:00 pm, Željko Filipin wrote: > On Tue, Feb 16, 2010 at 3:37 PM, JArkelen wrote: > > I have a string value of ":href" and want to use it in "ie.link(:href, > > 'bla').click". > > Can you provide more data? How does your

[wtr-general] FYI for handling mutliple IE windows in IE8 when you dont want to share session variables

2010-02-17 Thread eric
Just wanted to share that if you are performing load testing using Watir like me and need to stop IE from sharing your session variables between instances of IE winndows using IE8 you can do that. if you edit ie-process.rb in the watir gem changing: startup_command = "#{program_files}\\In