Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

1
vote
1answer
316 views

Selenium WebDriver (Java) with database [closed]

I want to validate application output result with Database using selenium webdriver (Java). Please let me know how this can be achieved. Or could you please let me know how to use selenium webdriver ...
0
votes
1answer
217 views

Is parameterized constructor (Java) supported in selenium webdriver?

I was asked in an interview whether Selenium Webdriver supported parameterized constructors. Example: import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import ...
0
votes
1answer
201 views

Using Selenium Builder with Jenkins

I'm trying out Selenium Builder as an alternative to Selenium IDE and Selenium Webdriver. I've been pointed to a useful tutorial here: http://sebuilder.github.io/se-builder/ ...but this uses Travis ...
1
vote
1answer
153 views

Selenium webdriver - Java with Webservices

In our application we are using web-services and DB, is it possible to integrate Selenium webdriver with web-services (Soap UI)? If two different frameworks are integrated, whether this is good?. My ...
0
votes
1answer
64 views

Script when passing values from one HTML page to other in Selenium IDE

How to create Selenium IDE script when passing value [Using hyperlink] from one HTML page to other. In my case the page was automatically closed After passing the value. When i am trying to run ...
0
votes
1answer
404 views

How to click on Canvas element?

How do I click on a Canvas element by using Selenium Web Driver and Java? I have searched Google but didn't find what I needed. A marker/pin is on the Google map and I have to click on the ...
2
votes
3answers
5k views

How to specify a Firefox profile name when using webdriver + python

I'm using python 2.7.1 and selenium 2.20.0. I have a seperate firefox profile called "selenium" which I want to use when running the webdriver. I managed to do it by specifying the complete path to ...
0
votes
1answer
64 views

I want to select the value from the dropdown

I am testing www.paytm.com In that I have filled in the mobile number but I am not able to focus and select the mobile operator which is present in the dropdown just after the phone number section. ...
0
votes
1answer
32 views

procedure and prerequisites for installing selenium

I am a manual tester and would like to upgrade to automation so i would like to go for Selenium. But i am totally new to selenium. So I would like to gain some knowledge on selenium. For that i would ...
0
votes
1answer
590 views

SeleniumIDE Issue - js alert() is not detected by IDE

SeleniumIDE Issue - js alert() is not detected by IDE These steps will reproduce the problem: Open http://www.w3schools.com/js/tryit.asp?filename=tryjs_alert2 Click on the "try it" button The ...
-1
votes
1answer
38 views

want to capture data after the search action using selenium webdriver

I am working on a erp application where I have to click on a 'search' button after which it will give me list of data . I want to automate that using webdriver. The search tab is empty before the ...
2
votes
1answer
78 views

Mobile application testing

I am new to "Mobile application testing" and I googled and got appium and selandroid. I want to learn mobile application testing and I have experience selenium webdriver with java. Queries are: I ...
0
votes
1answer
92 views

Selenium 2.40 driver select tag issue

Following code works for selecting the last item from dropdown using Selenium 2.28 driver on Firefox and IE. Not working with Selenium Web Driver 2.40. I can see the dropdown opening but it is not ...
0
votes
1answer
56 views

how to print currency symbols using webdriver with testng

In Dropdown currencies are listed as($,€,₤). Based on the selected currency, prices will display in other page like ($10,€10,₤10). Using the below code, I got the selected value from the dropdown. ...
3
votes
1answer
68 views

Headless browser testing using X virtual frame buffer

My current setup is using Jenkins as my CI environment, which has some ubuntu server nodes to execute the end to end browser tests on some amazon EC2 machines using selenium 2. I am wondering if ...
2
votes
0answers
558 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
1answer
39 views

How to switch pop-up handler using selenium webdriver

I am working on a application that opens a form to fill up when i click on a button. I need to switch to that window , fill up the form and come out I tried this code Set beforePopup = ...
0
votes
2answers
477 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, ...
21
votes
4answers
31k views

What is the correct way to select an <option> using Selenium's Python WebDriver

I would like to select an <option> child of a <select> using the Python WebDriver. I have a reference to the option WebElement I wish to select and have tried select() and click() methods ...
1
vote
2answers
2k views

Selenium webdriver - Unable to locate element,xpath,error

I am testing localization. I am running the same URL with other countries in my data provider. The HTML I am looking for is: <a class="learn-more linkable" data-url="/speakers/minijambox">En ...
1
vote
3answers
79 views

Authentic Testing of Mobile Website

I'm currently on a project in which we've set up a test infrastructure for automated regression testing of the customer's website (that is, the desktop and mobile versions thereof). My question ...
0
votes
1answer
187 views

How to use locator value in WebDriver?

I am learning Java to automate testcases using WebDriver. As for now I was using Selenium IDE. I have a scenario. In date picker on selecting date, based on the current date and time-future timeslots ...
4
votes
4answers
403 views

Is it possible to run RFT script in Selenium?

Since Selenium has problem accessing a standalone window, I have to use RFT just to handle this window. I made a jar file from the RFT script and added it to Selenium library. But it seems Selenium ...
2
votes
0answers
30 views

Selenium RC with Firefox portable (Windows)

