Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

2
votes
1answer
487 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. ...
0
votes
1answer
420 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"> ...
0
votes
2answers
6k views

Error upon starting Select server “Could not find agent library JVMHOOK”

I am attempting to run the Selenium server for the first time on my machine and am receiving an error when running the jar, or when attempting to find the java version. Here is the error: ...
0
votes
0answers
90 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 ...
11
votes
8answers
17k views

Load Testing, Selenium Vs Jmeter Vs other tools

I have been using Selenium/Webdriver for functional testing in a grid setup. We are in the process of transitioning to a Solr based search service. I already have Solrmeter for load testing the ...
4
votes
4answers
20k views

How do I close the browser window at the end of a Selenium test?

I have googled for the answer, but the ".stop()" so frequently mentioned doesn't work for me. The Chrome window the test was running in remains open. def test_getResults(self): sel = ...
10
votes
9answers
5k views

What is a good website to hack around using Selenium?

I want to learn Selenium, but I don't know what to code. Sure, I can throw Google some queries, I can fill out some forms, press buttons, find divs and links, etc. But I think this stuff is pretty ...
0
votes
3answers
474 views

Is it possible to integrate bugzilla with selenium web driver

Is it possible for us to integrate selenium web driver test with Bugzilla? My intention are as below: If we can integrate web driver with Bugzilla, can we automatically attach screen shot of ...
2
votes
2answers
416 views

Fitnesse + WebDriver: any working solution?

Could you please tell me if there were any attempts to integrate Fitnesse and Selenium WebDriver? I'm looking for something like Selenesse (https://github.com/marisaseal/selenesse), but for WebDriver, ...
0
votes
2answers
584 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
184 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 ...
1
vote
4answers
2k views

How to write test cases in selenium webdriver using C#, simultaneously when web application is being developed (application pages not available)

I want to write test cases when application is under developing. I know the design of the application based on the wireframes. I intend to write test cases in C# using the Selenuim WebDriver. ...
1
vote
2answers
2k 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 ...
5
votes
4answers
19k views

What is Selenium's default timeout for page loading?

I am using Selenium 2. I have loaded the page using Get command in WebDriver class which is in the package org.openqa.selenium. My question is that what is Selenium's default timeout for page loading? ...
0
votes
1answer
780 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 ...
5
votes
6answers
7k views

Handling browser level authentication using Selenium

I am automating an application which contains browser level authentication. When I open the application, the browser performs basic authentication, i.e. it prompts for a username and password. How ...
0
votes
1answer
172 views

Question about 'self.assertIn' & 'driver.title'

I researched this as much as I could on my own but came to no clear conclusion to my question. I've been teaching myself automation testing via Python + Selenium, I'm as new or n00b as it gets so bare ...
2
votes
2answers
96 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
131 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 ...
0
votes
2answers
433 views

Selenium: Basic Drop Down

I am very new to the world of QA and selenium. I have been trying to create a number of tests to run and cannot seem to get the commands to work properly on one specific drop down. When I execute the ...
0
votes
3answers
2k 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 ...
3
votes
5answers
1k 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.
3
votes
3answers
681 views

Problems with maintenance of Selenium on grid service

We have cluster of 5 nodes with all of them are Firefox nodes only. We have ran into so many issues maintaining the grid up and running. Selenium nodes goes out of memory (JAVA heap space issues) ...
1
vote
1answer
106 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 ...
0
votes
0answers
159 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
0answers
74 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
3answers
136 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 ...
0
votes
0answers
2k 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 ...
-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 ...
0
votes
1answer
48 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 ...
2
votes
2answers
409 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
2answers
3k 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
1answer
936 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 == ...
1
vote
1answer
403 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
78 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
936 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
224 views

Selenium Webdriver Mobile with Python - AndroidWebdriver4Python installation question

I found this Android webdriver API on github. I already have the Selenium Python client and have written many plain web-based test scripts with it. I have tried asking the git owner, but he has not ...
-1
votes
2answers
268 views

Required Selenium Test Cases for Yahoo Login Form [closed]

I am new to selenium. Anybody can please write down Selenium Test Cases for yahoo login form. It will be really appreciated, if someone help me.
0
votes
2answers
180 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
0answers
617 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
1answer
119 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
2answers
243 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
2answers
405 views

XPath not recognised in page object model in WebDriver [closed]

xpath not recognised in page object model in webdriver. @FindBy(xpath = "//td[contains (text(),'xxx')]") public WebElement topMenu; topMenu.click(); Error: Unable to locate element: ...
2
votes
6answers
1k views

Which automation tool needs JavaScript or JQuery to be used more?

I have started off my career in manual testing and an automation tool rarely. I would like to concentrate more on automation testing. I believe I have the object-oriented concepts in a good manner. I ...
0
votes
0answers
157 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 ...
3
votes
4answers
6k views

Running Selenium test on TFS

I am currently working on implementing UI tests of .NET web application using Selenium RC. The tests are now coming together and I am beginning to look at how these will be incorporated into TFS. ...
1
vote
1answer
125 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 ...
0
votes
2answers
100 views

How can I write test cases without knowing the application in Selenium IDE?

If I don't know the application I only know the Software requirements, on Software requirement basis I need to write the test cases in Selenium IDE. So how can I write the Test cases on Software ...
1
vote
1answer
229 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 ...
0
votes
2answers
247 views

Force selenium to use the portable firefox application

I have installed firefox 14 and has firefox portable version 25.0.1 on the machine, where I run tests for a web site. Due to a limitation in the site I'm testing, I cannot run my tests on firefox 14 ...