495 reputation
113
bio website crossingsrp.no-ip.org
location Akron, OH
age 26
visits member for 1 year, 10 months
seen yesterday

I work in a Test Automation team in an SQA department of a large company in the US


Jul
25
comment Can I force a Jenkins job to report a successful TestNG test even when the suite has failures?
Why do you want this? Typically a failed test means a problem with the product under test or a problem with the test suite. Either way, you would want to be alerted to this, wouldn't you?
Jul
25
comment Can I force a Jenkins job to report a successful TestNG test even when the suite has failures?
This will not report a success in the case of 3, 2, or 1 failing tests. It will report "unstable".
Jul
7
comment Using multiple instances of webDriver
@razizcool4all If you're talking about Java/JUnit, this is where you'll want to use inheritance; if your test class inherits from a base class, and that base class defines a setup method, that setup method will be run before the test as well.
Jul
7
comment How credible are WebDriver tests?
Same version of IE? No compatibility mode? No user-specific settings? If you pause the test and complete it manually using the exact browser window Selenium was driving, do you get the bug?
Jun
26
comment How can I use Surefire to run parameterized tests in parallel?
@Twaldigas I was using something like that (actually the one provided by Sauce Labs), but it only does one thread per browser. I want one per class, which Surefire supports.
Jun
23
comment homework testing method for schools
This would probably work better on academia.SE, where other educators have been solving similar problems
Jun
6
comment Selenium opens browser and loads page, then stops
My bad, you marked it with JBehave, not JCuke
Jun
6
comment Selenium opens browser and loads page, then stops
Is this Java? With... JCuke? Have you tried running a debugger to see if the code in the step definition gets executed?
Jun
5
comment Cannot click link inside div?
No, because it's clearly visible on the page nowhere near the edges. I guess I could give it a shot, but it says the container would receive the click and the container only contains the link I want to click so it clearly has found the thing...
Jun
5
comment Cannot click link inside div?
That's what I'm already doing: trying to click the a tag inside the div tag, but it won't click on it.
Jun
2
comment Parameterized JUnit tests with HtmlUnitDriver leading to test termination
@StatusQuo Javascript interpretation depends on the browser; if you have a javascript issue on your home page (or HTMLUnit cannot parse the javascript, it might be correct but HTMLUnit might not be capable of running it), there may not be any URLs on the page. No URLs to scrape means no data to parameterize.
Jun
2
comment How common is testing based on log files analysis?
This isn't really testing, let alone acceptance-testing; log analysis like this is more about maintenance and detecting problems after deployment than testing pre-deployment to ensure the code is correct.
May
28
comment Cannot click link inside div?
The anchor tag is, in fact, clickable in the center of it. The div it claims would receive the click would do so only because it wraps the anchor tag. Firefox clicks there just fine.
May
19
comment Using remoteWebDriver, can I change the time on the executing system?
Your option one looks great, but I'm running under Java. Any ideas that work with Java? And how can I get around the fact that my executing code is on the one machine (eventually the CI server probably) while the browser window is on the remote machine?
May
16
comment Using remoteWebDriver, can I change the time on the executing system?
The test is along the lines of "When I do X and it is Y day of the week". I need to somehow make the web application believe it is Y day so I can verify that it does the right thing. A similar basic use case is "When the store is closed, it should display "closed"" for a store that is closed on Sundays
May
9
comment How to test a search engine?
@user7699 You probably have functional requirements, they're just not enumerated. Someone somewhere wanted this thing to be built in order to serve a specific purpose; otherwise, a paper drawing of the Google homepage would suffice. Find out who they are, sit down with them, and ask them what they want. You'll probably hear things like "it works" and "it works quickly" -- there's two requirements already, that can be broken down further.
May
6
comment How can I do data parameterization in Selenium Web Driver?
What unit testing framework are you using? Most of them have ways of doing this
May
2
comment How can I restart the browser in the middle of a test?
Isn't it bad form to have tests dependent upon other tests, marrying them to a specific order they must be run in? :(
Apr
14
comment selenium wget download file
@Kazman If I was helpful, please click the little "up" arrow next to my post :) And if that solved your problem, go ahead and click the little checkmark to accept the answer
Apr
10
comment Test results that differ from running via command line versus IDE
You should probably be using waits; Selenium sees the page as loaded usually before the AJAX kicks off, so you should be telling it to wait for some indication that the AJAX has finished. See deanhume.com/Home/BlogPost/…