Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

1
vote
3answers
328 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 org.openqa.selenium....
2
votes
1answer
209 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
2answers
876 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
93 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 pdf");....
2
votes
2answers
241 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
522 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
279 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
990 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
1k 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 14....
2
votes
2answers
561 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
2answers
360 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( BrowserVersion....
3
votes
4answers
215 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
60 views

Facing issue as Jenkins test case execution is not getting completed, waited long is not working

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
502 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
648 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", Global.driver.FindElement(...
1
vote
1answer
177 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
81 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
796 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
628 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
146 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
472 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
384 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 ...
2
votes
2answers
196 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.?
2
votes
2answers
487 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 ...
2
votes
2answers
365 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 ...
2
votes
1answer
147 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 ...
1
vote
1answer
157 views

Confused over different Automation terminology (Web Testing)

So I'm a little bit confused at getting started at writing my own Automated test scripts. For reference the majority of my company's apps are Ruby on Rails technology, I looked into using Cucumber, ...
1
vote
1answer
43 views

How can I move all my seleniumIDE locators to javascript variables (like page objects)?

My locators are all hard-coded into the tests. How can I extract these into variables?
1
vote
2answers
155 views

ElementNotVisibleException in Selenium

I need to click on a link which displays a popup. But, I'm receiving the following exception: org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be ...
1
vote
1answer
109 views

Selenium - Automated test with Random-ish data? Doable?

So I'm trying to make an automated test for a type of survey. Just imagine a bunch of questions each page with some options like "agree/strongly agree/etc..." Now the issue is, while the questions ...
4
votes
2answers
351 views

How do I split my PageObject Model classes?

My page object model class is getting rather long. Should I create a different class with the same name as the page object model with a 2 added at the end. Or does this go against the page object ...
4
votes
3answers
589 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 ...
5
votes
1answer
77 views

How to pull content of a div into a String

I am looking for a way to pull the html or text content of a so I could work with it for a method which validates links amongst text of messages displays on a webpage. I am using selenium and java. ...
1
vote
1answer
62 views

Function Key issue with selenium [closed]

How to press function keys like F12 using selenium (java). Please help me in this. Thanks in Advance
3
votes
1answer
305 views

Sikuli and Appium

Is it advisable to use Sikuli along with Appium ? I tried finding an image after launching app on device using Appium, but sikuli returned an error saying "cannot find img/x.png on the screen".
2
votes
4answers
177 views

Test strategy for sorting

What will be a good test strategy to test sorting? I have a scenario where when clicking on a sort, i.e. sort the make/model from Z to A, then the listing should be sorted alphabetically from Z to A....
0
votes
0answers
145 views

Selenium Virtual Frame Buffer on Windows

I have a requirement to run a process that itself requires functionality of the Firefox browser. Currently, I run this process on a laptop, so having Firefox running is not a problem. However, we ...
1
vote
4answers
296 views

How can I avoid conflicts running Selenium tests in parallel, when they must exercise an underlying REST API?

I have a web application which needs to be tested in multiple browsers in multiple environments (i.e. Chrome, Firefox, and Internet Explorer in both Windows and Linux* (*with the obvious exception of ...
1
vote
1answer
130 views

Authentication pop-up issue with Selenium [duplicate]

How to enter credentials using Selenium (Java)? I am not able to enter credentials in the Pop-up window, which is shown above. Please help me in this. Thanks in Advance
1
vote
2answers
102 views

What language is required when learning Selendroid?

I want to learn Selendroid. I do not know what language I need to know before starting with selendroid. I know selenium using Java. For selendroid, do I have to learn android?
1
vote
3answers
1k 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 ...
4
votes
1answer
958 views

Using xpath to confirm <h4> text with a <strong tag> in the middle

I'm using the Java Selenium WebDriver implementation. I'm searching for a string literal in an tag which has a tag in the middle, i.e. <h4>Some regular text <strong>followed by strong ...
2
votes
2answers
216 views

Verifying a Caraousel should rotate after clicking - Selenium Webdriver

Is there an automation method, via Selenium with Java, that can verify if a carousel rotates after clicking it? I highlighted the Right arrow as Red box which should rotate after clicking it.
1
vote
1answer
285 views

Handling multiple Iframes with same name

I am trying to navigate on a web browser that has multiple iframes that are all tagged with the id of "InlineDialog_Iframe". When I try to switch to the window I get a stale reference exception, which ...
1
vote
1answer
167 views

Get runtime property for the same element

When we enter text in google search textbox it auto-suggest the options, the objects changes. Now I want to click the Search button which was earlier Google Search. I have created the Google Search ...
0
votes
1answer
28 views

How should mobile (native) automation testing on a production app be introduced? [closed]

I would need to start mobile (iOS & Android) automation testing from zero. Currently there is no automation testing...only some high level (UAT) manual testing. Which would be the most efficient ...
2
votes
3answers
158 views

How to add @parameter annotation for TestNG in Eclipse

I'm trying to do parameterization for TestNG in Eclipse but the annotation @parameter is not being shown. How to add @parameter annotation for TestNG in eclipse?
2
votes
2answers
469 views

switching between tabs in a browser

I am trying to click on a download link which will open in a new tab in pdf format.I want to do some actions on newly open tab. I am able to switch to newly open tab but when I am trying to do any ...
1
vote
1answer
589 views

Handle Firefox native dialog windows with Selenium IDE

I'm new using Selenium IDE (and as a QA). I'm testing my Web application on Firefox and I have an export button that downloads an Excel file. My problem is how to handle the window dialog native of ...