Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

3
votes
1answer
1k 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
23 views

What's the difference between using Python vs. Ruby for Browser Automation testing? [on hold]

I want to automate test cases on web browsers and I love the concept of Python's Salad (mix of Lettuce (BDD) and Splinter (browser automation)). But I've heard that Salad might not be the most ...
1
vote
1answer
279 views

Facebook updating profile picture using selenium webdriver

Using Selenium WebDriver I'm not able to click on update profile picture in Facebook. The html snippet is: <div class="_156p">Update Profile Picture</div> How do I locate the element?
1
vote
1answer
20 views

Firefox browser doest not shows saved bookmarks, addons while launching in Selenium

When I am running software web application's tests In Firefox Browser using selenium WebDriver, It Is not showing me any bookmarks, addons, saved passwords etc. in that browser. Have you observed ...
1
vote
7answers
96 views

How to verify images in selenium WebDriver?

WebDriver does not provide direct any function to image verification, but we can verify images by taking two screen shots of whole web page using “TakesScreenshot” webdriver function, one at script ...
3
votes
2answers
101 views

What are the advanced tools/technologies used in Automation testing? [closed]

This is the very interesting question asked to me in 2nd technical round of interview. I have told him about advanced automation tools like- Selenium, Appium, Selendroid. Is there any other advanced ...
0
votes
2answers
4k views

How to handle sub child windows(more than 3) using Selenium Web Driver with Java

I am using Selenium Webdriver with Java, and I need help handling sub child windows. I have to handle four child windows. Main window- Child window- Grand child - (to reach 5 child windows) I ...
20
votes
16answers
21k views

Under what circumstances is Sikuli better for test automation than Selenium or Watir?

The Sikuli website says: Sikuli is a visual technology to automate and test graphical user interfaces (GUI) using images (screenshots). Under what circumstances is Sikuli a better technology ...
0
votes
0answers
6 views

How to read data from excel sheet using Codeception for Acceptance test

I am creating a framework to test a website. For that, I am using codeception framework and writing acceptance test. But I want to read the data or values (lets say for login and password) from an ...
0
votes
0answers
16 views

Jenkins Selenium Test on Windows 2012 R2 with Chrome driver

we are testing our projects with selenium. Using chrome browser with chromedriver (v2.9.248315). Now we are setting up a CI infrastructure and we want to run our selenium tests automated. We are ...
0
votes
0answers
17 views

What are the best practices to enter data in web forms etc [on hold]

What are the best practices to enter data in web forms etc using selenium webdriver. Should I enter data in respective or use separate methods of the webforms or use external file excel etc? I have ...
1
vote
3answers
20 views

Validating ePub File using selenium webdriver [on hold]

Is there any way to validate the ePub file using selenium webdriver?
0
votes
2answers
35 views

Why can't we use Selenium Webdriver to test Angular JS sites?

If we look at the Protractor architecture, Protractor uses WebDriver JS to call Selenium Webdriver which ultimately calls browser driver and then browser. Now since Selenium is passing commands to ...
2
votes
2answers
374 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 ...
0
votes
1answer
25 views

How to locate Facebook POST button using Java selenium web driver?

Code: driver.findelement(By.xpath(".//*[@id='js_2y']/div[4]/div[2]/div/div[2]/div/button")).click(); Every time I try by locating xpath, it's gives an exception, could not locate element. May 04, ...
4
votes
2answers
31 views

“Element is not currently visible and so may not be interacted with” when locating element by CssSelector/helptext

I faced an issue with locating the element. Currently it's impossible to locate it by CssSelector/helptext, but it's located by CssSelector/Id without issues Here's the element <span ...
1
vote
1answer
2k views

How to select Security Certificate From security Dialog

The problem I would like to solve is as follow: go to a website which is protected by client certificate authentication using browser once the security challenge dialog box is shown, select on the ...
0
votes
1answer
11 views

Why does my capybara element.click not work in Safari?

I am using rspec-capybara for my tests and I am clicking on a button which had been placed there through Javascript (ajax). Clicking on the button works when using WebDrivers for Chrome, Firefox and ...
1
vote
2answers
37 views

Unable to locate element on Win-7 Safari browser using Selenium

I have written Selenium script & it sucessfully executed on FF, chrome & IE. But when I tried it on Safari it gives error while clicking on button. I used Selenium-java-2.52 version jars & ...
0
votes
3answers
54 views

How To Handle Dynamic Changing IDs In XPath?

Example : //div[@id='post-body-3647323225296998740']/div[1]/form[1]/input[1] In this XPath id "3647323225296998740" Is changing every time when reloading the page. How to handle this type of ...
3
votes
1answer
125 views

Failing the script in Jenkins due to screen size different

Currently I am working on running selenium scripts in Jenkins. Here my issue is my browser window size is 1382, 754 resolution.But in jenkins browser resolution was 1044,784.Due to this my script was ...
0
votes
1answer
24 views

Can't get Selenium to select option

I have been trying for a long time to get Selenium to select from this dropdown. Is anyone able to do it? It appears to not be selecting the element whatsoever. Could the fact it requires a reload ...
2
votes
1answer
71 views

Accept SSL certificates in Selenium Opera C#

I am trying to launch an Opera web driver, but whenever I go to the homepage of the site under test, I get certificate errors. I have tried using the CapabilityType.AcceptSslCertificates = true: ...
0
votes
0answers
34 views

How to validate international number in a text box?

I am not able to validate an international number text box in Selenium. I have tried earlier by name, class and other locators but it is not inserting the value into the textbox. Below is the text ...
0
votes
1answer
52 views

Selenium: any more ideas what to do when everything fails but Sleep?

