Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
2answers
117 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
1answer
50 views

Selenium scripts are failing [closed]

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 ...
0
votes
1answer
47 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 ...
0
votes
1answer
177 views

Even though my xpath is correct I am getting error as org.openqa.selenium.ElementNotVisibleException

I'm unable to click on Plus button and Minus button. My xpath is as //div[4]/span[2] Even though my xpath is correct, I am getting an exception. I have also synced it using waits. <!DOCTYPE html&...
0
votes
1answer
62 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
1answer
131 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
84 views

Verify if popup appears using Selenium

I want to verify if a pop-up appears, so I went to inspect element of the link and I tried to match the ownerID from the element to that of the url that pops-up but the issue that I have is that when ...
0
votes
2answers
148 views

Selenium - Best practice, mapping an object to HTML form?

I was wondering if anyone uses a design pattern where there is an object (similar to a page object) which has fields for each input in an HTML form. I guess the fields would be nullable and then the ...
0
votes
3answers
113 views

Page Factory @FindBy

I am currently learning page object model (POM) and I am trying to access a specific web element using @FindBy but I am not sure how to correctly write the syntax for my element into @FindBy? What I ...
0
votes
1answer
2k 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
163 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: http://stackoverflow.com/...
0
votes
2answers
904 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 ...
0
votes
1answer
169 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
80 views

Page was loading very slowly when compared to manual process

I am working on one of the php web site, the home page consists of a background image and on the top of the image there is a button. Now my problem is whenever I am doing automation for this web site,...
0
votes
1answer
293 views

Blank screenshot with WebDriver

