Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

4
votes
2answers
1k views

What's the best approach to asserting dynamically generated values with selenium?

Suppose you have automation tests (my example uses Selenium) to assert complex business logic for a web site. What is the best way to assert that thousands of different test cases are outputting the ...
1
vote
1answer
210 views

Selenium: How to access the same session in a new window?

I have search throughout the internet but none of the answers I found have a clear solution. I am using selenium webdriver with Java. My test needs to verify when you save your login information ...
-1
votes
1answer
572 views

How to handle multiple columns of Data from Excel using Apache POI for Selenium WebDriver

I am new to Selenium WebDriver and I am automating an end to end test. My doubt here is, all the data for the test is stored in an excel file which contains more than 15 columns of data. Each @Test ...
0
votes
1answer
34 views

Which automation tools support Version One [closed]

Please confirm does any of the following automation tools provides support for Version One (Agile Project Management Software)? QTP Test Complete Selenium
-1
votes
3answers
190 views

Handling the unexpected popup ad's in website

I am currently working on Automation project for E-commerce site . In some pages unexpected popup's(ex:ad's) are displaying .Because of that my script was failing by throwing exceptions like ...
4
votes
3answers
241 views

Page Object Model or External property file for Selenium Object Repository

I am a beginner in Selenium WebDriver (Java with TestNg). I'm trying to create a framework of my own. My question here is what would be the better option to store my objects (basically all the ...
4
votes
1answer
297 views

Selenium RC with Firefox portable (Windows)

I tried to use FirefoxPortable with selenium from my Windows 7 OS but I'm having difficulty. So, I launched selenium RC server with the default folder profile of FirefoxPortable : java -jar ...
1
vote
3answers
76 views

Selenium how to identify an object by its type?

In Selenium is it possible to identify the object by its type? e.g. <input type="text" name="FirstName" value=""> Here can I identity the above element by its type of "text"?
1
vote
1answer
140 views

Creating a log file for each and every test case with executed test case name

I am working on selenium automation for one of the project, I have a number of test cases I want to create a separate log file for each and every test case Example : Suppose I have two test cases ...
0
votes
1answer
47 views

Reporting for Python tests built using PyUnit

I am looking for a good reporting tool for Python tests-specifically the one which supports Python 3.0+, with Selenium, built using the default PyUnit framework. So far I have come across only one ...
0
votes
1answer
120 views

unable to find element

I have the following code //import java.io.IOException; //import org.apache.bcel.generic.Select; import org.openqa.selenium.support.ui.Select; import org.openqa.selenium.By; ...
2
votes
1answer
118 views

Specflow and selenium, best practice for passing page objects between steps?

