Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

1
vote
2answers
568 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 ...
1
vote
1answer
4k views

How to compare values from the list or from dropdown list in webdriver (Java)?

Below is my code and html code, please let me know how to compare values. When i executed i am getting same result (Mateched) for multiple times. But i want to compare and display result as "Matched" ...
1
vote
1answer
80 views

How can I use the API that Chrome uses to check for the current version

I want to write a program that detects when a new version of Chrome has been released - and I want to use the same API that Chrome uses itself when it checks. This is so I can trigger some Selenium ...
1
vote
1answer
1k views

Regarding Setting text of a WebElement without using SendKeys method

I have the following code piece in java using selenium inorder to access UI element on iOS and populate a textfield. WebElement username = driver.findElement(By.xpath("//window[1]/textfield[1]")); ...
1
vote
1answer
230 views

Selenium: Click on input-field with complicated selector

I need the right direction to click on a input field. When I copy the CSS path I get the following: html body#root div#box div#content div#C_INTERNAL_OBJECT-98286949812.container ...
1
vote
1answer
495 views

What is a good way to receive test results from Selenium IDE browser extension?

The Selenium IDE browser extension is great for quick and easy automated tests. However, it doesn't seem to have a way to report the results when unattended. What ways are there to get reports from ...
1
vote
1answer
661 views

How can I automate in Selenium IDE for email activation link?

In the send invitation process, the user will get a link in his/her inbox. When the user will click on the link, it will ask for a password and confirm the password. How can I automate it with ...
1
vote
2answers
261 views

Web Consistency Testing & Selenium : is there any tool which we can integrate with selenium to perform Web consistency testing

Web Consistency Testing & Selenium : is there any tool which we can integrate with selenium to perform Web consistency testing I can do this using Selenium but its scope is limited using ...
1
vote
2answers
367 views

Not able to identify tab in Selenium

Below is code for tab - account.This is third tab. I have to go on tab but I am not able to identify <td class="buttons" nowrap="nowrap" title="Shows data of bank account" ...
1
vote
3answers
3k views

Error while running script selenium RC

I am working on selenium 2.18.0 version with firefox 8.0.1.While executing script i am getting error like 15:52:07.342 INFO - Started HttpContext[/wd,/wd] 15:52:07.347 INFO - Started SocketListener ...
1
vote
1answer
4k views

Question: C# Selenium: Read rows from html table until the last row is found, and Store in array

The following snapshot is what I see when I do a view of class and Ids in using IE Developer tool. It consists of a table and inside the table there are links. I need to read all the link names, and ...
1
vote
1answer
100 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
61 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 ...
1
vote
1answer
158 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 ...
1
vote
4answers
147 views

How to check no. of characters accepted by an input field using Selenium WebDriver?

I want to check the validation of an input field that what is the number of character it accepts? Suppose an username field is allowed to accept 15 characters then how can I automate this test?
1
vote
1answer
90 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 ...
1
vote
2answers
274 views

Proper way to create an object repository in Selenium project

I have some questions about creating an Object Repository for a selenium project: 1) What are the main reasons that we create an Object Repository, as opposed to hard coding the element IDs in our ...
1
vote
1answer
215 views

selenium wget download file

I'm testing a web app with Selenium and I actually need to download a txt file during my test. But this seems impossible because a pop up appears asking to save the file. So, this blocks the progess ...
1
vote
2answers
67 views

Test results that differ from running via command line versus IDE

I have just run a set of automated tests via the command line using Maven as my build tool and JUnit4 as my test execution framework. There was a report of two errors which were recorded in a text ...
1
vote
1answer
92 views

Is it possible to group java selenium tests in a larger utility class for reuse?

So say you have a made up flight booking application. I'm speaking on a very high level; because i'm more concerned with the design of these java objects. We're creating tests that have these classes ...
1
vote
1answer
137 views

Parsing xpath results in selenium ide

I'm trying to get a list of all the links that follow a certain rule ( their href is Downloads.aspx?<somestring> ) *Note: I'm using Selenium IDE, the Firefox plugin for this. In order to get ...
1
vote
2answers
977 views

How to set Firefox path on Mac OS for Selenium WebDriver?

I am beginner to webdriver. I have setup all configurations. I am using firefox 27.0.1 version with selenium jar files 2.40.0. I have written code to open firefox browser with a URL. I am unable to ...
1
vote
1answer
113 views

How to automate test the website inside some windows desktop app?

I have this question: I found there are web test automation tools such as selenium, but they are designed for testing website in the browsers such as ie/firefox/google chrome... What if the website ...
1
vote
1answer
857 views

Selenium IDE Store variable in Javascript of Page

I am attempting to inject Javascript directly into a page in order to set a variable for the page. I am still rather new to the IDE and I have seen the runScript function and I think it does what I ...
1
vote
1answer
566 views

How to update test cases in MS Test Manager based on automated test script results

For a web-application, I am automating my test cases using selenium web driver in java. My test cases are being managed using Microsoft Test Manager. Now, I want to update the test cases in the ...
1
vote
3answers
145 views

Ideas to implement offline smoke test for downloaded excel files

