Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
0answers
12 views

Handling browser level authentication using Selenium in Internet Explorer

When I open the application,it prompts for a username and password. How can I handle this scenario using Selenium java in INTERNET EXPLORER?
1
vote
1answer
12 views

Designing database reliant tests for parallel execution

Looking for some best practice here: I'm looking to future proof the selenium tests that I'm building. They'll involve shared elements (products/locations/users), and it seems like a bad pattern to ...
0
votes
1answer
28 views

How to verify PDFs with Selenium web driver

In our application, we upload PDF's into an interface. In this interface, the PDF is just a property of an object in a row that is displayed for the end user. The end user can see if a PDF has been ...
0
votes
3answers
16 views

Type mismatch: cannot convert from List<WebElement> to WebElement in eclipse

My code is as below. when i am executing it its giving me error as: Exception in thread "main" java.lang.Error: Unresolved compilation problem: Type mismatch: cannot convert from ...
0
votes
0answers
15 views

Is Selenium automation possible with ALM integration?

I am trying to Create and Run some internal Core java Program using Selenium which i am trying to implement in QC/HP ALM . I able to launch the ALM trial version but i am unable to find the specific ...
1
vote
1answer
25 views

Selenium: clean way to iterate of list of WebElements who become stale during the iteration

This is my code: foreach(IWebElement close in el.FindElements(By.ClassName("search-choice-close"))) { close.Click(); ...
0
votes
0answers
17 views

AjaxElementLocatorFactory = Implicit or Explicit

I'm looking for solution in page factory to wait. I don't want to use something like Implicit wait, but something like Explicit. I read about AjaxElementLocatorFactory, but I'm not sure that it ...
3
votes
1answer
23 views

Failing the script in Jenkins due to screen size different

Currently I am working on running selenium scripts in Jenkins. Here my issue is my browser window size is 1382, 754 resolution.But in jenkins browser resolution was 1044,784.Due to this my script was ...
0
votes
2answers
49 views

Error seen while automating the Gmail page. Pls help!

While running the following code: package prac.sample; import org.openqa.selenium.*; import org.openqa.selenium.firefox.*; import org.openqa.selenium.WebDriver; import ...
0
votes
3answers
69 views

Click on field in new window

In selenium webdriver, I am trying to click on a field in new window, but I keep getting error as "Timed out after 20 seconds waiting for presence of element located by: By.xpath: ...
3
votes
2answers
56 views

Actions to search item and number of methods

I have questions about clean code. I'm writing a test in Java selenium page factory. I'm a beginner. I have two "actions", input text into search field and click button search. Now the question is, ...
0
votes
1answer
57 views

How should look test in webdriver with scenario

I have to test demo.opencart.com. Here is my scenario: Test scenario: 1 Open browser and go to Democart 2 Change currency to GBP (top left dropdown) 3 Search for “iPod” using text search 4 Add ...
3
votes
3answers
37 views

fetching the text from anchor tag

<a href="https://www.xyz.com/Vertical-Striped-short-Slve-pant-with-Chest-Pocket-dsdjj.html">Vertical-Striped-short-Slve-pant-with-Chest-Pocket-dsdjj <br><b>Select ...
1
vote
6answers
108 views

What languages and frameworks should I learn for selenium automation testing? [on hold]

I have been a Non-IT student, but now I want to start my career as a software tester. Are there certification I should get? Which programming languages and frameworks should I learn? Is it necessary ...
0
votes
1answer
41 views

Selenium scripts are failing [on hold]

We have selenium scripts (say around 20 scripts). When we run all the 20 scripts some how 3 or 4 scripts going to fail but when I run the same script it is going to pass. I don't understand whether I ...
1
vote
5answers
77 views

How to find the xpath locator for logout button?

We are currently working on a selenium project. Can you guys help me to find the xpath locator for the logout button in the application? Below is a screenshot of the code for the element for which ...
0
votes
3answers
53 views

How can i avoid or fix time outs in Selenium Java?

I'am using Selenium with Standalone Server (V2.48.2) with NetBeans and using Firefox (V44.0). I have tried different ways to get this fixed, but its an error that appears to be random in different ...
4
votes
2answers
469 views

How would you answer this interview question?

In a recent interview I was asked the following question on a white board: What is the name of this format “.//[@id=\'nosession\']/form/div[1]/input”? I literally had no idea how to answer this, ...
3
votes
2answers
89 views

Is there any test result reporting tool for TestNG & Selenium WebDriver with Java?

I am using TestNG and Selenium webdriver via Java. Is there any tool that can help generate detailed test results, for example, suppose I have a test case that fails more often than not, is there a ...
1
vote
1answer
37 views

How to automate the action of highlighting text in PDF/ePub using Selenium or any other tool?

I am trying to automate a web app using Selenium Webdriver. The app involves user opening a book which is rendered in either PDF or ePub format, it allows user to highlight the text which they prefer. ...
3
votes
1answer
108 views

Selenium webDriver: Multiple test cases in a single Class?

I'm using Java and Selenium Webdriver, but there is something that I don't understand. Do I need to create separate classes for each test, or I just need to create one class and in that class have all ...
6
votes
3answers
95 views

Structuring Selenium tests to avoid duplication

I'm refactoring our test suite to take advantage of page object pattern. I'm missing how to structure the actual tests. Lets say that I want to test StackOverflow posting and deleting. Once scenario ...
1
vote
1answer
47 views

Advanced topics in software testing [closed]

I recently finished 2 projects based solely on UI testing using Selenium and Python. I am looking to learn more about software testing and Quality Assurance. What are the advanced topics that I can ...
0
votes
1answer
17 views

Looking for approaches to placing orders on an eCommerce website quickly

I typically write automation using Java/Selenium but placing an order using a typical script takes close to a minute per order on our sites. I'm looking at potentially placing hundreds if not ...
5
votes
0answers
97 views

Using Selenium Webdriver For Firefox Testing

I have been doing research into implementing Selenium Webdriver (currently version 2.49) for testing on Firefox. Currently I am capable of testing Chrome with the framework, but would like to extend ...
1
vote
2answers
64 views

Unable to select dropdown in selenium which is assigned with div tag

so plz help me to resolve this issue.i know how to do dropdown using "select" but in my site it is inside div tag . plz help me to reslove this issue. HTML Snippet : <div ...
0
votes
0answers
42 views

How to organize code in automation framework?

I am trying to figure out most readable way to organize my code (with POM) So far I have split out the following: Pages (methods for the specific pages) 'GoTo' pages (I don't need it but ...
1
vote
1answer
37 views

Chrome Webdriver click function timeout when opening two simultaneous windows

I have an issue using Chrome WebDriver on a Node Webkit Application, when I click an element (it will open two windows at the same time) driver shows a timeout exception on Click function. I tried ...
0
votes
1answer
59 views

Why is CodeCeption acceptance test unable to access web page through webdriver?

I'm trying to build a CodeCeption acceptance test environment for Joomla. To make it easier to reproduce the tests on any developer's machine, I want to provide a Docker based environment. I'm ...
1
vote
2answers
63 views

Selenium java tests intermittently fails on firefox

My selenium test suite always has a few tests failing intermittently on each run on the firefox browser. On the next run the same tests will pass and new tests will fail. It is usually times out after ...
1
vote
1answer
26 views

webdriver.support.select - Select doesn't interact with the element

Hello, I have the following select: <div class="col-xs-12 col-md-6"> <label class="ph_label pointer city"> <span class="l citylbl">City</span> <select class="cities ...
1
vote
2answers
76 views

Porting Selenium test from Firefox driver to HTMLUnit driver

I am trying to convert my selenium test from Firefox browser to HTMLUnit driver. But, when I try to run the HTMLUnit test , it gives me error for XPATH. The Firefox browser test runs absolutely fine. ...
0
votes
1answer
41 views

Can you run selenium scripts on a locked computer and come back to check on it in 2 hrs?

Can you run selenium on a locked computer? I noticed some of my tests fail intermittently on a locked computer. I also tried to increase wait time between clicks and find elements to see if it helps. ...
0
votes
1answer
26 views

Accept SSL certificates in Selenium Opera C#

I am trying to launch an Opera web driver, but whenever I go to the homepage of the site under test, I get certificate errors. I have tried using the CapabilityType.AcceptSslCertificates = true: ...
1
vote
1answer
44 views

How can I bring Chrome browser to focus when running a Selenium test using ChromeDriver on Mac?

When executing a Selenium test with ChromeDriver, I would like to bring the test browser into focus to see the actions taking place. The way I am able to do that now is by manually clicking the ...
2
votes
1answer
51 views

How to handle download dialogs on mobile devices with Appium [closed]

I am using Selenium with Appium and my problem is "when i click on a download button it shows path to save the file." This is a mobile OS control, how do I interact with Mobile Controls? Are there ...
0
votes
0answers
16 views

Help Finding image in Sikuli X in Java

I am having an issue trying to find an image on the screen, I tried doing it in two different ways and it doesn't seem to work for me. I am trying to do this with Appium running on IOS simulator which ...
0
votes
1answer
34 views

getting an error in selenium using java with mySQL: java.sql.SQLException: No suitable driver found

package SeleWeb; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import java.sql.*; public class seldata { public static void main(String[] args) ...
0
votes
2answers
58 views

Where can I find sample/real world test cases? [closed]

I am looking for real world test cases to practice on. I have Googled a lot but I cannot find solid, good practice material. E-commerce, hotel-websites is of big interest.
0
votes
0answers
29 views

can object repository be maintained in excel?

I use a framework where we are maintaining Object Repository in property file. Can it be maintained in excel as we do not want to keep on updating the property file.
3
votes
5answers
290 views

How should automation maintenance be handled? (Selenium)

How can we maintain Selenium scripts when the application changes? Specifically, how do we define and manage automation to keep it up to date with changes in the application being tested?
1
vote
1answer
30 views

What are the debug tools that i can use for GUI Automation on Internet Explorer?

Are there any tools similar to firebug/firepath that i can use to test the locators on the internet explorer browser? I was running an xpath which works in firefox but fails in IE.
1
vote
2answers
45 views

Access webelement in Selenium webdriver

Have to inspect element 8. When click the element 8 on webpage.It should redirects to next page <td class="text_overflow-1"> <u> <a targrt="_parent();" ...
0
votes
1answer
92 views

Are there GUI test tool better than Selenium? [closed]

I have read and heard from many peple that Selenium is used by many people. Do you know if there is a better tool than Selenium in relation to open source? Thanks!
0
votes
0answers
21 views

Data driven framework on Selenium Grid 2

In my project we have decided to implement Selenium Grid setup. We are using a data driven from Excel framework, currently all these spreadsheets are present in a workstation (which will turn to a ...
3
votes
1answer
23 views

Tomcat Server when used amongst Selenium Grid setup

We are using a different style of Automation framework in our project (as per client request) wherein we have designed a JSP page and this page contains links and buttons through which each ...
1
vote
1answer
48 views

Find an webelement in selenium webdriver

The following HTML code is for clicking a button <a href="#"> <button id="listbtn" class="btn btn-info" type="button" name="listbtn">Create</button> </a> Have ...
1
vote
1answer
38 views

Selenium couldn't do anything while browser is loading long ajax response

I have to perform some tests to web application with interesting interface. I faced with the following issue: there is a process with progress bar and while process is not finished, selenium couldn't ...
0
votes
2answers
55 views

how do i use list for selenium web driver in java

how do i use list for selenium web driver in java I need to select id which are continuously changing, and one id is in one row. need to select id from each Edit : <tr id="tr-132885-id" ...
2
votes
1answer
55 views

Changing frame problem

I have a problem with switching frames in Selenium. I'm using Firefox Webdriver. In the first step I'm switching to Masterpass_frame then I click on a button to force the frame to reload. Then I ...