Chuck van der Linden

Maltby, Washington State, USA

resolvedtotest.com

Age: 52

Just your typical software testing Sci-fi geek. (if there is such a thing. Been working with computers since the mid 74's, and doing so professionally since the early 80's It's been a long journey from the days of acoustically coupled modems, teletypes, and programs stored on punch-tape

Interests are: Agile Testing; BDD/ATDD; performance and load testing; Webtest UI automation via Watir and Cucumber; Virtualization of testbed systems using Hyper-V.

Also a bit of a hardware geek, building all my own systems other than laptops and tablets, as well as the occasional floating-arm trebuchet enter image description here when I feel the need to have fun sieging the castle or flinging a pumpkin or two.

5h
comment Look for text in a div that has multiple links under it with Watir
browser.div(:class => "more-links").a(:text => "Third Link").should exist
5h
comment Look for text in a div that has multiple links under it with Watir
if you are using cucumber, why are you using assert and not .should?
5h
revised Look for text in a div that has multiple links under it with Watir
missing paren in code
5h
comment Look for text in a div that has multiple links under it with Watir
Do you mean there is more than one Div with that class? in that case you will need to add an additional qualifier, such as Index, or start with a unique container that holds the div.. Showing us more of the HTML might help in that case
5h
answered Why does requiring 'watir-webdriver' in my macruby application in xcode cause this error?
6h
comment Why does requiring 'watir-webdriver' in my macruby application in xcode cause this error?
I run watir on a mac but I do not use xcode, I've installed the latest ruby 1.9.3 (I'll probably move to 2.0, but only after the rest of the project I'm testing against does that also) (and I tend to use rubymine to as my IDE, so I'm useless with xcode..) SO my questions. if you run ruby -version from terminal session, what does it return? If you do gem list what does it return?
6h
revised watir gem install error due to mini_magick file w/ special characters
formatting
6h
revised Command Prompt error since i am using a generic path to open an excel file
removed watir tag, there is zero watir related code here. added win32ole tag
6h
comment watir-webdriver functions do not execute as a script but works on the interactive ruby shell
that is a weird error.. I wonder if the UI does some destroy-re-create on that scroll div. Custom controls like that can be a big pain sometimes.. They can also turn out to be very unfriendly to touch based browsing
6h
comment Page-object method to get an element location
strange 'wd' is just an alias for '.driver' and as far as I can tell from the Rdoc, page-object has no method for either. It would seem what you are doing is pretty much correct, in that you are expecting it to pass through to webdriver
6h
comment Watir-webdriver unable to identify button by value?
I don't like having to accept this as the answer, but it is for the moment 'correct'. And thanks to @JustinKo for digging into the source to find this
7h
accepted Watir-webdriver unable to identify button by value?
7h
comment Watir-webdriver unable to identify button by value?
@p0deje It depends on how the button is defined. If done via an input tag (which does not allow text, so effectively the displayed text of the button (visually to the user) and the 'value' are the same thing, it works great. If you use the button tag otoh, it allows you to embed text, so the displayed text (and what you would use to select using :text) and the 'value' can be entirely different. In that case using :value fails, unless the value you supply is for the included text, not the value attribute. Ugh
7h
comment Watir-webdriver unable to identify button by value?
Have a close look between what you have here, and what I tried in IRB above.. you would think this would work. it does not, that is the gist of the entire question
May
17
comment advantages and disadvantages of ruby exception handling
take a little time to educate yourself and you will not be constantly blocked needing quick answers, because you will already know the answers, or where to look to find them again. It's an investment well worth the time if you aim to be good at your craft.
May
17
comment <button> vs. <input type="button" />. Which to use?
I can only wish IE6 was truly dead.. hundreds of thousands of east asians running pirated XP that doesn't get windows update are still running with IE6, that keeps it alive in any world-wide browser market share metrics. Of course if your product is mostly for North America or Western Europe, it's generally easy to convince TPTB to drop support for IE6.
May
17
revised How do you check for a changing value within a string
added 434 characters in body
May
16
comment jruby1.6.7+watir+cucumer1.2.1 on win7 can not open ff14.0.1
Why such an old firefox? The current general release is 21, the current Extended Support Release (ESR) is 17 (mozilla.org/en-US/firefox/organizations/all.html). Typically we have our automation testbeds use the ESR which is updated about once a year.. and use the current general release on people's desktops. (less hassle of continuously updating testbeds)
May
16
revised jruby1.6.7+watir+cucumer1.2.1 on win7 can not open ff14.0.1
retagged
May
16
answered Connection refused error when I try to close a Watir browser?
1 2 3 4 5