I run automated smoke tests for my web application, but until now, these tests are not covering offline excel spreadsheets that are downloaded by the user. I'm starting a study to find possible ...
1
vote
2answers
3k views

Using Selenium (C#) how do I select an item from a drop-down list

I'm using the Selenium IDE to record my initial tests and then export them to c# and then use the webdriver. Some things that I do from the IDE don't export. I am trying to select a State from a ...
1
vote
2answers
741 views

Running Web and Application Automated Tests from the same Framework

I am writing automated tests for my company, and I am doing so from the ground up. We provide both desktop and web applications to our clients. After doing a lot of research and testing, I landed on ...
1
vote
1answer
564 views

Verifying Youtube Video in Selenium IDE

We have a need to verify content on our site using Selenium IDE; specifically for this question Youtube video served up in an iframe: {<iframe width="506" height="315" frameborder="0" ...
1
vote
1answer
1k views

How to handle child window in selenium webdriver?

In selenium webdriver, i can switch between from parent window to child window but i cant focus child window.it is not working. Anybody having suggestions to find the solution?
1
vote
1answer
197 views

Getting Coordinates from Selenium IDE

I am trying to work with the Selenium IDE on Firefox. I was wondering does anyone know a way to get an element's/widget's coordinates directly from the IDE? Is there an add-on or some option that ...
1
vote
1answer
129 views

How to locate cursors randomly in a map?

There is a lot of cursors in the map. Every time you refresh the map you will get another different cursors with different IDs, o I can't use the IDs. I want to click at any cursor, a tooltip should ...
1
vote
2answers
1k views

FileUpload using selenium RC and java

I am using Selenium RC and Java and I need to automate the file upload feature.I tried a lot, Clicking on Browse button is not executing and rather getting stuck. I tried in FireFox but to no avail. ...
1
vote
2answers
470 views

Selenium, monitor network, captureNetworkTraffic command not available

I need to know if an application is requesting one beacon via an image or XHR request. Manually I test it via the network tab in FireBug or monitoring the proxied requests in other browsers... ...
1
vote
1answer
360 views

How to create shortcut to run Selenium script?

Is it possible to have some kind of shortcut (probably bookmarklet) to run specific Selenium script? While developing webapp I'd like to have a possibility to quickly run specific Selenium script to ...
1
vote
1answer
3k views

Click event in Selenium webdriver is not working [closed]

I tried everything: click, send, etc. Below is my code: WebElement element = ((WrapsDriver) selenium) .getWrappedDriver().findElement(By.xpath(LOGOUT_XPATH)); element.sendKeys(Keys.ENTER); try { ...
1
vote
1answer
503 views

How to Spy elements in an in-browser applet

I am trying to automate user interaction on a web application which is having embedded java applet in it. Need a tool that can spy the objects in the java applet in browser . The plan is to use FEST ...
1
vote
1answer
352 views

Selenium not recognizing actions on JavaScript-generated page

O hai SQA, first post here. I just started using Selenium a few days ago. However, I'm a little stumped getting it to work with one of my projects. I have an HTML file containing a collection of ...
1
vote
1answer
1k views

Choosing framework type for selenium RC/Webdriver

I had opportunity to work in around 3 different projects, where selenium have been used extensively. Among them 2 were based on Data driven (say test cases driven by testng XML for each scenario with ...
1
vote
1answer
3k views

Runtime exception at selenium.start() - Could not start Selenium session: Failed to start new browser session: Error while launching browser

Followed this post - http://stackoverflow.com/questions/1414934/selenium-could-not-start-selenium-session-failed-to-start-new-browser-session Error comes up at selenium.start(). I am using Selenium ...
1
vote
3answers
1k views

Selenium Webdriver - Unable to get focus back to child window

I have scenario where clicking on some link in parent window opens a new window, after performing the actions on the child window, iam unable get back focus on the parent window, I have used the ...
1
vote
3answers
3k views

Handling multiple windows using selenium

Is it possible to work on multiple windows using selenium, when I searched on the net, there are only explanations and codes available for Selenium2 webdriver version. For the normal selenium I can't ...
1
vote
2answers
2k views

split stored value using JS in selenium IDE

I am trying to use js split in one of my tests. I need to store a url and save the last part of the url in a log file. I have stored the url successfully but I can't get the slit to work. So far I ...
1
vote
1answer
549 views

Some Selenium tests fail on server but pass locally

i'd like to know if anyone faced the following problem with Selenium tests run: when scripts are running locally all tests pass, but when they are ran on server for the same site some of tests fail ...
1
vote
1answer
295 views

Pretty / GUI formatting for the nosetests.xml xUnit report?

Is there a simple tool that will generate pie charts or otherwise "pretty", graphical output based on the .xml file that nose outputs with the --with-xunit switch? I tried googling around for one but ...
1
vote
2answers
184 views

Selenium Selenium.Core v1.1.4322 - XPath not working

I've got the following XPath expression's working in firebug, that returns the correct element(s): $x("(//input[@class='intervalInput timeInput'])") returns two elements. ...
1
vote
2answers
32 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 ...
1
vote
0answers
22 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
1answer
109 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 ...
1
vote
0answers
56 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 ...