Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
1answer
261 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://sebuilder.github.io/se-builder/ ...but this uses Travis ...
1
vote
1answer
108 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 ...
2
votes
1answer
362 views

Faking system time/date with Selenium Webdriver?

Is webdriver capable to run a browser with a faked time, date or time zone? Such ability would be highly useful for my automation purposes. Yet, I did not find any such ability in the webdriver ...
2
votes
3answers
414 views

Selenium IDE and Selenese scripts in Continuous Integration

Apologies if this is not the forum for such a generic question. As our organisation moves to an Agile project methodology, we need to be able to rapidly automate applications as they are built up ...
2
votes
1answer
276 views

Best approach for Page Object Model Framework where the page structure changes very frequently

We are developing Page Object Model Framework for our web application test. The problem is we are having three different structure for the same page type. We want our automation to work in all cases. ...
2
votes
1answer
131 views

Selenium opens browser and loads page, then stops

Selenium opens browser and loads page, then stops. I have inherited a selenium project with no internal documentation and I'm a bit stuck on how to get it up and running (I am new to Selenium). We've ...
2
votes
1answer
643 views

How to run multiple browser instance with Webdriver, Java, and Junit/TestNG?

I have a test ready to be executed but it takes a long time to finish. In this test I'm feeding in csv data, so basically the whole test will run 56 times. I was wondering if there's anyway I could ...
0
votes
0answers
65 views

Selenium WebDriver Code for PeopleSoft Sub Page

I am new to Selenium WebDriver World. I am trying to work on a script to Add a Person in PeopleSoft HCM Application. Basically, On the Personal Data Main page, you first start by adding a Effective ...
1
vote
2answers
535 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 ...
0
votes
1answer
117 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. - ...
0
votes
2answers
427 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 ...
0
votes
2answers
287 views

Navigate to previous page using Selenium

I know there's a driver.navigate().back() but that's not what I'm looking for. Let's say a user is on PageA, they click on a submit button which takes them to a submit page. On that page, there ...
0
votes
0answers
145 views

Regex escaping issue in Selenium IDE and WebDriver

I have a Selenium IDE command evaluating a regex against a string in the DOM, something like this - Command waitForEval Target ...
0
votes
1answer
502 views

Use Selenium Webdriver to capture all the values from Google Auto Suggest Edit Box and display them in the console

import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; public class ...
2
votes
2answers
556 views

Selenium Webdriver or Sahi which is best for website/mobile site testing?

Can anyone tell me which is the best tool to use for web site testing? Sahi or Selenium Web driver. Am using windows OS in PC. At present Testing of both Desktop and Mobile Site in Manual. Trying to ...
-1
votes
3answers
561 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
108 views

Unit Test project vs Console app project for Visual Studio Selenium automated test suite

My team has recently implemented automated build and deployment using Microsoft TFS and we're in the process of automating the functional tests for our application. However, we have a concern. We ...
2
votes
2answers
92 views

Advice regarding a non-coding solution

OK, first of all I'd like to give a quick summary of my position. I'm studying Computer science and I'm currently in third year and on a work placement. As part of my placement I am required to come ...
0
votes
1answer
155 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?
0
votes
1answer
237 views

Handling Image upload

<span class="span3 config_camera_wrapper img-rounded" style="border: 2px solid #fff;" align="center"> <img class="img-rounded" src="images/bookappt_v3/logo-placeholder.png" alt="140x140"> ...
1
vote
3answers
3k views

Selenium: How to click at x,y coordinates on Mac Firefox/Chrome

I want to click at x, y coordinates like 52, 216-52, 295. How can this be done using selenium. I am using Mac OSX 10.8.5 with Selenium 2.40.0 and Firefox version 29.0
0
votes
1answer
490 views

How to click on Canvas element?

How do I click on a Canvas element by using Selenium Web Driver and Java? I have searched Google but didn't find what I needed. A marker/pin is on the Google map and I have to click on the ...
0
votes
3answers
1k views

How can I do data parameterization in Selenium Web Driver?

I want my test case to run once and test n number of inputs at various positions. Suppose If I want to check a login screen for different members like manager,user,admin,e.t.c then instead of running ...
0
votes
0answers
103 views

how to maximize chromedriver on mac machine

driver.manage().window().maximize(); options = ChromeOptions(); options.add_argument("--start-maximized"); driver = ChromeDriver(options); I tried the above options to set the chrome window on mac ...
0
votes
3answers
114 views

how to use xpath for the following case

.//*[@id='colDiv_Apr282014']/div[5]/div[1] .//*[@id='colDiv_Apr282014']/div[9]/div[1] .//*[@id='colDiv_Apr282014']/div[11]/div[1] In the xpath above, you can see the value inside the first div-is ...
2
votes
6answers
324 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?
3
votes
5answers
514 views

How can I reduce the execution speed in webdriver so that I can view properly what is happening on browser?

