Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
4answers
263 views

Unable to enter the text in a text box

I am trying to enter the text in a textbox, but I am getting an error as follows org.openqa.selenium.InvalidElementStateException: Element must not be hidden, disabled or read-only Anybody can help ...
1
vote
1answer
773 views

Can't click a button [Python + Selenium]

I'm writing a program to automate some actions on a website using Python and Selenium and I need to click a button with this code: <button class="button login" data-popup="login">Change ...
0
votes
1answer
281 views

Phantomjs stack error

[ERROR - 2015-11-26T10:17:14.013Z] Session [9dd2e3a0-9426-11e5-986e-45afd4903e2f] - page.onError - msg: TypeError: null is not an object (evaluating ...
2
votes
3answers
119 views

Testing using Selenium

I am a software architect we use selenium tests with nunit and c# i am trying to run jmeter load testing using firefox jmeter recorder (for blazemeter) i was sure selenium has its own cross ...
0
votes
1answer
524 views

Can not find selenium webdriver element in HtmlUnitDriver but can find it in Firefox

HtmlUnitDriver driver = new HtmlUnitDriver(); driver.setJavascriptEnabled(true); String baseUrl = "http://www.biletix.com/search/TURKIYE/en#!city_sb:istanbul,date_sb:weekend"; ...
0
votes
1answer
86 views

How to Code this SSL Certificate Dialog, with Selenium IEdriver “request for permission to use a key” IE 8 9 11

Can anyone help me with sample code please. I have to login with SSL client certificate to authenticate in IE, this UI only works in IE. I have this Autoit Script but the popup is not being read by ...
0
votes
0answers
37 views

Unable to select a value on doing Right Click in Selenium Webdriver

I need to right click using selenium webdriver. When I right click on the date highlighted in red,I will have a menu opened from where I have to select "Show CTR Impressions Label". I am able to ...
1
vote
2answers
3k views

Trying to find span element by class and text with selenium c#

I want to click on Administration panel. The <span> contains a class attribute and inner text. I get an error saying "unable to locate element". What am I doing wrong? HTML: <div ...
1
vote
1answer
51 views

Is there a software that tells the number of possible flows when “inputing” an workflow?

I'm making a project that needs to break some big workflows into pieces and I need to know how many possible flows does the Workflow (that I have "inputed") before has. Does anyone know any software ...
2
votes
3answers
138 views

What proportion of tests cases should be automated via Selenium Webdriver? [closed]

I work with e-commerce websites and I am wondering how much of the tests should be automated. I plan on automating the login and check out functionalities but what about clicking links to navigate ...
2
votes
2answers
1k 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
2answers
3k 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 ...
-1
votes
1answer
23 views

Can a value be retrieved from Generated Source, using Selenium IDE

The Scenario: I enter transaction data and submit that data to the application. The application responds with a transaction ID. I then take the Submission Transaction ID and use that ID to query the ...
1
vote
2answers
439 views

Selenium: Select 2nd item by both class and with certain text?

I am creating some test scripts using Selenium WebDriver in C#. The AUT contains a left menu in which the position/ordering of the links depend upon the 'User Preferences' and a lot of ...
0
votes
1answer
56 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
0
votes
3answers
537 views

Get Text of a WebElement

I'm learning selenium and writting automation script for this website http://store.demoqa.com/products-page/your-account/ I'm trying to get value of the error message, I identified Error Message ...
-1
votes
3answers
569 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 ...
1
vote
3answers
121 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
77 views

What all use cases we can automate in localization testing_selenium

We have a PHP web application, with base language English and native support for Japanese & Chinese. We want to automate some part of it's localization testing, such as Link text, button text ...
0
votes
3answers
683 views

How to handle file upload and download using Robot Class?

I'm trying to build a framework using Selenium. There is a scenario where I need to download a file, and there is another where I need to upload one. I've gone through the option in AutoIt, but it ...
0
votes
1answer
200 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
336 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 ...
4
votes
2answers
3k views

How to minimize the browser window which was launched via Selenium Webdriver?

How can I minimize the browser window which has been launched via Selenium Webdriver? I see that there is a method to maximize (documentation), but I cannot find the converse for minimize. I have ...
4
votes
0answers
65 views

How to Run 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
65 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 ...
-3
votes
1answer
561 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 ...
0
votes
1answer
124 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 ...
1
vote
3answers
244 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 ...
2
votes
1answer
160 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 ...
0
votes
1answer
654 views

Selenium webdriver-Not able to click on button which becomes visible on hovering only

Here I'm using LinkedIn for the learning purpose & want to perform the action on Edit profile=> Work experience=> Add position. Here "Add position" button comes under work experience which becomes ...
1
vote
0answers
81 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 ...
2
votes
2answers
197 views

Looking for a HEADLESS C# Selenium automatic nightly regression test solution

The WHY: I am looking for options and possible full solutions if someone has already done something similar. I am testing web-based applications using C# Selenium with VS2015 by writing tests that ...
-1
votes
5answers
347 views

What are features of the Selenium Test framework that are not present in other tools? [closed]

I have recently joined a company and we are looking to standardize our testing frameworks and tools across multiple (many legacy) products. Because of this, I'm seriously considering the Selenium ...
2
votes
4answers
204 views

How best to test file download links using Selenium

On a website I am testing we have various links that download PDF files to the users computer. Our selenium suite runs nightly on bamboo, if we were to download the various files overnight it ...
1
vote
1answer
625 views

Jenkins fails to start Chrome

I am working on Jenkins to run my scripts but I am facing the following issue: Running TestSuite Starting ChromeDriver 2.20.353124 (035346203162d32c80f1dce587c8154a1efa0c3b) on port 7652 Only ...
2
votes
1answer
706 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 ...
2
votes
2answers
338 views

How can I verify text exist within a table using Selenium IDE?

Using selenium IDE- I am looking for a way to locate and or verify a value in a table. There are more columns in the table, but I am only concerned with the first 4. Also the number of rows varies as ...
2
votes
1answer
253 views

Selenium HtmlUnit: How do I disable JS errors?

I have been working on a script for hours and I can't seem to figure out a way to make headless and automated automated. WebDriver driver = new HtmlUnitDriver( ...
3
votes
4answers
189 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.
0
votes
0answers
56 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 ...
1
vote
1answer
54 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 ...
1
vote
1answer
401 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 ...
0
votes
3answers
449 views

Selenium Webdriver - finding element on IE 11

I'm trying to assert a 'name' on my page, to assure the right name is displayed: public static OpenQA.Selenium.By Name = (By.CssSelector("p")); Assert.AreEqual("Name", ...
1
vote
1answer
139 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){ }
1
vote
2answers
74 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
0
votes
2answers
523 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
534 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 ...
0
votes
2answers
112 views

jenkins build execution is taking too much time for a selenium job

I was learning jenkins integration with selenium scripts.So I have created a job and executing the build, in the console output I am able to see all the statements which are I am printing and the test ...
1
vote
3answers
328 views

isselected() method returning false always why?

First, I want to check whether checkbox is selected or not and then have to perform select action. But here isselected method always giving false output, because the script is selecting the checkbox ...
1
vote
0answers
315 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 ...