Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

2
votes
1answer
262 views

PHPUnit Selenium2TestCase BadMethodCallException

I have installed selenium-server-standalone-2.33.0.jar , phpUnit, selenium extension for phpUnit. This test run ok $this->url('/'); $this->assertEquals('my title',$this->title()); But ...
1
vote
1answer
48 views

Handle the File Upload dialog in Protractor for IE11

I know the default answer to handling explorer.exe is to use AutoIT, but AutoIT utilizes Java Runtime to use the exported .exe to upload the file and close the dialog. My tests are all in Protractor ...
1
vote
1answer
278 views

Unable to open Chrome WebDriver in another language

I'd really like to write a Selenium WebDriver test that verifies text is localized. The localization code bases the strings it displays on navigator.language (or navigator.userLanguage for IE). I ...
0
votes
1answer
13 views

Is it possible to access the css class using webdriver

I want to get the background image url which is defined in a css class . Is it possible to do by using selenium webdriver Example : Sample Text with Logo Now I want to achevie the logo url but that ...
0
votes
1answer
52 views

Not able to execute 700 Test Cases on Firefox and Chrome

I created page object model framework using Selenium Web Driver,TestNG and ANT. Problem: Single Test case is executed successfully but while executing them together some test cases are failed. ...
0
votes
1answer
15 views

Cucumber not finding @Findby annotations

Im trying to set up cucumber over my page object. I currently have as my login page object: @FindBy (id = cF.username) public WebElement username; @FindBy (id = cF.password) ...
0
votes
1answer
28 views

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

