[wtr-general] Upgrading anxiety

2011-12-29 Thread Lisa Crispin
We have Watir 1.6.2 and Ruby 1.8.6. We have MANY Watir/Test/Unit scripts which we (well, I) mainly use to help with exploratory testing, and to verify releases. I can't live without these scripts, so I don't want to break them. At the same time, I want to try the latest Watir and Webdriver to see

[wtr-general] Entering text on a read only textfield.

2011-12-29 Thread Bhavesh
Hi, Earlier I use Watir unit test frawework and I can enter values in readonly textfield using “.value” method : $ie.text_field(:id, 'targetSSRepsSelected').value=”some value” I upgraded to Watir Webdriver. Now same code fails with error “ReadOnlyException”. Source Code from browser[IE] is :

Re: [wtr-general] Upgrading anxiety

2011-12-29 Thread Charley Baker
Pure and simple, try it out. Get a box that can run the latest code, and run it there. There's a problem, if you don't update production code and also test code to the latest version when they come out. I've seen this happen over and over again where no one is ready for the latest versions, and

Re: [wtr-general] Upgrading anxiety

2011-12-29 Thread John Fitisoff
I've been playing with watir-webdriver. So far, I'm liking it but one thing that drove me a little batty was the behavior described here: http://watirmelon.com/2011/08/02/watir-webdriver-obselete-element-error/ And it does use 0-based indexing, which is a change from 1.6.2. I think the newer,

[wtr-general] Re: Entering text on a read only textfield.

2011-12-29 Thread Chuck van der Linden
Over time Watir and Watir-webdriver have become more stringent about not letting you do something that a real human user could not do. This is because in large part watir is designed to drive the browser like a user would, in that respect it makes little sense to allow you to do something a user

Re: [wtr-general] Upgrading anxiety

2011-12-29 Thread bis
I think the only way you will now what the actual pain to upgrade to the newest version is is to actually upgrade. in saying that Why not make a clone of the current repository on a different machine or a VM install ruby on that vm(other machine) and all the gems you need and let her rip then try

[wtr-general] Re: Upgrading anxiety

2011-12-29 Thread Chuck van der Linden
I've been doing a bunch of this sort of work at my current job so I have the following advice. (something else I should do a blog posting about) Step zero, decide if you are going to make the scripts try to run under both the newer Watir and Watir-Webdriver, or just WW. If the former I suggest