Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

4
votes
1answer
2k views

Need to assertValue of text input field based on data coming from a table td inner HTML (using storeText to store variable) in Selenium IDE script

In Selenium IDE, I need to call the command assertValue of an input field on data coming from a table <td> (which only allows storeText, not storeValue) from a different page. Right now the ...
-1
votes
1answer
993 views

Open SSL / Https url using selenium-rc

Please suggest me, how to open the SSL urls using selenium-rc? I face trouble while opening any https website through selenium RC in IE and FF browser both, as they prompt for accept the SSL ...
6
votes
1answer
6k views

How to use Selenium's PageFactory annotations with dynamic loaded elements?

I'm rewriting some Selenium tests according to the page object design pattern taking advantage of Seleniums' annotations. My problem is that I have some html select elements whose option elements are ...
6
votes
1answer
581 views

PageObjects: Aggregation/Composition vs Inheritance for nested components

I need to refactor my Selenium tests, and was wondering what the best design solution would be for a portal with a hierarchical page organization. We are using tiles, and we have defined a baselayout ...
7
votes
1answer
2k views

Is Selenium's LoadableComponent a good solution as test design pattern?

I need to refactor my Selenium tests, and come across their LoadableComponent wiki page. I began trying to use it, though I couldn't really understand what is it good for. I took a look at their ...
2
votes
1answer
1k views

How to instantiate a .NET FirefoxDriver when FF is installed in non-default location?