I try to use Firefox Portable with Selenium from my Windows 7 OS but I'm having difficulty . So, I launch selenium RC server with the default folder profile of FirefoxPortable : java -jar ...
0
votes
1answer
26 views

Selenium support (native and its bindings)

As far as I am aware, Selenium is an active project that is being developed and heavily used. However, when I look at the defects list on their official site, it looks like there are thousands of ...
0
votes
2answers
2k views

JavascriptExecutor is not identifying the button to click in Webdriver

I have this HTML <div class="btnContr"> <input type="button" onclick="return cancel();" value="Cancel"/> Below is the xpath identified, using this xpath, I am not able to click on ...
1
vote
0answers
33 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, ...
0
votes
2answers
87 views

Unable to locate element in a dropdown

ul class="appt-dropdown-menu"> <li id="service-slot-blocker" class="slot-blocker-holder"> <li id="service-05b41399015375913"> <code class="light-blue"></code> <span ...
0
votes
2answers
131 views

send multiple element to kendo multiselect from selenium

I want to sent more than one value to Kendo Multiselect element. whenever i use the Following function ((IJavaScriptExecutor)driver).ExecuteScript(String.Format("$('# ...
0
votes
3answers
47 views

Test dropdown creation in several pages

Currently I am writing tests for a web application using Selenium, when a question popped in my mind. Since this is my first time with Selenium, I'd wish to have some help on it. I have to test the ...
2
votes
1answer
318 views

select random cursors on map using selenium ide

I'm using google map api in my site and I want to test the cursors on map using Selenium IDE. Now I use this code and it works fine: clickAt > xpath=(//map[@id='gmimap85']) but it tests only one ...
0
votes
0answers
47 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
100 views

Blurred screenshots with Selenium Webdriver

Please refer to the link to see what kind if screenshots I get - http://goo.gl/uDIyf3 instead of http://goo.gl/BQy1hI . Not sure what could be wrong here as the same code has been working for me on ...
0
votes
1answer
278 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 ...
-1
votes
3answers
73 views

how to get the count of elements in list box

working on selenium + java,. can any one help me... I have a drop down list box, and need to get the number of elements in the list box. <select id="id"> <option ...
0
votes
1answer
96 views

WebDriver Clicking button issue in IE 11

Have a suite of web-drivers tests that run in chrome and IE 10, but will not run in IE 11. The tests fail in IE-11 when clicking a button as the following action (a form popup) does not occur. I ...
0
votes
0answers
42 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
3answers
56 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
3answers
65 views

Which version of Selenium should I learn? [duplicate]

I am a manual tester and I want to learn test automation. I have basic knowledge of core Java and I would start to learn Selenium. Should I start to learn Selenium IDE, Selenium1/RC or Web driver. ...
1
vote
1answer
198 views

Selenium webdriver java with jdbc

I am using selenium webdriver with Java jdbc. Below are my queries. First: I am trying to login to the application with username and password from database (Using SQL Query). I am getting the ...
1
vote
2answers
73 views

Matching any text present on the visible html page

Suppose I have an add question facility but can't add same question in the form. So need to check whether the question is already visible on the screen, if not then add it. I am not getting how to ...
0
votes
3answers
112 views

Selenium IDE - Actual use- seeking a practical example

What is the actual use of Selenium IDE? Apart from playback and record How can we use this tool to check the validations of a simple login form in website?
0
votes
1answer
51 views

How to test and run Liferay portal using Selinium?

I am new to testing, I have done the below steps. I don't know if I am correct or not. Downloaded Selenium IDE and added it to Firefox. Recorded tests and imported test cases as WebDriver/Junit. ...
0
votes
1answer
40 views

Selenium: not able to find element

What will be the Selenese for this element? <input type="text" value="0" id="28" name="UNDER PRIVILEDGED" class="textbox"> I've written like this cmd : type Target : name=UNDER ...
0
votes
2answers
283 views

Webdriver: Selecting element by position in drop-down menu

can anyone here suggest a method to select an item from a dropdown menu, using the item's position in the list? Say you have a normal dropdown menu to select the month of birth. (Example on this ...
1
vote
2answers
796 views

How to capture a series of screenshots in Web Driver using Java

I Just wanted to know, that how we can take a series of screenshots / a video recording for a screen using Selenium 2 / Web Driver with JAVA ? Please provide the answer or the lick where I can get ...
0
votes
2answers
114 views

Selenium picture Captha validation

We upgraded captcha in our application to use images instead of letters In the previous version I could fill the captcha field with a specific token to pass my the validation. Since now there is ...
3
votes
7answers
282 views

Visual Regression Testing

For testing the visual appearance of a website the use of tools like selenium (functional surface test) are not sufficient because it doesn´t check the visual appearance and/or the CSS-Code directly. ...
2
votes
1answer
375 views

Is the source code required when using Selenium-RC with Grails?

Can anyone help with using Selenium-RC + Grails? I have used Selenium with Java but had no problem writing the code and launching the browser. But is the source code of my project required when i need ...
-1
votes
3answers
440 views

How do I get dynamic div content in selenium

See how the dynamic message displays in the browser. I am adding a name in a text field and clicking save button. After clicking save, a message displays as New Staff added or Staff Name already ...