Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

2
votes
4answers
13k views

want to scroll down page/form using selenium webdriver

I want to scroll down a page that is coming inside a form, not in the main page. I tried this code JavascriptExecutor jse = (JavascriptExecutor)driver; jse.executeScript("window.scrollBy(0,250)", ...
2
votes
1answer
36 views

Cannot capture the warning message: NoAlertException

When I try to capture "warning message", the NoAlertException is being thrown. For example I enter a user name and wrong password and click on "submit" button; now a message will be displayed saying ...
1
vote
1answer
168 views

send testng report(emailable-report.html) file through mail after executing all test cases

I am trying to send an email after executing the test cases with an attachment of testng generated emailable-report.html file ,But I am resulting in error. please find the stack trace here and do ...
0
votes
0answers
42 views

Things to consider when starting project with Cucumber and Page Object Pattern?

I'm trying to build a new framework based on Cucumber and Page Object Pattern. Could you please advice me what\'s approach based on your experience before doing automation project like: – What's ...
1
vote
1answer
146 views

Is it possible to convert Telerik test studio tests to selenium?

After a change of tooling, we now have a combination of Telerik test studio tests and selenium tests. Is it possible to covert Telerik test studio into Selenium WebDriver tests?
0
votes
2answers
32 views

How to click a checkbox with Selenium Python without an id? [duplicate]

How do I click a checkbox with Selenium Python, if I don't have any id which defines the checkbox?
-2
votes
1answer
168 views

Want to capture data after the search action using Selenium WebDriver

I am working on a ERP application where I have to click on a 'Search' button after which it will give me list of data. I want to automate that using WebDriver. The Search tab is empty before the ...
2
votes
2answers
4k views

Setup appium for Android on Mac osx 10.8.5

I am new to mobile testing. I want to configure appium for testing android applicaiton on Mac machine. Can someone provide the steps to do. And I want to using with selenium webdriver using Java.
0
votes
2answers
249 views

Selenium Cannot locate element

I am working on automation, while automating a form with number of drop-down's. The problem with me is, when run the code in maximize mode of window it gives me an Error: ...
0
votes
0answers
51 views

Selenium Grid2 - IOException thrown while closing Closeable.

I am executing my Selenium tests against a Grid server, hosted on a different machine. My grid invocation is (bat file): cd c:\ start java -jar c:\selenium-server-standalone-2.46.0.jar -role hub ...
0
votes
1answer
33 views

Mouse hover Action - Unable to click hidden link

I am unable to click the hidden link ("WatchBanking") after using moveToElement(). WebElement lnkW2yB=dr.findElement(By.xpath("//a[@href='/personal/ways_to_bank/ways-to-bank-landing']")); Actions ...
0
votes
2answers
51 views

Verify two elements exist next to each other on a page

I'm trying to verify that an element exists on a page next to another element. I'm using Selenium Webdriver with Python bindings, but can't figure out how to do this...i'm a Selenium/Python noob BTW. ...
2
votes
4answers
109 views

Selenium WebDriver not properly waiting

I am trying to download a file from a website using a webdriver. But my browser is shutting down before it was able to properly export. I inserted a wait() before I call dispose() but it is not ...
0
votes
1answer
140 views

Selenium framework using C# and excel

I am new to automation (Selenium ). I am working as manual tester and recently got a task related to selenium automation. I have basic knowledge of selenium and very good knowledge of C#. I can ...
0
votes
2answers
81 views

Selenium Web Driver and OpenLayers 2.x: How to do an identify on a map?

I've had to test a web mapping application that use OpenLayers 2.x, using Selenium Web Driver in Java and using Firefox (I'm on Windows 7). I've found only this issue: ...
0
votes
1answer
89 views

Conflict in Automation testing and Manual testing

I am new to Automation Testing. While writing an automation script using Selenium I am facing some issues. I have 7 Test Cases of which 2 Test Cases are repeatedly failing but when I check those cases ...
-2
votes
4answers
283 views

Selenium code for login popup window page