I want to reduce the speed for execution of script so that I can view the execution properly on browser. I want do this in webdriver.
0
votes
0answers
64 views

Is it possible to covert telerik test studio tests to selenium?

After a change of tooling, we now have a combination of telerik test studio tests and selenium tests. Is it possible to covert telerik test studio into selenium webdriver tests?
0
votes
0answers
1k views

How to select particular date from a date picker in web driver?

I want to select a date from a date picker which have options to change year from a dropdown. I have to get values in date of birth input field. I can send values to the date field by sendkeys command ...
0
votes
2answers
142 views

send multiple element to kendo multiselect from selenium

I want to sent more than one value to Kendo Multiselect element. whenever i use the Following function ((IJavaScriptExecutor)driver).ExecuteScript(String.Format("$('# ...
0
votes
1answer
357 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 ...
0
votes
3answers
127 views

Functionalities of Selenium

I am learning Selenium Webdriver on my own, with a little bit of Java Programming background in my experience since the past three weeks. In this time, I have learnt the following functionalities of ...
1
vote
1answer
83 views

Selenium JUnit DOM Testing - Problem with counting Dynamic rows

I have a DOM structure "div > table id = 't1' > tbody > tr" (count of tr changes on resize) The javascript function changes the number of rows on resizing the browser. I want to count number of rows ...
-1
votes
2answers
2k views

How to solve the Unhandled exception: Modal dialog present

How do I solve the Unhandled exception: Modal dialog present. Below is error line. 1) test(TestCases1.ComparePage)org.openqa.selenium.UnhandledAlertException: Modal dialog present: Please retain at ...
2
votes
2answers
295 views

Difference between Selenium and TestNG

Am a beginner in Selenium and am trying to learn selenium on my own by googling. One thing which I noticed was in many of the posts which I read about selenium the name of the framework by name ...
0
votes
1answer
46 views

dragAndDropBy() function Encountering Exception

I am a beginner in Selenium and m trying to automate the drag and drop functionality. But everytime I am trying to execute the dragAndDrop() functionality, Eclipse is Giving off Exception. PF the ...
0
votes
2answers
1k views

Selenium session timeout

I have a session timeout problem like this: I am using selenium + webdriver + java(junit) While testing each(tab) test case of particular web page in one programme, i need first test Login button, ...
0
votes
2answers
2k views

Selenium IDE: Test works with firefox webdriver but not with htmlunitdriver

Disclaimer: I've never used any test tools before, as I'm in the developer team, not the QA team. Our team is tasked with the ultimate goal of writing an automated load test script, which will be ...
0
votes
2answers
162 views

Selenium - How to get table rows visible in the dialogbox?

In a Selenium Junit test, for a table with 'n' rows in a dialog box of a webpage, I am able to calculate number of rows using Table.size() (Table is a List of elements which finds elements with tag ...
0
votes
1answer
710 views

Unable to find element in selenium

I'm using the following code: if i[1] == "id_text": inst = driver.find_element_by_id(i[2]) #inst.click() for option in inst.find_elements_by_tag_name('option'): if option.text == ...
0
votes
1answer
116 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
1answer
298 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 ...
0
votes
0answers
856 views

how to read, print values from html table by webdriver using java

<div id="calendar" class="week_calendar_holder"> <div class="week-calendar"> <table class="week-calendar-header"> <div id="weekly_container"> <table ...
1
vote
2answers
75 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 ...
0
votes
0answers
576 views

On test case failure taking a screenshot with Selenium WebDriver

As the question clearly states, I used the screenshot coding in my catch block but it doesn't work. try { LoginPage lp = new LoginPage(driver); lp.userName.sendKeys("administrator"); ...
0
votes
2answers
146 views

How to get number of sizes of check-boxes i have selected, using selenium webdriver java?

As there are five number of check boxes in a page, i have selected two check boxes. so i want to get the number of size as two check box selected. How to get the number of size as two in selenium ...
0
votes
1answer
114 views

How to wait for ajax calls using a selenium command

I'm using the selenium ide to create test cases. Will the "AndWait" commands wait for an ajax operation to complete? Is there a specific command that can help with this? I prefer to use the selenium ...
0
votes
1answer
263 views

Selenium with Java to scrape data from website

I am trying to scrape data from a site I did code for. I want to scrape data on button click event but when I run my program it throws an exception Exception is: java.lang.NoClassDefFoundError: ...
0
votes
2answers
212 views

Screen Capture Website images for UI regression testing

I am trying to create a suite of regression tests for an asp.net / javascript website. I have been playing with selenuim & MS CodedUI tests but these all seem very complicated and more suited to ...
0
votes
0answers
138 views

Automated Flash / HTML 5 video playback testing

I would like to test the "playback" of an m3u8 video in 2 scenarious: It is embedded in a flash player (JWPlayer) or It is played back by an iOS device. I have heard of Flash Selenium, but my goal ...