[wtr-general] Re: WATIR 3.0 rc3 crash

2012-03-29 Thread Trevor
wrote: Try setting $DEBUG = true before that line to see if you're getting any relevant information. Jarmo On Mar 28, 11:29 am, Trevor trevorm1...@gmail.com wrote: I get the following crash when running with WATIR 3.0 rc3. Does not crash on rc2 Ruby interpreter (GUI

[wtr-general] Re: error when looping through a table

2012-03-29 Thread Trevor
Copied from the Jarmo's release notice: * Table#each removed - use Table#(trs|rows).each instead * Table#row(s) and Table#cell(s) added which ignore inner tables - use #td/#tr for all. Trevor On Wednesday, March 28, 2012 6:25:59 PM UTC+1, hillary wrote: so i have code that looks like

[wtr-general] Re: Trying to go back to watir 1.6.2, won't install correctly

2012-02-17 Thread Trevor
environment variables. Might be worth trying. Trevor On Feb 17, 3:29 am, Lisa Crispin lisa.cris...@gmail.com wrote: I know, I had uninstalled Ruby 1.8.7 because the require 'watir' kept failing, and installed Ruby 1.8.6, but now the install of watir won't work. When I typed gem install watir in Ruby

[wtr-general] Watir 3.0 select_list contents

2012-02-07 Thread Trevor
] expected but was #Watir::Options:0x..fcf87e496 length=2 container=#Watir::SelectList: 0x..fea1763e6 located=true how=:name what=model. Is this the case or am I missing something? Thanks, Trevor -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice

[wtr-general] Re: Watir 3.0 select_list contents

2012-02-07 Thread Trevor
That does the trick! Thanks Željko Trevor On Feb 7, 2:22 pm, Željko Filipin zeljko.fili...@gmail.com wrote: On Tue, Feb 7, 2012 at 8:10 AM, Trevor trevorm1...@gmail.com wrote: assert_equal( [none,fixed] , $browser.select_list(:name, model).options) Now you have to do something like

[wtr-general] Re: Table iteration problem

2011-11-14 Thread Trevor
to have to be deleting one item at a time in a loop rather than iterating through the table. Trevor On Nov 12, 8:48 am, Jarmo Pertman jarm...@gmail.com wrote: This might be indeed related with the fact that you're modifying the collection (deleting items) at the same time you're iterating

[wtr-general] Re: Table iteration problem

2011-11-11 Thread Trevor
. Thanks, Trevor On Nov 8, 7:48 pm, Chuck van der Linden sqa...@gmail.com wrote: The changes log  https://github.com/bret/watir/blob/master/CHANGES shows a change to .rows  to make it 'iterate properly'  in Watir 2.0.2   From your error it looks like you are using 2.0.1 I'd suggest an upgrade

[wtr-general] Re: Table iteration problem

2011-11-11 Thread Trevor
Hi Chuck, I'd been wondering about some other sort of workround. Your suggestion looks like it could do the job. Thanks, Trevor On Nov 11, 4:51 pm, Chuck van der Linden sqa...@gmail.com wrote: On Nov 11, 4:54 am, Trevor trevorm1...@gmail.com wrote: Hi Chuck,Lots of other issues last

[wtr-general] Table iteration problem

2011-11-08 Thread Trevor
Hi, I am trying to delete a load of entries from a table, but am having problems with iterating through the table. Basically, I need to delete all entries that have TM1 included in the row. The following will run through once and delete one entry, but then throws the error shown. Also included a

[wtr-general] Re: Table iteration problem

2011-11-08 Thread Trevor
it, retuning to the original screen). The script then fails (i.e. does not repeat). Trevor On Nov 8, 4:41 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Nov 8, 2011 at 4:49 PM, Trevor trevorm1...@gmail.com wrote:  $browser.button(:name, _action_delete).click_no_wait Why are you

[wtr-general] Re: Table iteration problem

