Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
1answer
515 views

Issue with moving large file data to a textarea

I am facing an issue with moving large chunk of data from file to TextArea in the app. Its taking lots of time and inputing data Line by line ... Please find the code snippet below and suggest if ...
0
votes
0answers
15 views

Search Dom for multiple elements using explicitwait

Hi I'm using selenium webdriver and when I click to a certain website I want the webdriver to return a list of elements with similar classes, in this case a list of elements that, once clicked/toggled ...
0
votes
1answer
45 views

Selenium Web Driver Drop Down List Testing With Div tag in java

I am new to automated testing with Selenium Web Driver I am not able to work out how to test drop down lists without using the select command. I tried using xpath, select by id, class name, css ...
0
votes
0answers
29 views

Things to consider when starting project with Cucumber and Page Object Pattern?

I'm trying to build a new framework based on Cucumber and Page Object Pattern. Could you please advice me what\'s approach based on your experience before doing automation project like: – What's ...
0
votes
2answers
25 views

How to click a checkbox with Selenium Python without an id? [duplicate]

How do I click a checkbox with Selenium Python, if I don't have any id which defines the checkbox?
0
votes
2answers
40 views

Check if dynamic objects are loaded with Selenium

I'm having a problem with Selenium2 using Firefox version 39.0 and Firefox webdriver while testing a page based on Apache MyFaces Trinidad 1.0.6. When I imitate press on CheckBox, TextBox becomes ...
0
votes
0answers
29 views

Selenium Grid2 - IOException thrown while closing Closeable.

I am executing my Selenium tests against a Grid server, hosted on a different machine. My grid invocation is (bat file): cd c:\ start java -jar c:\selenium-server-standalone-2.46.0.jar -role hub ...
0
votes
1answer
43 views

Executing on a selected node in selenium grid

I have one scenario i.e.. I have one web view to take all actions(click,send-keys,opening new window) and locator types(ex: xpath,id,name and cssClassName) with these values I am going to create a ...
0
votes
2answers
36 views

Problem with Selenium send_keys function and JavaScript event triggered by data change

I am using Python to write a Selenium test script and I have not been able to use it to enter data for a text area. Entering data into this area appears to trigger a JavaScript function that caches ...
0
votes
1answer
36 views

Clicking on java script generated dynamic elements using Remote Web Driver in selenium

I have one web page, all the elements on that page are generated by java script code. I want to click on one of the button on that page, I was able to do this using the chrome driver,FF Driver but ...
0
votes
1answer
31 views

Iterating across various open windows using Selenium and Python

So my question deals with iterating over multiple open windows at a time. Suppose I am opening a website (best example would be Naukri). As soon as the page loads, two more pop up windows open up. ...
0
votes
0answers
19 views

BrowserMob - WebSites not working when using proxy with Selenium Firefox WebDriver

I am using the below .Net wrapper for BrowserMob along with Selenium: https://github.com/AutomatedTester/AutomatedTester.BrowserMob But I'm unable to capture information. Websites won't work when ...
0
votes
0answers
35 views

Upload file in Selenium using AutoIt? [duplicate]

I'm trying to upload a file using Selenium on Windows 7 using AutoIt following this tutorial http://www.toolsqa.com/selenium-webdriver/autoit-selenium-webdriver/. The web page I'm using is this one ...
0
votes
1answer
36 views

Get browser's current position using selenium webdriver

I would like to know if there's any way to know the absolute position of the browser's visible canvas. Ex: if I'm at a webpage and I scroll down 200px, I would like to know I'm on the coordinate ...
0
votes
1answer
37 views

Options for headless browsers for .net?

I am looking at speeding up my automation using a headless browser. I tried converting my tests to use PhantomJS but test stability took a big hit. Some pop ups don't seem to render correctly, tests ...
0
votes
0answers
55 views

Selenium C# Why does Telerik Rad date picker clear its date text in the date picker text box when running tests?

using System; using System.Text; using System.Text.RegularExpressions; using System.Threading; using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using ...
0
votes
0answers
28 views

Handling Ajax onclick function in selenium to render the page