I am wondering what the best way to structure context injection is. I know that page objects should be instantiated / disposed of as they are needed (don't initialize all page objs at the start of a ...
0
votes
0answers
800 views

Using Selenium Builder with Jenkins

I'm trying out Selenium Builder as an alternative to Selenium IDE and Selenium Webdriver. I've been pointed to a useful tutorial here: http://seleniumbuilder.github.io/se-builder/tools.html ...but ...
3
votes
4answers
8k views

Selenium IDE newbie - click on button not working .net

I am using this Selenium command within the Firefox IDE, it's my first time with Selenium so I may be missing something basic. <tr> <td>click</td> ...
3
votes
0answers
34 views

Running tests in parallel with Spinach BDD framework

Currently in our company we use Spinach as a BDD framework and test runner for our automated acceptance tests. We also use Selenium as a browser driver, Capybara as an additional layer on top of it ...
0
votes
1answer
82 views

When running Selenium tests on another machine, page element renders offscreen so tests fail

My test cases are successfully executing through the terminal and Maven in my local environment but when I run the tests in a Jenkins job, they fail due to the browser size. (I have taken a screenshot ...
0
votes
1answer
184 views

Selenium hangs for modals in firefox browser for very long time

After opening the modal window or modal overlay , performing any click operation within the modal takes very long time. It doesn't throw any exception neither does the execution stops. ...
-3
votes
1answer
139 views

I'm getting error while executing selenium programs

import java.io.IOException; import org.apache.bcel.generic.Select; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import ...
4
votes
2answers
2k views

Web browser (in)compatibility with Selenium WebDriver

Very often, when my local or remote instance of Firefox is automatically updated, it stops working with the most recent version of Selenium WebDriver. They simply become incompatible until next ...
2
votes
1answer
97 views

How to get an active window title between two browser tabs/windows using Selenium Java

I can switch between two tabs/windows but my requirement is to know or get active window between them. In my project, on a click of a webElement of a page a random pop(tab/window) gets opened and I ...
1
vote
3answers
101 views

unable to take screen shot using webdriver [closed]

import java.io.IOException; import org.apache.commons.io.FileUtils; import org.eclipse.jetty.server.Response.OutputType; import org.openqa.selenium.TakesScreenshot; import ...
1
vote
1answer
33 views
2
votes
1answer
270 views

Selenium WebDriver sometimes fails to connect to the browser when running tests in headless mode

I'm experiencing timeouts when Webdriver connects to the Chrome browser in headless acceptance tests setup on Linux. I'm using the following setup to run the tests: Vagrant machine with Ubuntu ...
1
vote
0answers
56 views

PDF Automation using URL opened in Selenium, not a new URL

Currently im using Selenium Webdriver for c# and PDFBox to automate the PDF text of a report. Now, using PDFBox, we have the ability to parse a pdf given a URL link, with URL = new URL("link of ...
3
votes
4answers
137 views

How much SQL knowledge do I need to learn Selenium Testing

I have just started learning Selenium. I'd like to know how much knowledge of SQL I should have in order to be able to learn Selenium.
6
votes
5answers
5k views

Selenium.click not working on some anchor elements

The application that am working on was recently revamped and as part of that a new JQuery calendar was introduced. I need to click on a link in the calendar to select the time and date. However, ...
1
vote
3answers
670 views

Stress and Load Testing using Selenium-like tool

I have written some tests in Selenium using NodeJs and I am looking for a way to use those tests for stress testing web apps. Is there any tool that combined with selenium can do the trick? What I am ...
1
vote
1answer
220 views

How to select from drop-down list in selenium c# by specific attribute value?

<ul class="options"> <li data-raw-value="smt-b1bbdd96-f135-48ae-8744-e920942dd7a3" class="selected" data-sys-status="running">3. LIELA LEGAL SISTĒMA ( EN - LV )</li> I want to ...
-2
votes
5answers
728 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
2answers
180 views

Cannot access elements in iframe

I cannot access elements inside of an iframe, I have tried the call: IWebElement iframeSwitch = driver.FindElement(By.XPath("//iframe[contains(@id, 'contentIFrame1')and contains (@title, 'Content ...
1
vote
1answer
52 views

Setting up central system to run selenium scripts

Currently I am working on automation project. I have completed all test cases and executing in my local. Now my Project Manager wants to be execute it in a server so any one can access and execute the ...
0
votes
0answers
45 views

Jenkins test case execution

I was creating a job in Jenkins to execute my test cases through maven. when I am executing the build in jenkins test cases were executing but it is not completing its execution (even I waited 1hr ...
4
votes
3answers
14k views

How to scroll to bottom of page in Selenium IDE?

I'm not a QA person, just a front end developer. I'm using the Selenium IDE plugin for the Firefox browser to make some simple tests. The site I'm making the tests for uses ajax to bring in new ...
0
votes
1answer
3k views

Selenium C# 4.0 release says you can hide the command prompt - how do you actually do it?

I'm updating to version 2.40 and was looking at the change log. http://selenium.googlecode.com/git/dotnet/CHANGELOG It says "Now provide an option to hide command prompt window for driver service ...
2
votes
4answers
1k views

Selenium Webdriver or Sahi which is best for website/mobile site testing? [closed]

Can anyone tell me which is the best tool to use for web site testing? Sahi or Selenium Web driver. Am using windows OS in PC. At present Testing of both Desktop and Mobile Site in Manual. Trying to ...
1
vote
3answers
264 views

Can I copy data from a CSV file and use it in a website using only Selenium IDE

Right now I'm running selenium test script in which I have get data from a CSV file and paste in a site.So can I copy data from a CSV file and paste in a test script in Selenium IDE. It would be of ...
1
vote
1answer
77 views

Parameters with DataProviders

Is there any way to use Parameters with DataProvider together in Selenium ? @Parameters({"safaf"}) @DataProvider(name="sss") public void hhhhh (String safaf){ }
4
votes
4answers
2k views

How does one get started with web test automation using Selenium?

So I've been testing web based analytical software now for the past 4 years or so with mostly manual techniques. But for 2015, I've set myself the goal of getting setup and start writing automated ...
1
vote
2answers
61 views

Learning Java & selenium [closed]

I have recently started learning selenium and Java. I need your assistance as to how should i go about it. Thanks
5
votes
1answer
10k views

“java.lang.NoClassDefFoundError” Error when running Selenium RC script

First of all I have recorded the script in Selenium IDE, then exported into the junit4 (RC), then copied the junit4 (RC) code into Eclipse IDE. When I run the project with junit test, I found the ...
0
votes
4answers
5k views

How can I do data parameterization in Selenium Web Driver?

I want my test case to run once and test n number of inputs at various positions. Suppose If I want to check a login screen for different members like manager,user,admin,e.t.c then instead of running ...
1
vote
1answer
283 views

Testing the Downloading/Uploading of files with Selenium IDE/WebDriver/Other?

In a series of applications my team is building we would like to test our import and export functionality which requires the respective upload and download to be automated. The functionality is ...
1
vote
0answers
185 views

Unable to handle Google Authentication pop up window in robot framework test case

I am having a problem on handling google authentication pop up window in robot framework. The process I want to automate is - When a button( Sign in with google) is clicked , google authentication ...
3
votes
3answers
5k views

WebDriver Clicking button issue in IE 11

Have a suite of web-drivers tests that run in chrome and IE 10, but will not run in IE 11. The tests fail in IE-11 when clicking a button as the following action (a form popup) does not occur. I ...
2
votes
2answers
91 views

Reporting capabilities for automated tests using Selenium

How can we add reporting capabilities to Selenium based UI automated testing, such as reports on failed and passed tests, recurring failed tests, etc.?
-1
votes
4answers
3k views

How to automate the action on a canvas object, when the canvas element has no name or ID in Selenium?

I want to automate the testing for a digital signature, which is a canvas element. Can anyone provide me with sample code, which could be used. I have tried, selenium.clickAt(), ...
1
vote
2answers
131 views

How to add HTML/text content of a <div> into an array/list?

I am new to selenium and working with xpath. I am using selenium and java to write automated tests for chat messaging web application. I am looking for a way to take a webElement which contains ...
9
votes
8answers
9k 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
55 views

The element is not clicked if the element is not visible on the screen even if it is displayed

If the element is present in the html but, for the element to come into view it needs to be scrolled up. When clicking on this element Selenium webdriver does not throws any error but it does not ...
0
votes
1answer
2k views

how can i switch to the new instance of browser in python selenium webdriver [duplicate]

I am using selenium webdriver with python. I am not able to find a way in python by which I can switch the webdriver to a new browser. My web application have multiple links and buttons Clicking on ...