Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
2answers
4k views

Unable to run selenium webdriver script in IE11

I have IE 11 browser on Windows 8. I'm trying to automate a simple search but I am getting an exception. (The script works in Firefox) I made regedit changes according to instructions given in ...
5
votes
1answer
147 views

Eclipse is automatically running unwanted selenium tests

I have two test files (lets say they're SomethingTestA and SomethingTestB). Inside SomethingTestA, I have a bunch of mini smoke tests methods, like so @Test public void testCreate() { ... } ...
1
vote
2answers
75 views

Selenium in Test or Production Phase

I have considered to use Selenium to test the critical functionality, that is written in a test case, and we are two developer only, no test team or QA user. We are using different computer hardware ...
1
vote
3answers
2k views

What are the advantages of web driver over selenium RC?

Please provide answers in detail, So that we could clarify that which one is to choose, Web driver or Selenium RC.
-1
votes
5answers
343 views

What are features of the Selenium Test framework that are not present in other tools? [closed]

I have recently joined a company and we are looking to standardize our testing frameworks and tools across multiple (many legacy) products. Because of this, I'm seriously considering the Selenium ...
6
votes
5answers
9k 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 ...
2
votes
2answers
496 views

Execute a particular test using command prompt and Selenium, NUnit, Test cases written in C#

I have written a number of test cases in C# for UI which uses Selenium Webdriver (I am new to Selenium). I would like to run a particular test case out of N number of test cases through command ...
-1
votes
1answer
39 views

Is there a need for advanced learning resources for automation testers? [closed]

I am just trying to dig as deep as I can to find the most clear-cut best practices as I can, but I am having trouble finding code or tutorials that are anything but absolute basic and then they just ...
0
votes
2answers
112 views

jenkins build execution is taking too much time for a selenium job

I was learning jenkins integration with selenium scripts.So I have created a job and executing the build, in the console output I am able to see all the statements which are I am printing and the test ...
0
votes
2answers
2k views

How to set browser locale with chromedriver (Python)

I am trying to set my browser locale by doing the following options = webdriver.ChromeOptions() options.add_argument('--lang=es') driver = webdriver.Chrome(executable_path=driver_location, ...
0
votes
1answer
144 views

Even though my xpath is correct I am getting error as org.openqa.selenium.ElementNotVisibleException

I'm unable to click on Plus button and Minus button. My xpath is as //div[4]/span[2] Even though my xpath is correct, I am getting an exception. I have also synced it using waits. <!DOCTYPE ...
2
votes
3answers
147 views

How to add @parameter annotation for TestNG in Eclipse

I'm trying to do parameterization for TestNG in Eclipse but the annotation @parameter is not being shown. How to add @parameter annotation for TestNG in eclipse?
3
votes
2answers
6k views

Flex Test Automation Tools Questions [closed]

Below tools I figured out for Flex Testing FlexMonkium - Selenium IDE Addon FlexMonkey - http://www.gorillalogic.com/flexmonkey FlexPilot - https://github.com/mde/flex-pilot/wiki FlexUISelenium - ...
0
votes
3answers
7k views

Data driven testing on Selenium IDE

Is there any option to read data from an Excel on Selenium IDE? How does it work? I have to call data from an Excel file (where data are stored).
1
vote
1answer
762 views

Can't click a button [Python + Selenium]

I'm writing a program to automate some actions on a website using Python and Selenium and I need to click a button with this code: <button class="button login" data-popup="login">Change ...
1
vote
1answer
504 views

Handle Firefox native dialog windows with Selenium IDE

I'm new using Selenium IDE (and as a QA). I'm testing my Web application on Firefox and I have an export button that downloads an Excel file. My problem is how to handle the window dialog native of ...
0
votes
4answers
7k views

How to Retrieve the values from a drop down using selenium-WebDriver?

I am using below script to retrieve specific item from drop down but it's not working. Select salTitle = new Select(driver.findElement(By.id("s2id_QuickEnquiryForm_salutation"))); ...
2
votes
3answers
119 views

Testing using Selenium

I am a software architect we use selenium tests with nunit and c# i am trying to run jmeter load testing using firefox jmeter recorder (for blazemeter) i was sure selenium has its own cross ...
0
votes
1answer
517 views

Can not find selenium webdriver element in HtmlUnitDriver but can find it in Firefox

HtmlUnitDriver driver = new HtmlUnitDriver(); driver.setJavascriptEnabled(true); String baseUrl = "http://www.biletix.com/search/TURKIYE/en#!city_sb:istanbul,date_sb:weekend"; ...
0
votes
0answers
37 views

Unable to select a value on doing Right Click in Selenium Webdriver

I need to right click using selenium webdriver. When I right click on the date highlighted in red,I will have a menu opened from where I have to select "Show CTR Impressions Label". I am able to ...
0
votes
3answers
676 views

How to handle file upload and download using Robot Class?

I'm trying to build a framework using Selenium. There is a scenario where I need to download a file, and there is another where I need to upload one. I've gone through the option in AutoIt, but it ...
1
vote
2answers
3k views

Trying to find span element by class and text with selenium c#

I want to click on Administration panel. The <span> contains a class attribute and inner text. I get an error saying "unable to locate element". What am I doing wrong? HTML: <div ...
1
vote
4answers
6k views

How to determine whether element is clickable or not? [closed]

My Question is How to check whether the element is clickable or not ?.Is there any method to chat that like isElementVisible() or IsElementPresent() and etc ... Please let me know if one is having a ...
4
votes
2answers
3k views

How to minimize the browser window which was launched via Selenium Webdriver?

How can I minimize the browser window which has been launched via Selenium Webdriver? I see that there is a method to maximize (documentation), but I cannot find the converse for minimize. I have ...
0
votes
0answers
87 views

Things to consider when starting project with Cucumber and Page Object Pattern?

I'm trying to build a new framework based on Cucumber and Page Object Pattern. Could you please advice me what approach to take based on your experience before doing automation project like: What's ...
1
vote
1answer
51 views

Is there a software that tells the number of possible flows when “inputing” an workflow?

I'm making a project that needs to break some big workflows into pieces and I need to know how many possible flows does the Workflow (that I have "inputed") before has. Does anyone know any software ...
0
votes
3answers
461 views

How to tackle the problem of non-static paths/names/ids of DOM elements while automating with Selenium?

I've got not very common task to take care of. We need to create several test suites for some forms in one complex web application. I'm a rookie in this field and Selenium was the first (and pretty ...
2
votes
3answers
138 views

What proportion of tests cases should be automated via Selenium Webdriver? [closed]

I work with e-commerce websites and I am wondering how much of the tests should be automated. I plan on automating the login and check out functionalities but what about clicking links to navigate ...
-1
votes
1answer
23 views

Can a value be retrieved from Generated Source, using Selenium IDE

The Scenario: I enter transaction data and submit that data to the application. The application responds with a transaction ID. I then take the Submission Transaction ID and use that ID to query the ...
2
votes
4answers
2k views

I am looking for online Training or Books or online resources on selenium automation testing [closed]

I am looking for training on selenium automation testing. I would like expertise on selenium. I have walk-through following books but all are very beginner Selenium 1.0 Testing Tools: Beginner's ...
5
votes
2answers
1k views

What's the best approach to asserting dynamically generated values with selenium?

Suppose you have automation tests (my example uses Selenium) to assert complex business logic for a web site. What is the best way to assert that thousands of different test cases are outputting the ...
0
votes
1answer
56 views

Which automation tools support Version One [closed]

Please confirm does any of the following automation tools provides support for Version One (Agile Project Management Software)? QTP Test Complete Selenium
-1
votes
3answers
565 views

Handling the unexpected popup ad's in website

I am currently working on Automation project for E-commerce site . In some pages unexpected popup's(ex:ad's) are displaying .Because of that my script was failing by throwing exceptions like ...
4
votes
3answers
459 views

Page Object Model or External property file for Selenium Object Repository

I am a beginner in Selenium WebDriver (Java with TestNg). I'm trying to create a framework of my own. My question here is what would be the better option to store my objects (basically all the ...
4
votes
1answer
325 views

Selenium RC with Firefox portable (Windows)

I tried to use FirefoxPortable with selenium from my Windows 7 OS but I'm having difficulty. So, I launched selenium RC server with the default folder profile of FirefoxPortable : java -jar ...
1
vote
3answers
121 views

Selenium how to identify an object by its type?

In Selenium is it possible to identify the object by its type? e.g. <input type="text" name="FirstName" value=""> Here can I identity the above element by its type of "text"?
1
vote
1answer
322 views

Creating a log file for each and every test case with executed test case name

I am working on selenium automation for one of the project, I have a number of test cases I want to create a separate log file for each and every test case Example : Suppose I have two test cases ...
0
votes
1answer
64 views

Reporting for Python tests built using PyUnit

I am looking for a good reporting tool for Python tests-specifically the one which supports Python 3.0+, with Selenium, built using the default PyUnit framework. So far I have come across only one ...
0
votes
1answer
198 views

unable to find element

I have the following code //import java.io.IOException; //import org.apache.bcel.generic.Select; import org.openqa.selenium.support.ui.Select; import org.openqa.selenium.By; ...
2
votes
1answer
336 views

Specflow and selenium, best practice for passing page objects between steps?

I am wondering what the best way to structure context injection is. I know that page objects should be instantiated / disposed of as they are needed (don't initialize all page objs at the start of a ...
0
votes
0answers
879 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://seleniumbuilder.github.io/se-builder/tools.html ...but ...
3
votes
4answers
9k 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> ...
0
votes
1answer
123 views

When running Selenium tests on another machine, page element renders offscreen so tests fail

My test cases are successfully executing through the terminal and Maven in my local environment but when I run the tests in a Jenkins job, they fail due to the browser size. (I have taken a screenshot ...
0
votes
1answer
321 views

Selenium hangs for modals in firefox browser for very long time

After opening the modal window or modal overlay , performing any click operation within the modal takes very long time. It doesn't throw any exception neither does the execution stops. ...
-3
votes
1answer
558 views

I'm getting error while executing selenium programs

import java.io.IOException; import org.apache.bcel.generic.Select; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import ...
5
votes
2answers
2k views

Web browser (in)compatibility with Selenium WebDriver

Very often, when my local or remote instance of Firefox is automatically updated, it stops working with the most recent version of Selenium WebDriver. They simply become incompatible until next ...
2
votes
1answer
159 views

How to get an active window title between two browser tabs/windows using Selenium Java

I can switch between two tabs/windows but my requirement is to know or get active window between them. In my project, on a click of a webElement of a page a random pop(tab/window) gets opened and I ...
1
vote
3answers
243 views

unable to take screen shot using webdriver [closed]

import java.io.IOException; import org.apache.commons.io.FileUtils; import org.eclipse.jetty.server.Response.OutputType; import org.openqa.selenium.TakesScreenshot; import ...
1
vote
1answer
42 views
2
votes
1answer
700 views

Selenium WebDriver sometimes fails to connect to the browser when running tests in headless mode

I'm experiencing timeouts when Webdriver connects to the Chrome browser in headless acceptance tests setup on Linux. I'm using the following setup to run the tests: Vagrant machine with Ubuntu ...