Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

4
votes
1answer
670 views

CKeditor Recording Problem Selenium IDE

I cannot record CKeditor actions in Selenium IDE. I have added the following commands in my test case, but my problem is that on my page I have a button to save/send some data (from ckeditor too) and ...
2
votes
1answer
227 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
71 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 ...
1
vote
1answer
145 views

How can I use Surefire to run parameterized tests in parallel?

I am using jUnit's Parameterized annotation on some Selenium tests to specify the browsers they should run with. I am also using SureFire's new parallel parameter (set to "classes") to try and run ...
1
vote
1answer
324 views

Configuring a framework using Selenium Builder, GitHub and Jenkins

Ok, so I have posted a couple of other questions here that have been unclear so, apologies for another along similar lines. I am a little further along now but am still blocked from progressing. I ...
1
vote
1answer
5k views

How to send down arrow keys for a drop down?

selenium.getDriver().findElement(By.id("s2id_customFilter")).sendKeys(Keys.ARROW_DOWN); Am using the above code but it's not working."s2id_customFilter" is the id of the drop down.Am clicking on ...
0
votes
1answer
10 views

Logging multiple account simultaneously using selenium server and eclipse

How to do a logging multiple credentials simultaneously using selenium server and eclipse?
0
votes
1answer
30 views

Using Allure framework with Selenium webdriver tests for better reporting.

I am using Selenium webdriver for automation. I have around 200 scripts ready and now i need a good reporting tool to generate reports. I recently heard about Allure framework, which is an open source ...
0
votes
1answer
23 views

Selenium Webdriver - Develop a script to pass a URL to browser in your phone

Need to develop a selenium script which can pick a URL from an excel sheet and should send it to browser which are present in android/iOS phones on a single click ?? Is it possible ? Can anyone ...
0
votes
1answer
58 views

Automate Outlook using Selenium Webdriver

Want to automate Outlook using Selenium Webdriver ? Is it possible and if yes then any links/docs that i can refer for this ??
2
votes
0answers
100 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
713 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
46 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, ...
1
vote
0answers
59 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() { ... } ...
1
vote
0answers
146 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
285 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
411 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
12 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 ...
0
votes
0answers
10 views

Handle HandHeld (Scanner) in selenium WebDriver

From Webpage i need to scan one image using scanner(External Device through Wbservices), How to Handle this case?
0
votes
0answers
63 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
0answers
27 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
25 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
33 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
26 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
10 views

Why would StringUtils return the incorrect # of matches of a substring?

I am using StringUtils from the apache commons library to check the # of matches of a substring within the source code of an html page. I have converted the page source using the webdriver command: ...
0
votes
0answers
10 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
50 views

got stuck in reusing the parameters value using testNG in selenium

I got stuck at one scenario where i want to get the values from the excel that contains 12 rows for four type of actions. i meant the first column of the every row on the sheet determines my methods ...
0
votes
0answers
36 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
36 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
40 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
77 views

Automate graphs using selenium

I am trying to automate the graphs using selenium but because these graphs auto generated It does not have any id.can you please help me out?
0
votes
0answers
60 views

How can I prevent Selenium from dropping my session?

I'm trying to select values from a drop down on a page. There are multiple drop downs and the code seems to have no problem selecting the right drop down when given the correct identifier to choose. ...
0
votes
0answers
107 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
63 views

Is it possible to verify google analytics code, crazzy egg code, Optimizely code by selenium IDE?

I am a new tester in selenium IDE. I can check meta content by selenium IDE. But, I need to check some scripts as like Google analytics, crazy egg etc. Is selenium ide have any opportunity to check ...
0
votes
0answers
52 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
95 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
194 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
165 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
74 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
2k views

How to select particular date from a date picker in web driver?

I want to select a date from a date picker which have options to change year from a dropdown. I have to get values in date of birth input field. I can send values to the date field by sendkeys command ...
0
votes
0answers
946 views

how to read, print values from html table by webdriver using java

<div id="calendar" class="week_calendar_holder"> <div class="week-calendar"> <table class="week-calendar-header"> <div id="weekly_container"> <table ...
0
votes
0answers
624 views

On test case failure taking a screenshot with Selenium WebDriver

As the question clearly states, I used the screenshot coding in my catch block but it doesn't work. try { LoginPage lp = new LoginPage(driver); lp.userName.sendKeys("administrator"); ...
0
votes
0answers
161 views

Automated Flash / HTML 5 video playback testing

I would like to test the "playback" of an m3u8 video in 2 scenarious: It is embedded in a flash player (JWPlayer) or It is played back by an iOS device. I have heard of Flash Selenium, but my goal ...
0
votes
0answers
655 views

How to store webelements(dates) in an array

How to store webelements(dates) in an array and retrieve it? I got the total no. of dates by using the xpath : //div[@class='datepicker']/div/table/tbody/tr/td/table/tbody[2]/tr/td[@class='' ...
0
votes
0answers
29 views

How to get Alert after using Fireevent command?

<tr> <td>type</td> <td>endDate</td> <td>test</td> </tr> <tr> <td>waitForAlert</td> <td>endDate</td> ...
0
votes
0answers
234 views

Python Selenium bingings ActionChains context_click having no effect for PhantomJS

I am using python selenium bindings for phantomjs. I am trying to simulate a right click and then take a screenshot (showing the context menu). But I am unable to get the right click context menu. ...
0
votes
0answers
215 views

ConnectionRefusedError: [WinError 10061] while running multiple selenium tests serially

I am trying to run a series of tests using selenium webdriver using a loop. Code snippet I am using. for var in range(2,worksheet.nrows+1): ...
0
votes
0answers
43 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
4k views

Webdriver : How to switch to a specific window?

I came across many solutions for switching between windows, one of them is: Set<String> allWindows = driver.getWindowHandles(); for(String currentWindow : allWindows){ ...
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 ...