Chuck van der Linden

Maltby, Washington State, USA

resolvedtotest.com

Age: 54

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.

Apr
24
awarded Critic
Apr
24
reviewed Approve suggested edit on Google Drive API JavaScript having trouble getting file properties
Apr
24
reviewed Approve suggested edit on Setting table row height in CSS
Apr
24
reviewed Approve suggested edit on Stop EditText from gaining focus at Activity startup
Apr
24
reviewed Approve suggested edit on Cloudera Manager fails to add hosts
Apr
24
reviewed Approve suggested edit on Concatenating data in MySQL
Apr
24
revised Watir-webdriver can't click on visible link which appears in popup
added 354 characters in body
Apr
24
answered Watir-webdriver can't click on visible link which appears in popup
Apr
24
comment Watir-webdriver can't click on visible link which appears in popup
WHY oh why oh why are you using javascript to click something? is that how normal users interact with your system?
Apr
24
comment Watir-webdriver can't click on visible link which appears in popup
but it sounds like your own method also does not work each time. maybe you would be better off looking closer at why wait_until_present is not working for you?
Apr
24
comment Instantiating a watir browser on test failure in Cucumber without using the singleton pattern
obviously there can be a lot of difference between web apps, but is your fear and code justified or YAGNI? Have you actually encountered carry-over errors due to browser state with your app? In the last several years of testing using Watir & Cucumber I've never had this problem myself. (although I will admit that precisely zero of my tests assume the browser is already on the needed page etc.) The closest I come is that I check to see if the user I want is already logged in before having the current user logout and then sign-in with the required user.
Apr
24
comment Watir click events inside iFrame?
can you do what you want manually, by taking the browser to a given page and clicking on things etc? if not, you won't be able to do it with Watir. If the code on the page opens a new tab when used manually, it will do that when driven by watir, or any other browser driver that sits on top of webdriver.. because the purpose of these tools is to interact with the browser as a user would. If you could not do something manually, then it is doubtful you would be able to do it via watir-webdriver as we cannot just magically make a browser do something it would not normally do.
Apr
24
comment Click button with Watir can't find button
note for future, it is helpful to post HTML that covers anything being used in your code.. in the code above you are trying to work with a table and a span, but your html is for a link, without any context as to how that relates to the table or span in your code.
Apr
24
revised Click button with Watir can't find button
made html more readable
Apr
24
comment Watir Rspec : How to compare input string with added one
please include a bit more of your code and the details someone else would need to reproduce this problem. right now, I'm left scratching my head regarding the failure and wondering if it is even on the line you seem to think is the issue, since I've never seen an error like that from expectations.
Apr
21
comment ambiguous option: --o (OptionParser::AmbiguousOption) error received when running Selenium, ruby script
wow, so many differences, different ruby, but most importantly, very different cucumber. as a first step I might try using the same version of cucumber. barring that we really need to see the specific line where the error occurs
Apr
21
comment PhantomJs + Watir: Error Message => 'undefined' (Selenium::WebDriver::Error::UnknownCommandError)
it seems it is failing when it tries to find the checkbox, based on the stack trace.. yet the error is not a simple could not locate sort of error... all of which is strange. Does the same code work with a real browser?
Apr
16
comment Check if a constant is already defined
Thanks for this answer.. great workaround for not being able to use ||= reliably with a boolean
Apr
15
comment Appium 1.3.7 not launching android emulator when appium started with separate method in Ruby
be interesting to see if this works.. the other thing to try would be to maybe do the browser startup inside the start method, and have it return the browser object?
Apr
15
answered How to retrieve values from a rect html tag using watir
1 2 3 4 5