Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

6
votes
3answers
2k views

What aspects normally differ when developing automation framework in QTP VS Selenium

I have worked in Selenium. For developing Web UI Functional Test automation suite I considered below aspects Using TestNG Framework Using Page Object pattern XML based configuration Logging of ...
0
votes
0answers
31 views

Some good books for Web Testing [duplicate]

I am in the QA Guild for 6 months now and I am working for a company developing a WEB Product and using Selenium for tests. I think we are doing a great job in the QA area, but there is much room ...
0
votes
0answers
42 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 ?
1
vote
1answer
2k 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]")); ...
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 ...
0
votes
1answer
269 views

How to save compiled document on Desktop using C# Selenium

Using Selenium WebDriver with C# in VS 2010, I compiled a document using automation and then I want to save the file on my desktop. During automation a new window is popping up to "save or open file". ...
0
votes
1answer
98 views

Selenium IDE is automatically getting rid off

I am using selenium-ide-2.4.0 api in Mozilla Firefox 16, when i close and use Firefox 2 and again restart my Firefox 16 i need to re-install my api and use it, Why is it happening so?
6
votes
4answers
2k views

what is the best way to write automated end to end user scenarios?

When automating user scenarios, we typically cover an end-to-end user flow. Unit testing recommends that each test method should be independant and only test one thing. But things are different in ...
1
vote
1answer
286 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 ...
4
votes
3answers
1k views

How do you block Google Analytics from Selenium automated visits?

Basically, we have a javascript integration on client's webpages. We don't have much (or any) control of the deployed environment, hence the only way to test our integration is truly working is using ...
0
votes
1answer
132 views

Selenium and PHP

As I read on the net, Selenium tests should be written in the language of the App if this is possible. Our intranet-application is written in PHP. I was able to get Selenium working with PHPUnit but ...
0
votes
0answers
3k 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
2answers
279 views

Web driver fails performing click operation