Running firefox portable (witch 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
1answer
20 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
1answer
51 views

Selenium webdriver with python - cannot find dynamic content

I'm new to Selenium and have searched for a solution for this, but cannot find one. I am trying to drill down into a nav containing a collapsable directory tree. The folder nodes' content starts as ...
0
votes
1answer
33 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
1answer
34 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
54 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
1answer
294 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
1answer
104 views

WebDriver - Using loadablecomponent design for URLs with query parameters

For example if the url is - http://blah.com?origin=home&id=54&level=2. This could be a dynamically generated link on a webpage with 'id' and 'level' values from the DB. Now if i want to use ...
0
votes
1answer
63 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 ...
3
votes
0answers
177 views

Selenium RC with Firefox portable (Windows)

I tried to use FirefoxPortable with selenium from my Windows 7 OS but I'm having difficulty. So, I launched selenium RC server with the default folder profile of FirefoxPortable : java -jar ...
2
votes
0answers
87 views

select_by_value causing odd issue with the DOM

I'm new to Python and Selenium testing so please forgive me if this isn't written right. I've been asked to look at the test that does a few actions on a form. The form has 2 text fields, a drop down, ...
2
votes
0answers
80 views

Eclipse is automatically running unwanted selenium tests

I have two test files (lets say they're SomethingTestA and SomethingTestB). Inside SomethingTestA, I have a bunch of mini smoke tests methods, like so @Test public void testCreate() { ... } ...
2
votes
0answers
856 views

How to get the Event Object of the Click event on Selenium IDE?

I am a newb at selenium thing. I have image map area and on click event of this area a function is firing where the click Event Object is being passed to do some calculation. I have recorded the ...
1
vote
0answers
33 views

Do not show browser and OS in Selenium console output

I am running Selenium tests (with Protractor) on several browser at the same time to speed up the testing. Jenkins starts the tests and receives the output in a console. To make things more readable ...
1
vote
0answers
127 views

Page Object Design: Is there a Javascript equivalent to Ruby gem “site_prism”

I'd like to know if there is a framework in Javascript (NodeJS) for Protractor which supports a clean way to define the Page Object Elements on a Page Object as site_prism does. I've already checked ...
1
vote
0answers
183 views

Occasional no response from Selenium Grid server - any theories?

While locally we're having no problems, on a virtual server we're running Jenkins which kicks off Selenium Grid to execute some of our tests. Exception has been thrown by the target of an invocation. ...
1
vote
0answers
319 views

Selenium Webdriver and OpenLayers

I would like to check that the locations asset on map (openLayer) are the same with some asset in a row. What is the best way to do this? I'm using the TestNG framework.
1
vote
0answers
439 views

Passing session while switching control to a pop-up window

I am trying to choose a date by clicking an image which results in a pop-up window with a date picker in it.But when done through selenium the session expires and the login page appears in the pop-up ...
0
votes
0answers
22 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
0answers
22 views

unable to get testng report one by one both report is coming simultanously

I have two testng.xml file. I did entry for these two testng.xml file in pom.xml like that <suiteXmlFiles> ...
0
votes
0answers
36 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
19 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
35 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
0answers
16 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
0answers
124 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
0answers
180 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
0answers
77 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
0answers
172 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
0answers
74 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
226 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) ...
0
votes
0answers
152 views

QC REST API - To update the test status?

Can some one help me to update the test status in QC using the REST API provided by QC . So that i can use it for updating the test status after executing my Junit tests. Thanks Vineeth Varghese
0
votes
0answers
65 views

how to run a test script in a different browsers by using selenium webdriverjs and mocha framework

I'm new to webdriverjs , please help me how to run same single script in multiple browsers one by one by using the selenium using with javascript + mocha framework
0
votes
0answers
55 views

Selenium Testing in Android Devices without USB connection

How can I do my selenium testing by opening the browser in android device from my PC, without connecting through USB?
0
votes
0answers
49 views

ElementNotVisibleException on Mac, not Windows

I'm trying to get Webdriver in Python to click a cell in a table, wait for JavaScript to add an element into the cell and then click the element that appears which causes a dropdown to appear. We ...
0
votes
0answers
45 views

Selenium script for selecting any one of the users

I have added the code selecting anyone of the user but only first time it works so please help me with this. Stripe.com ...
0
votes
0answers
239 views

verificationErrors in WebDriver

When verification fails in multiple "try catch" blocks containing "verificationErrors.Append(e.message)" in a single test script, the test results log shows only one of those failures and instead of ...
0
votes
0answers
54 views

Is this possible to start a selenium test with two different hub?

I'm new to selenium. I'm running selenium grid using a hub with 5 registered nodes. Is this possible to start the test with two different hubs.
0
votes
0answers
182 views

Selenium WebDriver Code for PeopleSoft Sub Page

I am new to Selenium WebDriver World. I am trying to work on a script to Add a Person in PeopleSoft HCM Application. Basically, On the Personal Data Main page, you first start by adding a Effective ...
0
votes
0answers
271 views

Regex escaping issue in Selenium IDE and WebDriver

I have a Selenium IDE command evaluating a regex against a string in the DOM, something like this - Command waitForEval Target ...
0
votes
0answers
453 views

how to maximize chromedriver on mac machine

driver.manage().window().maximize(); options = ChromeOptions(); options.add_argument("--start-maximized"); driver = ChromeDriver(options); I tried the above options to set the chrome window on mac ...
0
votes
0answers
96 views

Is it possible to covert telerik test studio tests to selenium?

After a change of tooling, we now have a combination of telerik test studio tests and selenium tests. Is it possible to covert telerik test studio into selenium webdriver tests?
0
votes
0answers
48 views

xss scripts through console of web-developers-tools

So, well i am learning selenium webdriver, junit4. I need to know, is it a proper way to add "xss scripts" through console of web developers tools ? Can anyone help me with example ?
0
votes
0answers
1k views

Why can't my Selenium Grid VM node get parameters from/register to the hub?

I'm trying to set up a Selenium Grid node on a virtual machine. I am using VirtualBox for the VM and Jenkins (with VirtualBox plugin) to set up the grid. When I try to register the node, I get the ...
-1
votes
0answers
23 views

How to add arrays for IList<IWebElement> to write excel

Iam using this code (someone suggested me to use this) for writing excel, but it is also slow, pls chk this and suggest me how to improve speed of writing, sumone told me to use 2D arrays, but m not ...