I have a scenario like, I need to click on the link (anchor tag) href attribute for that tag is href="javascript:void(0)", but onclick is firing an ajax request then appending the result to some URL. ...
0
votes
2answers
91 views

How to read date value from a calendar through selenium ide

There is a calendar object in the web page, not developed internally. It's a datetime picker. How do I read the selected value from it through selenium ide? Thanks in advance guys.
0
votes
0answers
27 views

Selenium Webdriver : Selection is happening twice

I want to select only Manage the customers and Projects . But did not getting , whats going wrong with below code. It selects both Manage the customers and Projects and Manage Tasks My code: ...
0
votes
2answers
75 views

C# Selenium Webdriver “The path is not of a legal form.”

Running firefox portable (which I know used to work) is now producing an error "The path is not of a legal form." when trying to load profile. var binary = new ...
0
votes
2answers
189 views

Unable to run selenium webdriver script in IE11

I have IE 11 browser on Windows 8. I'm trying to automate a simple search but I am getting an exception. (The script works in Firefox) I made regedit changes according to instructions given in ...
0
votes
0answers
57 views

Why does Codeception / Selenium give “UnknownServerException”?

I've recently had some trouble getting automatic testing working on a new machine. I'm using Codeception and Selenium, and everything worked fine on my old Windows 8 machine (I'm now on Ubuntu). My ...
0
votes
1answer
27 views

Getting NPE on screencapture with an error

I am currently setting up PageObject with PageFactory Automation tests. I currently have a screenCapture.java and I try to call the method within the screenCapture when there's an error. Here is the ...
0
votes
0answers
30 views

Unable to get testng report one by one; Both reports are coming simultanously

I have two testng.xml files. I did entry for these two testng.xml files in pom.xml like this: <suiteXmlFiles> ...
0
votes
0answers
46 views

How to download a attached PDF file in the PDF file using selenium

A PDF file was attached inside the PDF file. Needs to read the content in the attached PDF file. Let me know if you have any solution on this requirement. I am using IE Webdriver, and the code I have ...
0
votes
0answers
38 views

The unstable elements crawled with selenium using python

When I used my script to crawl "fortune.com/fortune500", I crawled the ranks and companies' names in top500 filter-list part. I even forced the wait time after click the option-value on the list ...
0
votes
0answers
63 views

Web driver gets blocked after getting a second level popup (popup inside another popup)

I'm facing an issue when application I'm testing is opening a second level popup (I mean, a popup that rises another popup). I'm using Selenium for Java, version 2.42.2, with IE Driver. My code ...
0
votes
2answers
47 views

Locating button element in modal and/or new window

I am new in using selenium web driver. Can you help me which Element should I use? Here is the code. <a class="btn btn-sm blue" data-toggle="dropdown"> <i class="fa fa-gear"></i> ...
0
votes
2answers
74 views

How to select category from Ebay dropdown list? [duplicate]

Hi I'm learning automation testing using Eclipse, Selenium Webdriver, and Java. I'm practicing. I'm trying to select the label 'Consumer Electronics' from the Ebay dropdown menu and search only in ...
0
votes
0answers
33 views

Please help me to automate the application through selenium webdriver [duplicate]

Please help me to automate the below scenario through selenium webdriver In Application values are stored in the web table. STID STNAME AGE 1 Sachin 24 2 Kumar 25 and similarly in ...
0
votes
1answer
44 views

Getting and logging the selenium version used in a groovy project

I'm using Selenium in my Groovy application as a Maven dependency. Now I'm looking for a way to log the used Selenium Version to the console. I tried this: BuildInfo info = new BuildInfo(); def ...
0
votes
1answer
79 views

is_displayed with python and web driver

So when my test pass it will show the "yeah" word in the end, however when it fails , it will only show and exception NoSuchelement and the word "Failed" will not show up anywhere. its like else ...
0
votes
1answer
35 views

page elements are not visible after the page completes its loading

I am working on webdriverjs + Nodejs for selenium automation for one of the project.I am facing an Issue with login page ,when the home page loads successfully after clicking on login link,login page ...
0
votes
1answer
77 views

Help finding child class with cssSelector syntax

How can I find this element by css this is what I have so far. driver.findElement(By.cssSelector(".simplecolorpicker > span[title*=#ff8081]")).click(); Here is the image of the html:
0
votes
0answers
285 views

TestNG with Selenium Data and Keyword Driven Framework

I am new to TestNG. I'm using Hybrid Framework For Automation Testing, it's Hybrid Architecture based, in which Keyword(Java Methood name) and data is provided in Excel sheet, and based on that ...
0
votes
2answers
190 views

Selenium Cannot locate element

I am working on automation, while automating a form with number of drop-down's. The problem with me is, when run the code in maximize mode of window it gives me an Error: ...
0
votes
0answers
268 views

Selendroid: Unable to launch selendroid.shows following error

I have tried to start selenium using following code to relevant path on cmd prompt: java -jar selendroid-standalone-0.14.0-with-dependencies.jar -app selendroid-test-app-0.14.0.apk but i am ...
0
votes
1answer
650 views

TypeError: Error when calling the metaclass bases module.__init__() takes at most 2 arguments (3 given)

I'm ne to coding and python. Not sure where exactly I should be looking to fix this error. from UIMap import tomcat8LoginPage, ...
0
votes
0answers
23 views

How to find Missing “Alt” Attribute or Value in Selenium [duplicate]

I would like to write program which search all images on webpage and looks if any images missing with alt attribute of value inside the attribute.
0
votes
0answers
93 views

Hovering over HighCharts - C# Selenium coding

Query w.r.t the answers on this page Selenium WebDriver and Highchart testing I need to hover over highcharts & at a specific point on chart, need to validate tooltip values using C# selenium. ...
0
votes
3answers
118 views

How to tackle the problem of non-static paths/names/ids of DOM elements while automating with Selenium?

I've got not very common task to take care of. We need to create several test suites for some forms in one complex web application. I'm a rookie in this field and Selenium was the first (and pretty ...
0
votes
0answers
203 views

Unable to get chrome to open link in new tab and verify the title

I am trying to expand our organizations testing to include compatibility testing. We currently use Selenium Web Driver to test using Firefox and Internet Explorer. I have tried modifying the current ...
0
votes
2answers
80 views

Selenium Drag and Drop with non visible Element

I've got a problem with drag 'n drop with elements in lists which are not visible at loading. When I scroll to the element I can click it or move the mouse over it but I am not able to perform a drag ...
0
votes
2answers
340 views

Selenium IDE - Selecting an option from Popup Menu

I am new to Selenium IDE and not very good at coding.Trying to record few actions and selenium throws error. I would like to select an option from the Popup Menu. I tried all possible combinations. ...
0
votes
1answer
148 views

Selendroid - How to run test script?

Can I run test using selendroid when device connected using WIFI? Or I will have to connect device using USB cable and then test will run? I have created script just need help to run it.
0
votes
2answers
2k views

Selecting an item of a drop-down menu with Splinter lib (Python)

I am looking for a way to select an item in a drop-down menu in python with Splinter (very similar to selenium I guess) : <li class="option1" rel="1158"> Option 1</li> <li ...
0
votes
1answer
2k views

How to run TESTNG failed test cases in jenkins for maven project?

I am new to jenkins and I have configured it on my windows PC. I have to run failed test cases twice before considering that they are failing. I am using TestNG and selenium webdriver for writing test ...
0
votes
1answer
151 views

integration of Selenium Java testNG framework with .net framework

I have designed a framework in java using selenium by testNG framework. My question is can we integrate the entire framework with C# .net framework (Another framework for same application using .net ...
0
votes
0answers
97 views

Selenium screenshots from chrome are mirrored

When using Selenium remote driver accessed via python, I'm seeing screen shots taken from Chrome are being messed up. The images are mirrored. Snapshots taken with IE9 work without issue. chrome ...
0
votes
0answers
317 views

How to set script timeout?

I have the following code: Webdriver driver = new FirefoxDriver(); // ... String myHugeScript = ... ; // Script loaded from a resource on the classpath Object result = ((JavascriptExecutor) ...