I am automating Peoplesoft through Selenium. Web driver is able to locate the web element: System.println.out(driver.findElements(By.id("Element_id").getAttribute("name")); Web driver prints the ...
-1
votes
1answer
716 views

How much is paid for a Selenium Automation Tester who has an overall experience of 3 years? [closed]

Currently I am working in a selenium automated project and I look for a jump to get paid more.I have an experience of 2 years in selenium automation. I Just want to know how much salary I should ask ...
1
vote
1answer
608 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 ...
10
votes
3answers
1k views

Is jQuery faster than CSS/Xpath selectors for IE 8.0 in Selenium1?

I am planning to run my existing Selenium 1.x tests in IE 8.0. After checking few blogs and reading this, I tried to run my tests using jQuery locators with the method mentioned here. My tests uses ...
0
votes
4answers
2k views

absolute Xpath is not working for Gmail login page

I have tested the Gmail login page and was trying to verify the Sign in label in the Gmail login page above the user name field. I am using FirePath to generate the Xpath. When I inspect the element ...
2
votes
4answers
814 views

How to simulate Caps Lock keystrokes with Selenium WebDriver?

I know there is an action class where this is possible, but I just understand common keys, such as: enter, backspace, and tab. For instance: action.sendKeys (Keys.ENTER).perform(); For modifier ...
6
votes
1answer
218 views

Building trust in automated front-end testing

I recently came across a Google Tech Talk during which the speakers seemed to stress that trust in a test suite is crucial to the overall software development process. Here the link. Can anyone share ...
3
votes
1answer
1k views

How to handle a native OS (Ubuntu) file upload window in selenium webdriver with python?

This is my first time here but I have already posted this question on SO. I keep getting solutions for Windows + Java and not for Linux or python for that matter. I am using selenium and python to ...
4
votes
2answers
432 views

Logging with Selenium Server?

Right now I have several Python Selenium scripts in which I am manually writing results to a text file. Is there a more standardized / centralized way I can log my results without much difficulty? I ...
0
votes
1answer
94 views

Which is the most appropriate book I should acquire in order to get started with selenium webdriver + jbehave?

We need to test a web application coded in html and javascript. They decided to use Selenium webdriver + jbehave technology and I am not very familiar with it. Which is the most appropriate book I ...
1
vote
2answers
849 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
0answers
404 views

Handling Alert box on page load [closed]

Is there any way to identify the JavaScript alert box (on page load) in selenium IDE? I used commands like "storAlert", "assertAlert" etc. But selenium not identifying alert box.
6
votes
1answer
7k views

What's the difference between Selenium IDE, RC, 2, and WebDriver?

Selenium seems to have a lot of different components and the website does not explain them very well and I'm still a bit confused which is which. What's the difference or purpose between: Selenium ...
1
vote
2answers
614 views

Can someone provide a detailed description of how the Selenium WebDriver isDisplayed() method works?

I currently have a large number of circumstances where I need to verify that a page (along with all of its elements) are displaying correctly. The isDisplayed() method of WebElement appears to be a ...
1
vote
1answer
2k 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
264 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 ...
2
votes
2answers
120 views

Regarding selenium commands [closed]

I am new to Selenium automation. I have some queries to be clarified. I have recorded and done the play back. Issue is as below: If I use the clickAndWait command in Selenium IDE, it shows an error ...
3
votes
3answers
857 views

Selenium automating ICEFaces Application - locator for dynamically generated ids

I'm trying to automate a very short sequence in a web application developped using ICEFaces. I need to click on a button which is coded as <input type="image" title="Unterbrechen" style="padding: ...
0
votes
1answer
372 views

management of images in sikuli

I am currently working on a project that requires automating tests on a content player, I am using sikuli for it. The problem is that we have piled up a large amount of screenshots which is becoming ...
4
votes
3answers
1k views

How to test facebook likes using webdriver without being flagged as a bot?

I've tried registering test accounts to test facebook likes on my site, but running tests repeatedly flags the accounts as spam. Facebook allows fake users for FB apps, but not external apps. Are ...
4
votes
1answer
555 views

OperaDriver is not navigating to desired URL

I have tried to open a URL using the OperaDriver. My issue is that I am getting browser launched but the desired page is not getting loaded. Below is the code. @BeforeClass public static void ...
1
vote
3answers
1k views

How to handle dynamically updated params in XPath queries in Selenium?

I am new to Selenium IDE. In my Web application, while playing back the recorded events, some internal id in XPath expression gets changed dynamically. E.g.: (//*[@id='edit_1_undefined']) in this ...
3
votes
2answers
176 views

Acceptance testing between iOs and web app with cucumber

I have an iPad application which sends some data to our web application. With this data, you should be able to do different kind of things. We have cucumber tests for the web application (Using ...
11
votes
9answers
10k views

Whether to choose Selenium over Watir or Lightweight Test Automation when testing web applications created using c sharp?

I am currently researching testing frameworks to test c sharp developed web applications. I have been leaning more towards the use of Selenium over Watir or Lightweight Test Automation but hesitant ...
2
votes
2answers
3k views

How can I dynamically create an xpath string in Python for a webdriver xpath selector?

I am writing a Selenium Webdriver test using python2.7 to use xpath to select a link node set. For each link I need to change the href attribute using driver.execute_script to execute javascript. ...
3
votes
1answer
2k views

Using Selenium's PageObject pattern and an Open() method

Here is an example of some C# WebDriver code I'm using to model a registration page: public class RegistrationPage : BasePage { private IWebDriver driver; private String URL = ...
2
votes
1answer
2k views

Connection refused error when running selenium with chrome and firefox drivers

I am running selenium tests with firefox and chrome drivers. I get a connection refused error when I run the tests in as a block Test example : require 'minitest_helper' headless = Headless.new ...
9
votes
6answers
1k views

Is adding IDs to everything standard practice when using Selenium?

My team is using Selenium WebDriver and the QA team is having the developers add IDs to almost everything. Is that normal or is Selenium flexible enough that tests can be written with the markup that ...
5
votes
5answers
6k views

How to handle self-signed SSL certificate error in IE8? (Selenium Webdriver + Java)

I am literally stuck to this problem for two days now. Scenario The website that needs to be tested has a self-signed certificate. So Internet Explorer (8 in Windows XP) shows "The security ...
3
votes
4answers
5k views

Selenium IDE newbie - click on button not working .net

I am using this Selenium command within the Firefox IDE, it's my first time with Selenium so I may be missing something basic. <tr> <td>click</td> ...
3
votes
3answers
4k views

Unable to upload a file using selenium/web driver running with java

I have a complicated interface where uploading a file is three step ( The forum is not allowing me to add screenshots of my window so please try to visualise it) step 1 click on browse tab and select ...
1
vote
0answers
145 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. ...
5
votes
3answers
5k views

Selenium Tests run in the background when TeamCity CI is run as a Windows service

Our test suite is written in Python and makes use of the WebDriver Python bindings. We are looking into moving to TeamCity for continuous integration. The setup I have in mind is a build triggered for ...
3
votes
2answers
319 views

How to extract the Safari extension from the base code?

I got the developer certificate from Apple and running Selenium 2.23.1 jar. I checked out the base code from Selenium website and when I ran the command " go Safari", I am getting the following error ...
8
votes
3answers
6k views

Is Selenium the right tool for browser compatibility testing?

I have been seeing a lot of customers pushing for browser compatibility testing using Selenium. Was wondering whether this is really necessary. The push is mostly due to Selenium grid supporting multi ...
1
vote
1answer
4k 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
2answers
780 views

Robot Framework and Browser support

Has the robot framework support for IExplorer or only for Firefox and Chrome? (If yes, how to configure it?) Thanks!
8
votes
2answers
5k views

Selenium:how to delete single characters from a textbox

Using Selenium how to delete single characters from a textbox using Selenium? I have to delete the last 2 characters from text box. Ex.ABCD to AB