Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

1
vote
2answers
610 views

want to scroll down page/form using selenium webdriver

I want to scroll down a page that is coming inside a form, not in the main page. I tried this code JavascriptExecutor jse = (JavascriptExecutor)driver; jse.executeScript("window.scrollBy(0,250)", ...
2
votes
1answer
1k 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
266 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 ...
1
vote
1answer
455 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 ...
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
118 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
38 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 ...
-1
votes
1answer
64 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 ...
3
votes
1answer
112 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 ...
2
votes
0answers
665 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
85 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 = ...
22
votes
4answers
33k 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
3answers
101 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 ...
4
votes
4answers
439 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
73 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 ...
1
vote
0answers
42 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
3answers
55 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
371 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
67 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
1answer
520 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
181 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
427 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
54 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
74 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
78 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
479 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
93 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
229 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
95 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
48 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
760 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
1k 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
232 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
463 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
379 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
670 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 ...
0
votes
1answer
148 views

Selenium IDE: sign out button not working

sign out button is not responding in selenium ide Error: "" clickAt(locator, coordString) Arguments: locator - an element locator coordString - specifies the x,y position (i.e. - ...
5
votes
4answers
13k views

Webdriver Check if Checkbox is Set and Set it if Not

I am learning Webdriver with JUnit by going through Alan Richardson's Selenium Simplified book and taking translating the exercises/tests from Selenium RC to Webdriver. So far, this has proven to be ...
0
votes
1answer
112 views

How to open a link in new tab and then coming back to previous tab in webdriver

I have a situation in which I have to perform some action on one web page and their changes will reflect in the other web page. And after that I want to check whether changes are reflecting or not by ...
3
votes
2answers
1k views

Desktop Application testing using selenium

Is it possible to test desktop applications using selenium? Suppose we have a simple application like gtalk. A desktop application, can we automate that application with selenium.
1
vote
1answer
119 views

Alternative to Selenium Grid Console?

Does anyone know of any alternative to Selenium Grid's console? *edit We are thinking about building our own console. What I was asking was, are there any alternatives out there for the default ...
0
votes
3answers
89 views

How can i start my session in other browser rather than firefox in Selenium WebDriver?

I am new to selenium webdriver and by default when i run a script it is opening a session in Firefox. now i want to open this session in other browsers like Google Chrome, IE. How can i open this ...
0
votes
1answer
52 views

To run all test cases by invoking driver once for a suite

I want to run all my test cases with one start up and tear down process. I have written code for multiple browser testing and as of now I am repeating those codes in every class file under ...
0
votes
2answers
480 views

Difference Between CSS and XPATH [duplicate]

Difference Between CSS and XPATH ? Which is the best locator in selecting Elements in selenium? If Xpath is the better why? why should we use Xpath instead of CSS? If CSS is the better why? why ...
1
vote
1answer
615 views

What are the pros and cons of using selenium and TTCN 3 for automation? Which one of the two is better in which scenario? [closed]

What are the pros and cons of using selenium and TTCN 3 for automation? Which one of the two is better and in which scenario?
2
votes
6answers
376 views

How can I structure Selenium tests in a way that minimises the maintenance work?

What is the best way to build / structure the tests in a way that will minimize the work needed to keep the tests up to date as the product changes and improves?
4
votes
7answers
327 views

Manual QA looking to get into Automated Testing (no programming background)

I currently work at an ad agency as a Manual QA. I originally came in to act on the business side but kind of 'fell in to' the job. I do not have a programming background but I am very interested in ...
5
votes
4answers
3k views

Do you verify presence of text in your automated tests?

While automating multi locale application I had to stop using - assertTrue(selenium.isTextPresent("success text message")); where success text message would change for each locale. to - ...
0
votes
1answer
160 views

How to stop the browser loading process after 20 minutes?

I want to stop the browser loading process after 20 minutes in selenium webdriver script. Please suggest, how to do this?