2011-11-08 Thread Trevor
Unfortunately, cannot provide link to the page - its a secure link to a Customer. I'll see what I can do to recreate. Trevor On Nov 8, 5:01 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Nov 8, 2011 at 5:57 PM, Trevor trevorm1...@gmail.com wrote: The script then fails (i.e

[wtr-general] Re: Table iteration problem

2011-11-08 Thread Trevor
Thanks Chuck, Yes, I am on 2.0.1 - I'll upgrade when I'm back in the office tomorrow. I'll also check out your suggestion. Trevor On Nov 8, 7:48 pm, Chuck van der Linden sqa...@gmail.com wrote: The changes log  https://github.com/bret/watir/blob/master/CHANGES shows a change to .rows  to make

[wtr-general] Accurate timings to perform subsequent tests

2011-08-04 Thread Trevor
this is not the best way to do this. Thanks, Trevor -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com

[wtr-general] Re: Entering XML in textarea

2011-08-03 Thread Trevor
Thanks Charley - that does the trick Trevor On Aug 2, 11:25 pm, Charley Baker charley.ba...@gmail.com wrote: Try setting value instead of set. blah.value = doc Cheers, Charley On Tue, Aug 2, 2011 at 4:03 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Aug 2

[wtr-general] Re: Entering XML in textarea

2011-08-03 Thread Trevor
This solution also works Thanks, Trevor On Aug 3, 7:36 am, Raveendran P jazzezr...@gmail.com wrote: Hi, Try thi #*puts doc*     = retruns the text So Pelase convert doc into String *doc=doc.to_s* puts doc.class = String (The next line works only the inoput is String or Fixnum

[wtr-general] Entering XML in textarea

2011-08-02 Thread Trevor
watir version = 1.9.2 ruby version = 1.8.7 Hi, I need to read XML from a document and put it into a textarea. I use REXML to read the file, but when I try to dump this into the textarea I get an error and the field shows [object] eg file = File.new( C:/canoe1.xml ) doc =

[wtr-general] Re: About ci_reporter

2009-10-28 Thread Trevor
Trevor On 28 Oct, 10:04, Qiannan Zhang qian...@ecitysky.com wrote: How to display the test results from xml to html? \(^o^)/~ Thanks for reading my question. On Wed, Oct 28, 2009 at 4:57 PM, Qiannan Zhang qian...@ecitysky.com wrote: I already saw those web pages that google searched

[wtr-general] Re: SendKey focus missing in IE 7

2009-10-09 Thread Trevor
I had a similar problem I also had to use a workaround, basically just tab away from the address bar first e.g. $browser.send_keys({tab}) #Added for IE7 as focus remains in the address bar unless tabbed away from it Trevor On 9 Oct, 13:46, Prince3105 prince3...@gmail.com wrote

[wtr-general] Console output when compare file fails

2009-10-09 Thread Trevor
(@expectedTS, @actualTS) Thanks, Trevor --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines

[wtr-general] Re: Console output when compare file fails

2009-10-09 Thread Trevor
Thanks Bill. I'm sure I was having problems before (was quite a while ago) when using file compare, which was why I was using the file read method. Seems to work OK now, so no idea what I was doing before! Thanks, Trevor On 9 Oct, 15:32, Bill Agee billa...@gmail.com wrote: I would try

[wtr-general] Re: Tooltip text with overlib

2009-04-09 Thread Trevor
Additional HTML below: tr tdWhat is the name of this configuration?/td td width=25 align=center img src=../images/help.gif onmouseover=return overlib ('The unique name of this configuration.') onmouseout=return nd();/ /td tdinput type=text name=name value=

[wtr-general] Tooltip text with overlib

2009-04-08 Thread Trevor
identical html, with the exception of the returned text (and the Index) i.e. Element: [IMG], Frame: [mainFrame/centralFrame], Index: [95] IMG onmouseover=return overlib('The unique name of this configuration.') onmouseout=return nd(); src=../images/help.gif Any pointers would be appreciated. Trevor