[wtr-general] Re: Quick Start, Unit Tests, & Server 2003 sp2

2008-11-07 Thread Chuck vdL
Should I just update the Wiki page for this portion or the quickstart/ tutorial ? or are there only specific folks that should be updating those pages? I also found one other discrepency that I noted, which was at the point where the quickstart had me enter ie.text_field(:name, "q").set "Watir

[wtr-general] Re: Watir 1.6.2 has been uploaded to Rubyforge

2008-11-09 Thread Chuck vdL
On Nov 7, 8:43 am, Bret Pettichord <[EMAIL PROTECTED]> wrote: > Comments inline. > >> CONCLUSION: >> I would like to run tests after gems are installed. I think most users >> want to do that so they can see watir in action. > > >Unfortunately this is not easy to fix right now. We are about hal

[wtr-general] Tutorial Examples now 'missing'

2008-11-09 Thread Chuck vdL
I think I found them back on the 1.5 branch, but the trunk based links to the Examples folder given in the tutorial are no longer working. I installed watir just before you bumped to 1.6 but have been busy with other things at work and was just now starting on the tutorial. Is someone slated to

[wtr-general] Re: Tutorial Examples now 'missing'

2008-11-10 Thread Chuck vdL
1 am, Bret Pettichord <[EMAIL PROTECTED]> wrote: > It is unclear to me what examples you mean. > > Examples that had been included in the 1.5 source tree were moved to the > wiki.http://wiki.openqa.org/display/WTR/Examples > > Bret > > > > Chuck vdL wrote: > >

[wtr-general] Re: Login problem using watir

2008-11-11 Thread Chuck vdL
A few things to check before the other more experienced folks chime in is the field name the same each time the page is rendered? name not duplicated elsewhere in the page code? have you tried an attribute other than 'name' that might be used to identify the field? On Nov 10, 1:54 am, Giri <[

[wtr-general] Should Tutorial and Quickstart be updated to use Watir::Browser?

2008-11-14 Thread Chuck vdL
right now both of them are very IE specific Shouldn't they be changed to reflect the new integration with Firewatir and altered so that * They use Watir::Browser instead of Watir::IE * show how to set the browser type * use an a generic name for the browser object other than 'ie' * show how to c

[wtr-general] Re: Should a logger be included in Watir?

2008-11-14 Thread Chuck vdL
I think JArkelen points out something fairly valuable here. we're overloading the term 'logger' and that's causing confusion.. perhaps using more distinct nomenclature would be good? In my view there is both "Logging" used for debugging of scripts or how exactly the application is failing when s

[wtr-general] Re: Should Tutorial and Quickstart be updated to use Watir::Browser?

2008-11-17 Thread Chuck vdL
Filipin" <[EMAIL PROTECTED]> wrote: > On Fri, Nov 14, 2008 at 17:23, Chuck vdL <[EMAIL PROTECTED]> wrote: > > Shouldn't they be changed to reflect the new integration with > > Firewatir > > +1 > > You sound like you know what you are talking a

[wtr-general] Re: Text field Numeric Issue

2008-11-20 Thread Chuck vdL
OK here's the thing. neither HTML nor the HTTP protocol used to send requests to the webserver have any concept of string vs numeric datatypes. it's all effectively just ascii characters (strings basically). So if you are seeing some kind of form validation occuring WITHOUT posting some or par

[wtr-general] Re: How to click dijit button char

2008-11-24 Thread Chuck vdL
is there anything in the html that is defining something like an 'onclick' for that thing? all I see in the code above is basically just text..and normal text isn't clickable as far as I know. maybe there's some other object that's actually overlapping that button On Nov 21, 11:30 am, maven9

[wtr-general] Re: How to click dijit button char

2008-11-25 Thread Chuck vdL
included in my original > question: > > > dojoattachevent="onmousedown:_onArrowMouseDown,onmouseup:_onMouse,onmouseen-ter:_onMouse,onmouseleave:_onMouse" > dojoattachpoint="downArrowNode"> > role="presentation"> > ▼ > > > >

[wtr-general] Re: Getting error at installing 1.6.1

2008-11-25 Thread Chuck vdL
FYI: got this same builder doc error when I tried to install just now.. Do we need to update the install instructions in the tutorial and such to reflect that users might expect to see this error, and what (if anything) they need to do about it? Perhaps also update the 'Output should be someth

[wtr-general] Watir & Ruby in Steel

2008-12-01 Thread Chuck vdL
I'm having a look at Ruby in Steel as a potential IDE for doing testing automation with Watir. Mostly because: 1) all my devs use Visual Studio for their work, so it puts me on the same platform, gives me good integration with our source control etc. 2) Intellis

[wtr-general] Re: How to click dijit button char

2008-12-01 Thread Chuck vdL
its > time to have a few words with the developer :-) > > Thanks to Chuck and Wesley for their help! > > On Nov 25, 4:37 pm, Chuck vdL <[EMAIL PROTECTED]> wrote: > > > > > OK so we can't see what the functions called by them do, but it does > > look lik

[wtr-general] Re: Watir & Ruby in Steel

2008-12-01 Thread Chuck vdL
suggested by the parser, you might be > able rearrange some of the code to better help the parser > > Paul > > > > On Mon, Dec 1, 2008 at 11:16 AM, Chuck vdL <[EMAIL PROTECTED]> wrote: > > > I'm having a look at Ruby in Steel as a potential IDE for doing &g

[wtr-general] Re: Watir & Ruby in Steel

2008-12-01 Thread Chuck vdL
def my_method( *args ) > >     if args.length ==2 >         puts "arg[0] is " + arg[0] >     else >         puts "you didnt supply 2 args" >     end > > end > > my_method( 2,3)     # produces arg[0] is 2 > my_method( 4,5,6)  # produces you d