Im not sure why, but ever time my screenshot is executed, the images are saved as blank. heres the code: public void screenshotOnError() throws IOException { WebDriver driver = new ...
0
votes
1answer
125 views

Volume Testing Using Selenium

Issue: A code change to how our Instagram feed works on the Y page resulted in a memory overflow under production traffic volume, that did not occur in lower (QA / Preview) traffic volume. When the ...
0
votes
2answers
5k views

How to handle sub child windows(more than 3) using Selenium Web Driver with Java

I am using Selenium Webdriver with Java, and I need help handling sub child windows. I have to handle four child windows. Main window- Child window- Grand child - (to reach 5 child windows) I ...
0
votes
1answer
2k views

Type mismatch: cannot convert from element type Object to WebElement

I am getting error"Type mismatch: cannot convert from element type Object to WebElement" when tried to run a java file to check broken images on webpage. My Code : List elementList = new ArrayList()...
0
votes
4answers
1k views

How to find broken links using Selenium IDE

Consider I am having hyperlinks on a webpage. How can I find which links are working and whichare not? Kindly suggest me how should I track this using Selenium IDE or Java code.
0
votes
4answers
8k views

How to Retrieve the values from a drop down using selenium-WebDriver?

I am using below script to retrieve specific item from drop down but it's not working. Select salTitle = new Select(driver.findElement(By.id("s2id_QuickEnquiryForm_salutation"))); salTitle....
0
votes
1answer
2k views

How to output result of Javascript execution to console?

I was wondering if anyone could help me find a way to output to the Eclipse console the results returned from executing a Javascript ? These are the steps I manually perform (that I would like to ...
0
votes
2answers
695 views

Selenium find all elements without a class

For example, if I am on a product selection page, I would like to select all the elements that aren't sold out. <div class="item sold-out">Item One - Sold Out</div> <div class="item"&...
0
votes
1answer
866 views

How to test Image carousel

I would like to test an Image carousel using Selenium C# An example of the type of the type of carousel can be found here: http://bxslider.com/ Maybe the test could click on the next image, assert ...
0
votes
1answer
349 views

How do I setup and learn the use of Selendroid for Android testing

I am a manual tester with knowledge in selenium webdriver but as I see that selendriod came in for mobile app testing. My question is What would be the best place from where anyone can learn ...
0
votes
5answers
533 views

Is it recommended to document how selenium automation tests are laid out?

The automation code I'm working with was written by several people before me. It's messy, complex, etc. There are barely any comments within the code. It takes me an extremely long time to figure out ...
0
votes
5answers
435 views

How to revert the changes made by selenium in a tear down process?

I am in a situation where I have to revert all the changes which I made while testing the application. Is there any way of doing this in Testng? Suppose if I have added something into the ...
0
votes
2answers
589 views

Accessing a sub menu within a sub menu using Webdriver with python on IE8

I have been trying for a while to complete this task. For context, I have a link called with text "Main Menu" along the top of the page, that when hovered reveals a list of more links. These links ...
0
votes
4answers
11k 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, ...
0
votes
1answer
5k views

Calling data from one class to another class - framework for JUnit

Please forgive me as I am still very new to the world of test automation. I have started out by using Selenium WebDriver with JUnit4, predominately on windows OS, although I have modified my scripts ...
0
votes
3answers
204 views

Functionalities of Selenium

I am learning Selenium Webdriver on my own, with a little bit of Java Programming background in my experience since the past three weeks. In this time, I have learnt the following functionalities of ...
0
votes
1answer
97 views

dragAndDropBy() function Encountering Exception

I am a beginner in Selenium and m trying to automate the drag and drop functionality. But everytime I am trying to execute the dragAndDrop() functionality, Eclipse is Giving off Exception. PF the ...
0
votes
2answers
805 views

XPath not recognised in page object model in WebDriver [closed]

xpath not recognised in page object model in webdriver. @FindBy(xpath = "//td[contains (text(),'xxx')]") public WebElement topMenu; topMenu.click(); Error: Unable to locate element: {"method":...
0
votes
1answer
6k views

Selecting items in a combobox using Webdriver

Which Selenium Webdriver command is used for selecting items from combobox in Java? I mean when we want to select one item from a Combobox but this element is not an instance of Select class, e.g., ...
0
votes
2answers
514 views

Web driver fails performing click operation

I am automating Peoplesoft through Selenium. Web driver is able to locate the web element: System.println.out(driver.findElements(By.id("Element_id").getAttribute("name")); Web driver prints the ...
0
votes
2answers
229 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 ...
0
votes
1answer
565 views

management of images in sikuli

I am currently working on a project that requires automating tests on a content player, I am using sikuli for it. The problem is that we have piled up a large amount of screenshots which is becoming ...
0
votes
1answer
536 views

Automating tests in EPOS systems

I have recently started working in a team that tests Retail applications such as EPOS (end point of sale - tills) I would like to automate this testing and would like to ask if anyone has any ...
0
votes
1answer
5k views

How do I get Selenium Server to launch Chrome on 64bit Windows under Jenkins with Selenium Grid?

I am migrating a Selenium server environment from Windows 2008 server 32bit to Windows 2008 server 64bit. Whenever I try to run a job with Google Chrome, I get the following error message: Error ...
0
votes
1answer
17 views

StaleElementException - After using navigate().back()

I'm trying to automate a testcase, where in there are around 30 links in a page. All these links will lead to a new page. And depending upon on a value in the new page, I need to either proceed or ...
0
votes
1answer
43 views

What test frameworks can be used when doing Selenium based automation in C# for functional tests?

I have done some research and found that most frameworks available are either for unit testing or the work on them has stopped. I need to either build or find a suitable testing framework for ...
0
votes
2answers
69 views

If a test case fails, how to close the browser and move to the next one?

How can i stop the execution of a test case if an exception happen and caught and move to next one. I am using TestNG, Eclipse, Selenium. In my xml, i have: <?xml version="1.0" encoding="UTF-8"?&...
0
votes
5answers
155 views

How to get entered text from textbox when value is empty in selenium using java?

Just I am trying to get entered text from the text field when value is empty. Below is my HTML: <input type="text" style="width: 203px" value="" maxlength="32" name="firstName"/> I tried ...
0
votes
1answer
30 views

Anyone find value migrating to NightWatch from Python Selenium API?

My dilemma, I have tons of tests and experience on the Python API to Selenium and webdriver. But, my dev team is big time javascript fans who think everything should be built under node/js. I want to ...
0
votes
2answers
45 views

How to select li element in selenium

I want to select "India (+91)" from dropdown Can anyone help me with this?
0
votes
1answer
73 views

How to locate Facebook POST button using Java selenium web driver?

Code: driver.findelement(By.xpath(".//*[@id='js_2y']/div[4]/div[2]/div/div[2]/div/button")).click(); Every time I try by locating xpath, it's gives an exception, could not locate element. May 04, ...
0
votes
1answer
54 views

Why does my capybara element.click not work in Safari?

I am using rspec-capybara for my tests and I am clicking on a button which had been placed there through Javascript (ajax). Clicking on the button works when using WebDrivers for Chrome, Firefox and ...
0
votes
4answers
65 views

What are the testing types that can be supported by Selenium? [closed]

What are the testing types that can be supported by Selenium? Can Selenium be used for UI testing? Textual testing?
0
votes
1answer
31 views

Showing Null pointer exception can you please help me check code below

Test: package com.digitalmqc.automation.ff.projectstests; import org.openqa.selenium.WebDriver; import org.openqa.selenium.support.PageFactory; import org.testng.annotations.Test; import com....
0
votes
2answers
65 views

How to send key '(' and '!' to Selenium Web Driver?

I was trying to do write a test a case for a website that takes in the Java code , compiles it and runs it. However, while writing the test case , the text-area that takes input did not have all the ...
0
votes
2answers
79 views

using @parameter annotation in testng test case throwing exception

@BeforeClass @Parameters("folderName") public void setUp(String folderName) { createLogger(this.getClass().getSimpleName(),folderName); configureDriver(); } @AfterClass public void tearDown() ...