Reputation
570
Top tag
Next privilege 750 Rep.
See votes, expandable usercard
Badges
2 11
Newest
 Organizer
Impact
~9k people reached

Aug
3
comment How to specify an existing database for django to use?
@yaobin I've edited your question so it's now asking about Django, because that's what is responsible for the test db.
Jul
20
comment Locating button element in modal and/or new window
I recommend using Firepath for Firebug to check your xpath and css selectors - it's quick, easy and reliable.
Jul
16
comment Cannot capture the warning message: NoAlertException
Hi user12701 - are you sure that your web page is using a javascript alert to display the message? It might be an html overlay, which you need to look for in a quite different way.
Jul
13
comment How to specify an existing database for django to use?
Selenium doesn't normally use a database at all - how is it using one in your test setup?
Jul
13
comment StaleElementReferenceException in selenium
Can you give more details of the error?
Jul
6
comment On different OSes, what standard files can I assume exist which can be uploaded?
@MattJohnson I might try that, yes; but it would be a bit more code to implement, and slower to run - if I can rely on files which already exist that's just easier.
Jul
1
comment Blurred screenshots with Selenium Webdriver
There's another question with what looks like precisely the same problem: sqa.stackexchange.com/questions/10449/…
Jul
1
comment Blurred screenshots with Selenium Webdriver
Does the browser actually look like that, or is it only a problem with the screenshot?
May
1
comment getTitle() returning current URL instead of page title
Hi Sunil - does it fix the problem if you add an explicit wait to make sure the page loads completely before you check the page title?
Apr
28
comment Fast login to application (magic url alternatives)
Well, it depends on your application. Even if you mimic a cookie for a logged-in session, the application may well do server-side checks to see whether it should trust your login session. You may need to ask your developers.
Apr
25
comment Selenium Webdriver runs in root but not in non-root account
To work out why you get a NoSuchElementException, you need to know the state of the browser on the line which is erroring. I recommend you set up a junit rule which will make it take a screenshot (if that is possible) and log the state of the DOM. That way, you'll be able to diagnose these errors yourself; and that's an important skill, because if you work with webdriver much you will get a lot of those errors.
Apr
24
comment Testcases fails on chromedriver
Yes, this is likely to fix it. The null pointer exception points to the driver object (or lack of it) being the source of the problem.
Apr
24
comment Testcases fails on chromedriver
The findElement method doesn't through a null pointer exception if the selector is wrong, so using a css selector won't fix it. This kind of exception is thrown if the driver object doesn't exist.
Apr
24
comment Python selenium - how can I loop a function to make 100 Copy accounts using different emails
Do you know the email addresses in advance, i.e. are you working from a fixed list? Or could you make up the email addresses in the code?
Apr
24
comment how to iterate over a collection of items in selenium webdriver
Can you post the html of the elements you're looking at? Also, can you explain what it is about the second element that you're interested in, and how you can tell it apart from the others?
Apr
21
comment Selenium webdriver with python - cannot find dynamic content
Hi account4327, and welcome to sqa.stackexchange. Have you looked into the webdriver's switchTo() method? There are already plenty of answers here, and on stackoverflow, discussing it.
Apr
20
comment Selecting multiple options and deselecting options using Selenium with python
Hi Moj: can you give more detail about what goes wrong when you run your test, and what your expected result was? If there is an error, some detail from that would be useful.
Apr
16
comment Opening Multiple windows of firefox in the same test case
Good luck with that - but definitely replace those sleeps with explicit waits. They'll do the job more reliably, and never waste any time when the browser runs quickly.
Apr
16
comment How to click on Canvas element?
Your xpath still wouldn't find any canvas element in that html, I think. I recommend using FirePath in Firefox to validate that your xpath works correctly.
Apr
16
comment The best time to run acceptance-tests with Cucumber/selenium?
Hi Pedro; there are good reasons to run the tests on both environments, but it depends on what those environments are used for. Is your qa site only for the use of the software testing team?