Will anyone please provide how to write selenium testing code for login popup window for example like in paytm site. When click on login button, it opens a popup window. In that we have to write code ...
0
votes
1answer
65 views

Select SSL certificates using Selenium web Driver

I'm using Selenium Web Driver on Windows 7. I need to test a web application and I've to use a SSL certificate to enter. I don't know how to select the right certificate to use my application. I'm ...
4
votes
2answers
703 views

PhantomJS 2.0 + PHPUnit + Selenium: anyone got it working?

I'd like to replace Firefox with PhantomJS for our PHPUnit-run Selenium tests. However, I haven't got a clue how to start. When we're using Firefox, something like this is in our code: ...
30
votes
4answers
4k views

Are Selenium functional tests reliable enough to be worthwhile?

I'm finding that regardless of how solid my tests scripts are, I still have tests that fail (falsely), even though they worked just fine before. I'm not talking about if markup changes (although that ...
7
votes
5answers
33k views

How do I close the browser window at the end of a Selenium test?

I have googled for the answer, but the ".stop()" so frequently mentioned doesn't work for me. The Chrome window the test was running in remains open. def test_getResults(self): sel = ...
0
votes
2answers
118 views

Which is the most appropriate book I should acquire in order to get started with selenium webdriver + jbehave?

We need to test a web application coded in html and javascript. They decided to use Selenium webdriver + jbehave technology and I am not very familiar with it. Which is the most appropriate book I ...
2
votes
1answer
101 views

Selenium Webdriver: How can I getText() if there's another text within div?

I have the following html: <div class="dialog-components"> <h2 class="dialog-title"> <div class="help-link"> <a href="http://google.com">Helps</a> ...
0
votes
1answer
123 views

selenium click stop working after several iteration

I have a test that clicks on a preview link > opens up a window and I do some sort of test in that newly open window. I then close that window and click on the preview link again and repeat. Let's ...
0
votes
1answer
35 views

Iterating across various open windows using Selenium and Python

So my question deals with iterating over multiple open windows at a time. Suppose I am opening a website (best example would be Naukri). As soon as the page loads, two more pop up windows open up. ...
1
vote
1answer
42 views

Selenium Timing Issue With Dialogs (Widgets) In Current Page

EDIT: I have narrowed the problem to its possible source see Update 2 and you can skip the intro. My issue is that selenium "thinks" it has clicked a link when the link click was never actually ...
0
votes
1answer
319 views

TimeOutException when trying to identify Dropdown Element in last iteration of For-Loop

I got stuck in for loop as the automation code is entering a loop that has few actions to be done like this: for (i = 0; i <= 2; i++) { // if(i==2)break; ...
0
votes
3answers
5k views

How to handle “Time out receiving message from the renderer” in chrome driver?

I am new to selenium, I'm facing "Time out receiving message from the renderer" in chrome browser while running test with selenium 2.41 and chrome 2.9x. I have tried many tests to reproduce the issue, ...
8
votes
7answers
12k views

Handling browser level authentication using Selenium

I am automating an application which contains browser level authentication. When I open the application, the browser performs basic authentication, i.e. it prompts for a username and password. How ...
1
vote
5answers
169 views

Will learning selenium add value to my career?

I have 8 years experience in manual testing. I've just gotten interested in automation testing now. Just wanted to know if learning selenium at this point of my career will add value. If yes, then in ...
0
votes
1answer
127 views

Is it possible to verify google analytics code, crazzy egg code, Optimizely code by selenium IDE?

I am a new tester in selenium IDE. I can check meta content by selenium IDE. But, I need to check some scripts as like Google analytics, crazy egg etc. Is selenium ide have any opportunity to check ...
0
votes
1answer
139 views

Clicking near the target element using mouse co-ordinates inside Firefox Window

http://www.dropmocks.com/mFuqje. In the screenshot you can see times like 12am, 1am.I have stored the times in a list and iterated one by one. For every element, I want to perform a click action ...
0
votes
3answers
263 views

How to automate Mouse hover action in webdriver/java/kendo ui

I just want to automate mouse hover function for my project the scenario is Scenario : There is a text box, if i hover on it,the edit icon will enable and i have to click that icon.
1
vote
6answers
15k views

Selenium test case fails due to page load time

I run nearly 30-40 test cases twice a day. And everytime some test case fails due to page load time. Infact i have explicitly mentioned Thread.sleep("2000"); wherever i feel it takes more time to ...
0
votes
1answer
41 views

Cucumber not finding @Findby annotations

Im trying to set up cucumber over my page object. I currently have as my login page object: @FindBy (id = cF.username) public WebElement username; @FindBy (id = cF.password) ...
2
votes
2answers
96 views

Executing the selenium script through servlets

I have a scenario in which I need to execute the selenium scripts through servlets. I mean I will get the same input from the front end (Web UI) by passing those values to selenium classes then I will ...
-1
votes
1answer
2k views

How to click on Canvas element?

How do I click on a Canvas element by using Selenium Web Driver and Java? I have searched Google but didn't find what I needed. A marker/pin is on the Google map and I have to click on the ...
0
votes
0answers
36 views

Upload file in Selenium using AutoIt? [duplicate]

I'm trying to upload a file using Selenium on Windows 7 using AutoIt following this tutorial http://www.toolsqa.com/selenium-webdriver/autoit-selenium-webdriver/. The web page I'm using is this one ...
0
votes
1answer
50 views

Solution for Test Automation for web gis/mapping application?

I have to find a solution for test automation for webbased GIS/mapping application that is using OpenLayers 2.x or Leaflet as JavaScript libraries. I'm oriented on evaluate Selenium WebDriver (or ...
0
votes
1answer
35 views

Why would StringUtils return the incorrect # of matches of a substring?

I am using StringUtils from the apache commons library to check the # of matches of a substring within the source code of an html page. I have converted the page source using the webdriver command: ...
3
votes
1answer
167 views

The HTTP request to the remote WebDriver server timed out after 60 seconds

I am running selenium tests in C# and every now and then I get this error while initiating or running my tests: The HTTP request to the remote WebDriver server for http://localhost:7055/xxxxx timed ...
0
votes
1answer
42 views

Get browser's current position using selenium webdriver

I would like to know if there's any way to know the absolute position of the browser's visible canvas. Ex: if I'm at a webpage and I scroll down 200px, I would like to know I'm on the coordinate ...
11
votes
10answers
11k views

What is a good website to hack around using Selenium?

I want to learn Selenium, but I don't know what to code. Sure, I can throw Google some queries, I can fill out some forms, press buttons, find divs and links, etc. But I think this stuff is pretty ...
1
vote
1answer
90 views

Can I email the testNG reports directly through selenium?

I want to send the testNG reports directly through mail to the stakeholders once its complete execution. What is the best possible way for it?
2
votes
5answers
183 views

What are the steps I should take to learn Selenium on the side?

I am currently working a full-time job in QA that does not utilize Selenium. However, I am interested in learning about how to use it and wanted to know what steps I should take to gain knowledge of ...
0
votes
2answers
84 views

Selenium Testing in Android Devices without USB connection

How can I do my selenium testing by opening the browser in android device from my PC, without connecting through USB?
4
votes
5answers
993 views

What kind of test cases can we not automate in selenium webdriver - java [closed]

I want to know what kind of test cases we cannot automate using selenium webdriver. I do not want to use any 3rd party tool (Autoit, etc..).
7
votes
7answers
5k views

How can I reduce the execution speed in webdriver so that I can view properly what is happening on browser?

I want to reduce the speed for execution of script so that I can view the execution properly on browser. I want do this in webdriver.
1
vote
1answer
47 views

Is it possible to access the css class using webdriver

I want to get the background image url which is defined in a css class . Is it possible to do by using selenium webdriver Example : Sample Text with Logo Now I want to achevie the logo url but that ...
1
vote
1answer
50 views

click() method is not working

I have a link which is having the href attribute as javascript:void(0), but it is having the onclick function. In the onclick function dev is use to log the number of hits to be database through ajax ...