My Firefox 5 is installed not at the default location. So, I tried with the following to create a FirefoxDriver: private IWebDriver driver; [SetUp] public void SetupTest() { var ffBinary = new ...
3
votes
1answer
9k views

How to fix “Permission denied to access property 'document'”?

I posted it on stackoverflow.com. Someone suggested me to post it here... While trying to automate testing with selenium rc I ran into this problem. I was just following the steps in the tutorials. ...
2
votes
1answer
4k views

Flex Test Automation Tools Questions

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 - ...
4
votes
1answer
678 views

Selenium-2 Webdriver browser support

I have a question about selenium2 (webdriver). As selenium-2 supports following 4 types of web drivers.. 1-IE 2-firefox 3-chrome 4-htmlunit Is there any way to use any other webdriver apart ...
3
votes
2answers
3k views

Selenium IDE clickAndWait command not working for unique LinkButton control

How can I automate clicking this anchor tag with Selenium IDE (in Mozilla Firefox of course)? I tried two different approaches, and neither one worked. Would it matter that this is in a popup window? ...
3
votes
2answers
717 views

Testing a live and staging site with Selenium IDE

I would like to run a test that stores the position of key page elements on a live site, then compares it to a staging site to ensure the two match. The main issue is that the URLs for the live and ...
3
votes
1answer
641 views

Selenium IDE has stopped recognising pop-up windows

I'm relatively new to Selenium and since the update to 1.0.12, when I run my tests, each case with a selectWindow command fails. If I run these steps seperately, by clicking individually, it passes, ...
3
votes
1answer
924 views

Safari test browser doesn't launch with Selenium RC

I've been dabbling with Selenium to do some testing on a site and I'm trying to set up RC so I can run tests in multiple browsers. I can run a simple test I put together in both Chrome and Firefox, ...
16
votes
4answers
28k views

What is the correct way to select an <option> using Selenium's Python WebDriver

I would like to select an <option> child of a <select> using the Python WebDriver. I have a reference to the option WebElement I wish to select and have tried select() and click() methods ...
7
votes
4answers
323 views

How to eliminate \ reduce invalid failures in automation due to GUI changes?

I am into the automation of a web application using Selenium. I write test cases without hard-coding anything in the test cases. There were many invalid failures in the run due to GUI changes such as ...
10
votes
3answers
964 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 ...
3
votes
1answer
367 views

Performing administrative test cases in Selenium IDE

For a Drupal site, I have written a test script in Selenium IDE that logs in as the administrator, adds a new user and peforms a series of tests on the registration page. Once this user has been ...
1
vote
1answer
4k views

Question: C# Selenium: Read rows from html table until the last row is found, and Store in array

The following snapshot is what I see when I do a view of class and Ids in using IE Developer tool. It consists of a table and inside the table there are links. I need to read all the link names, and ...
5
votes
2answers
5k views

Solving “SeleneseTestCase is deprecated” issue

I'm working through the "Selenium Simplified" book just to really gain a solid understanding of Selenium and Java. I know the basics of Java, but this one is frustrating me. I must be missing some ...
2
votes
2answers
836 views

Selenium: Ajax Testing

Please brief me about the Ajax testing with selenium RC. As in Ajax element does not reflect on the view-source, but using firebug we can see the changes in HTML source code. There are two methods ...
1
vote
1answer
643 views

Check an element through Selenium RC

Please suggest what logic should be used here through selenium RC. Action Check Close/Remove button. Expected In the upper-right corner of the app is a Close/Remove button. This button only ...
2
votes
1answer
4k views

Selenium:With selelenium RC can we scroll the scrollbar up or down of browser.

Can we use Selenium RC to move the browser's scroll bar up or down?
2
votes
2answers
426 views

Andriod Selenium testing by Python - connecting problem

I'm trying to get the Selenium Android client to run in my emulator: Install SDK Run emulator Install android-server-2.0rc1.apk in the emulator and devices Forward the port by adb forward tcp:8080 ...
1
vote
1answer
992 views

Selenium - Stopping server

Selenium server (ver. 2) has stopped working for me for unknown reasons (see Selenium (RC) stops working...). I'd like to stop Selenium sever and restart it. When I enter ...
4
votes
1answer
553 views

Selenium (RC) hangs when started from Python test

Fairly new to Selenium (but loving it). I'm running a single test in Python on Selenium RC. I've been running it multiple times a day for about 3 weeks. Now when I try to run it, it executes all the ...
12
votes
3answers
8k views

Is there a captureNetworkTraffic implementation in Selenium 2 via webdriver?

If yes, how is it called, or where can I find more info about it? (I'm not talking about using WebDriverBackend.) If not, what alternatives are there?
8
votes
2answers
4k 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
3
votes
2answers
5k views

Selenium: How to set x and y coordinate position

I want to use the Selenium method mouseMoveAt(java.lang.String locator,java.lang.String coordString). How do I set coordString? For example, if coordString is the x,y position (10,20), what does that ...
4
votes
3answers
2k views

Creating test cases for site registration using Selenium IDE

I'd like to know how you can automate the registration process for a site that requires a unique email address or username each time, using Selenium IDE. My only thought would be to insert an ...
3
votes
4answers
5k 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
2answers
183 views

Selenium Selenium.Core v1.1.4322 - XPath not working

I've got the following XPath expression's working in firebug, that returns the correct element(s): $x("(//input[@class='intervalInput timeInput'])") returns two elements. ...
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 ...
5
votes
2answers
520 views

Testing Java or Silverlight plugins embedded in a page using Selenium?

We have a product that defaults to a Java plugin to upload files, and then Silverlight after that if Java's not installed. There is a third fallback of a HTML 4 + JavaScript uploader, but I'd like to ...
17
votes
13answers
13k 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 ...
1
vote
2answers
2k views

Does selenium work with video?

I have some videos and i want to test their with automation Can you tell How does selenium work with video? How does he recognize it. I need to test if are videos on the page. Thanks!
4
votes
2answers
270 views

Selenium test timing out

I am facing a strange issue with Selenium RC. I have a test which runs perfectly fine when I run my selenium server manually on the default port. The test passes in seconds. However since my tests are ...
4
votes
1answer
166 views

Starting selenium always spawns a second window

I am not sure if this is the right place for asking this. Any time I start a selenium test I get two windows. One with the command which are right now been performed and the second one with the test ...
4
votes
2answers
553 views

Selenium Server and Windows Server compatibility

I want to run Selenium Server on a recent version of Windows Server so as to be able to test IE browsers as well as Firefox, Chrome, etc. My choices for Windows Server are 2008 R2, 2008, or 2003. ...
0
votes
2answers
2k views

Has someone ever used Selenium RC with Firefox Portable (specifically FF3.6)?

I'm having difficulty to make them work together. How do you setup the server or the test to use Firefox Portable? One of the things I had to do was specify the exact location of the Firefox.exe. No ...
4
votes
4answers
3k views

Selenium.click not working on some anchor elements

The application that am working on was recently revamped and as part of that a new JQuery calendar was introduced. I need to click on a link in the calendar to select the time and date. However, ...
3
votes
1answer
187 views

looking for a way to exercise Android web browser

To continue my monkey question I am looking for a way to generate Web traffic on a device (not emulator) running Android. The unit under test is not the browser but lower communication layers of the ...
2
votes
2answers
431 views

Newbie question: How do I run a JUnit 3 test on Portable Firefox 3.6 in Selenium RC (1.0.3)?

I'm pretty new to selenium, and I'm following the Selenium Simplified book examples. I'm trying to run a simple test that was created in Selenium IDE on Portable Firefox 3.6, and saved as a JUnit 3 ...
3
votes
1answer
3k views

Can the base-url be changed in the same browser session using Selenium RC?

Suppose I login to evernote.com using Selenium RC. Is it possible for me to change the base_url to google.com while staying on the same page. I do not want to open a new browser for google.com. When I ...
11
votes
9answers
9k 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 ...
8
votes
2answers
2k views

How is Selenium different from other GUI automation tools?

I have used WatiN and WebAii but I have limited experience with Selenium. How does Selenium differ from these other tools?
3
votes
1answer
1k views

Unable to click on City bubble on Google map using Selenium

I have been trying to click on City bubble on Google Map. So far I have tried following but none seems to work. Also notice the awkward locator available from map which is captured in Selenium IDE ...
2
votes
1answer
212 views

BDD with 3rd party services

I am developing a asp.net mvc site that depends deeply on a 3rd party web service. I would like to know what is the best approach to develop this site since the web service is not ready yet and I ...
7
votes
2answers
13k views

A way to match on text using CSS locators

So I use xpath locators and slowly converting to CSS. I haven't found a way to do an exact match based on text. For example converting //a[text()='Log Out']. I know you can do css=a:contains('Log ...
1
vote
2answers
296 views

Can external object repository be used with dynamic objects?

I have heard as well as followed concept of keeping UI objects in external filed (xml or properties files in java). But there are times when I need to keep the objects with in test because I use them ...
9
votes
2answers
506 views

Maintaining automation framework for different browsers like IE and FF

How to maintain automation framework for different browsers like IE and FF? In my current set up, I maintain two different configuration properties files, one with xpath locators that FF supports ...