Reputation
537
Top tag
Next privilege 750 Rep.
See votes, expandable usercard
Badges
2 10
Newest
 Yearling
Impact
~6k people reached

May
15
comment Efficent way of checking if Element is Not Present
This same question has been asked on stackoverflow, there's some useful information there: stackoverflow.com/questions/11034710/…
May
14
comment Selenium IDE errors
@ArYa - it'd be most helpful if you edit your question to include that code; it's not very readable if it's just in the comment.
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
30
comment How to login using Alert.authenticateUsing?
What's going wrong with the code - do you get exceptions?
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
20
comment Newbie: Unable to identify objects in QTP from QC?
Hi Subhash - I think most of what you say there would be better as a comment on the question, rather than an answer.
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?
Apr
16
comment Opening Multiple windows of firefox in the same test case
Rather than running multiple testcases at once, it might be possible to speed them up. If you have any sleep() calls, replace those with explicit waits to cut down on waiting time; and try running it in a headless browser to make it go faster; I recomment PhantomJS.
Apr
15
comment Selenium - what is the CSS for the following Xpath
Hi Monika, welcome to sqa.stackexchange! About your question: on this site, when you ask a question you really need to show what you have tried so far and say why you think it isn't working; you shouldn't just ask for a solution to your problem without having tried it yourself first. If you don't know how css selectors work at all, then there are many tutorials where you can find out; Alan Richardson's book Selenium Simplified is very good.
Apr
14
comment Smoke testing by Dev team
A small number of deployment-validation tests to exercise the dependencies sounds like a good idea. However, I agree that needing the developers to do functional testing of each module sounds like overkill.
Mar
27
comment sometimes “invisible element” exception and sometime ‘timeout’ appers
When you're running the test, in release mode, are you sure that the div you're clicking on is visible?