So... I have no idea why (well, probably Javascript) but here are the different issues with the code below. With a visibility/enabled wait, Selenium executes the Click() but it doesn't do anything ...
1
vote
2answers
28 views

-browserTimeout does not seem to change timeout

I am running a selenium server on my local machine and passing in a suite of selenese tests (the browser is being run on a virtual display with Xvfb) DISPLAY=:99 \ java -jar ...
0
votes
1answer
31 views

Running parallel scripting in Selenium Web driver for Firefox, do I need Selenium Grid?

I have a process, using Selenium Web driver for Firefox, for automatic look up for information on one specific site. Due to the volume of the data being looked up, I will need to run parallel ...
0
votes
1answer
78 views

Exception in thread “main” java.lang.NoClassDefFoundError

I am trying to do this: http://www.softwareishard.com/blog/firebug/automate-page-load-performance-testing-with-firebug-and-selenium/ Below is the screenshot taken from eclipse package ...
0
votes
3answers
1k views

cucumber java.lang.IllegalArgumentException: Not a file or directory:

I'm new to cucumber. I have created a cucumber project but cannot seem to run the project. Every time I do, I get an error: java.lang.IllegalArgumentException: Not a file or directory: Here is how my ...
0
votes
1answer
371 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
1answer
17 views

How to select options from <Input> based dropdown menus in Selenium?

The website I'm testing has been built with Visual Studio C#. The dropdown menus I'm to test don't use the usual format of: <select> <option>...</option> ... ... ...
0
votes
0answers
26 views

Selenium- what is the appropriate waiting method between pages navigation?

I have a problem with the waiting used between pages navigation. I need to navigate to all links in the current URL. and then navigate to each link to check a condition if specific text appears or ...
0
votes
1answer
585 views

Selenium webdriver-Not able to click on button which becomes visible on hovering only

Here I'm using LinkedIn for the learning purpose & want to perform the action on Edit profile=> Work experience=> Add position. Here "Add position" button comes under work experience which becomes ...
0
votes
1answer
35 views

Required parameters but none were supplied error

Can someone help me on how to fix the error and run the script? public class ExcelCapture { public WebDriver driver; String filePath = ...
1
vote
1answer
35 views

Multiple test case execution: I want to wait for page load in selenium in java

I need help for selenium to wait for entire page load, when executing the test cases. Wait time is to be defined in milliseconds for each step. It will be good if we have better way of doing it ...
0
votes
4answers
49 views

What are the testing types that can be supported by Selenium? [closed]

What are the testing types that can be supported by Selenium? Can Selenium be used for UI testing? Textual testing?
0
votes
1answer
24 views

How to test the multiple test cases in a single test case using selenium webdriver

I am in confusion to write the test cases for one of my requirement.I have a signup process it will have 8 steps to complete a signup.How to write a test script for all steps by validating the each ...
12
votes
9answers
13k 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 ...
3
votes
1answer
75 views

Can I execute selenium test cases in a real browser with Jenkins Selenium and Maven

I am working on selenium project with Jenkins + Maven + Selenium + TestNG I am following few questions. Can I execute selenium test cases in Jenkins by launching browsers? Currently it gets ...
0
votes
0answers
27 views

I wrote one program using selenium web driver to print Excel cells. I am compiling it but gets terminated [closed]

I wrote one program using selenium web driver to print Excel cells. I am compiling it but gets terminated below is code package SeleWeb; import java.io.*; import org.apache.poi.xssf.usermodel.*; ...
0
votes
2answers
20 views

How to identify element with knowledge of partial text for any tag (eg. div,span etc.) contains?

My source goes like this: <div name="something" id="something"....>IPS125</div> the number after IPS always changes. So I need to give the identification attribute as partial text ...
4
votes
2answers
59 views

Writing Automated tests that don't need Cucumber?

So i've been using Cucumber w/Capybara and Poltergeist to write automated tests for awhile now. It works pretty well and I enjoy it and it mostly makes sense (still learning it of course). However Im ...
0
votes
2answers
39 views

Unable to Select options from dropdown field?

I'm using Selenium-webdriver with Java from the MavenProject. Version 2.53.0. This is the HTML of the dropdown field: <div class="col-lg-7 col-md-7"> <select ...
0
votes
1answer
46 views

The state of the checkbox, which was set in Robot Framework is not stored

I'm new to Robot Framework and Selenium. I can not set a checkbox. There are several settings, which is controlled by the checkbox. I see that it was set by Robot, but the result is not stored. The ...
1
vote
1answer
25 views

Can Css Selector be used to write customized path using tag name traversing?

I wrote a xpath for the following using tag name traversing This is the xpath I wrote - .//form[@class = 'form-horizontal']/div[3]/div/input and it works fine but when I tried to write this in ...
1
vote
1answer
540 views

Jenkins fails to start Chrome

I am working on Jenkins to run my scripts but I am facing the following issue: Running TestSuite Starting ChromeDriver 2.20.353124 (035346203162d32c80f1dce587c8154a1efa0c3b) on port 7652 Only ...
0
votes
1answer
21 views

Using boolean to select gender on a form

I am creating a test suite using appium/selenium java and it was suggested that I use a boolean to select the gender on a registration form. The page objects on the gender page are male, female, and ...
0
votes
1answer
32 views

Random Selenium WebDriver Tests inconsistently Fail and Pass on IE browser

Does anyone have any suggestions on how I can improve this situation? I have one suite of tests that I use for all three Firefox, Chrome, and IE browsers. The results I get for the browsers differs - ...
0
votes
1answer
400 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 ...
1
vote
0answers
32 views

Selenium with Microsoft Edge driver never finishes initialising

I'm using the C# bindings for Selenium and trying to get a simple automated test in Microsoft Edge working. class Program { static void Main(string[] args) { EdgeOptions options = new ...