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.

May
20
comment An error occurred in an after hook ChildProcess::LaunchError: (216)
What ruby are you running on? (ruby -v)
May
20
comment How do I turn off the logging for PhantomJS in Watir-WebDriver?
watir uses webdriver to talk to phantomjs.. webdriver communicates with phantomjs via ghostdriver. The docs for ghostdriver stuff are (I am told) part of the webdriver project. try looking there for options perhaps?
May
20
comment Watir PhantomJS driver optional argument for ignoring SSL errors?
Had to use this with newer Phantomjs which would not navigate to an https site (not even google.com) without telling it to ignore ssl errors..
Apr
29
comment Watir select option not in list
Note: if the page allowed you to set the select list for a value not present, and accepted that, you ought to be filing bugs regarding security.. Forms of any type that allow you to provide a value in a select list that is not there to start with are generally a bad idea, big 'spoofing' security risk
Apr
29
revised Watir select option not in list
added details from comments
Apr
29
comment Watir select option not in list
Unless it is a custom control that lets you input your own values, then no you cannot do this. although depending on how it is controlled there still might be other methods to spoof the system into giving you larger number of results per page.
Apr
29
comment Watir select option not in list
in short, look at the existing url for the page after you have set the page size.. If you see the page size as a query string parameter, then you can perhaps spoof a non supported value. If it is not a parameter than the value is saved somewhere else. So look at cookies, and HTTP request header values, might be saved in one of those places.. if not is likely server side and not much you can do
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.
1 2 3 4 5