[wtr-general] Re: Watir & Ruby in Steel

2008-12-01 Thread Chuck vdL
se of +begin...end+ blocks. > >         raise "Failed to create socket" >         raise ArgumentError, "No parameters", caller > > which menas you could do as you describe - add brackets round it all. > > To submit a patch, open a jira ticket and do a diff of

[wtr-general] Re: Watir & Ruby in Steel

2008-12-01 Thread Chuck vdL
On Dec 1, 12:14 pm, Bret Pettichord <[EMAIL PROTECTED]> wrote: > Please do note that all of the examples you've found so far represent > correct Ruby code. In many cases with Ruby, parentheses are optional. > > It might be best if you reported your findings to the Ruby in Steel > people so that th

[wtr-general] Re: Watir & Ruby in Steel

2008-12-01 Thread Chuck vdL
orking with Ruby and Watir both. I'm rather hoping that it's something simple I've not done right and not a bug, but we will have to see how the Sapphire people respond. On Dec 1, 12:58 pm, Chuck vdL <[EMAIL PROTECTED]> wrote: > On Dec 1, 12:14 pm, Bret Pettichord <[EMAIL P

[wtr-general] Re: Unable to find the value "blah..." within a listbox. Value is retrieved from excel cell

2008-12-01 Thread Chuck vdL
Is 'Blah" the actual value defined in the HTML for that listbox item, or is perhaps the browser UI visually truncating something longer down to what will fit in available space for the way the listbox is defined? On Dec 1, 1:11 pm, Moochie <[EMAIL PROTECTED]> wrote: > For some reason when I

[wtr-general] Re: Unable to find the value "blah..." within a listbox. Value is retrieved from excel cell

2008-12-01 Thread Chuck vdL
xcel that ... Means á > > Not sure though. > > > > -Original Message- > From: watir-general@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of > Chuck vdL > Sent: Monday, December 01, 2008 4:18 PM > To: Watir General > Subject: [wtr-general] Re: Unable to f

[wtr-general] Re: How to click the ► on the page?

2008-12-02 Thread Chuck vdL
There was another thread here in the last week on just this same sort of thing. try reading this thread, which I think had sample code and all You'll need to fire the onclick event for that object, you

[wtr-general] Updating RubyForge info for Watir?

2008-12-02 Thread Chuck vdL
Is this on the todo list? I was just there and noticed that the info still indicates it's windows only, ie only, there's no release notice for 1.6.2 under 'latest news, and is the development status still actually considered to be 'beta' ? --~--~-~--~~~---~--~~ Y

[wtr-general] Re: Clicking tabs has no effect

2008-12-05 Thread Chuck vdL
try mouseup instead of mousedown.. some webdevs seem to like to use two events, one to take care of the visual effect when you 'press' the button down, and another than actually makes things happen when the mouse button is released. (a side effect of this btw is that if a user 'slides' off the c

[wtr-general] Re: Watir & Ruby in Steel

2008-12-05 Thread Chuck vdL
rubyforge-1.0.1 rake-0.8.3 hoe-1.8.2 s4t-utils-1.0.4 builder-2.1.2 user-choices-1.1.6 commonwatir-1.6.2 firewatir-1.6.2 watir-1.6.2 On Dec 1, 2:15 pm, Chuck vdL <[EMAIL PROTECTED]> wrote: > OK  posted a message in the forums over at SapphireSteel  regarding my > experience so far. >

[wtr-general] Re: Need to pick amount from the script

2008-12-09 Thread Chuck vdL
it's possible the regular expression isn't matching .. The first thing I'd do to debug is remove the split and just puts ksh to see what you 'have' in the string before you try to split it. eg for debugging purposes try if $ie.div(:text, /Balance:/).exists? ksh = $ie.d(:text, /Balance:/).

[wtr-general] Re: Need to pick amount from the script

2008-12-09 Thread Chuck vdL
gah just noticed typo in the below.. the method is of course .text not .txt as I've typed it On Dec 9, 1:20 pm, Chuck vdL <[EMAIL PROTECTED]> wrote: > it's possible the regular expression isn't matching .. > > The first thing I'd do to debug is remove th

[wtr-general] Re: set watir_browser=ie is not working

2008-12-11 Thread Chuck vdL
The set option is a nice way to be able to run the very same script against both browsers without having to edit the script itself. e.g. run in one system set for IE, and it uses IE, run it on another system set for firefox, and it uses firefox.. but speaking of that, if both are used, which ta

[wtr-general] Re: Does Watir support

2009-01-03 Thread Chuck vdL
>>5.Can be used for Load Testing? ok I'm gonna get up on a soapbox for a moment. THIS is a bogus requirement. If you want to say "simple" or "rudimentary" loadtesting then I can accept it, but ANY tool maker that claims their tool is good for both functional testing at the UI level, and can AL

[wtr-general] Re: Does Watir support

2009-01-04 Thread Chuck vdL
could do via simple http capture and playback are not normally the things that cause load issues.. so it's good for really basic tests, but again not terribly useful for most serious loadtests. On Jan 4, 3:35 am, Alex Collins wrote: > On 4 Jan 2009, at 07:13, Chuck vdL wrote: >

[wtr-general] Preference for where to put example improvements?

2009-03-10 Thread Chuck vdL
I've been playing with the CLReport example html reporting class, I've added the concept of a 'blocked' test (e.g. if you were going to check the URL of a link, but the link doesn't exist) and also have what I think might be slightly more useful examples of how to use it (by creating a 'validate