Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

12
votes
3answers
9k 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?
2
votes
6answers
375 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?
2
votes
4answers
5k views

I face a problem while opening Firefox with Selenium script

I face a problem while running Selenium scripts. I try to open Firefox using the following command: import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public ...
29
votes
12answers
1k views

Building “slow to break” regression tests

I need to build a lot of regression tests for our product at work and I plan on using Selenium. I am concerned about building tests that will become quickly outdated and broken based on the fast pace ...
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 ...
7
votes
3answers
15k views

Selenium: reuse existing browser session, instead of opening new windows?

This has been asked a million times on the web, but there's no clear cut answer. I tried "-browserSessionReuse" today without any luck; my tests keep spawning new browser windows. ...
6
votes
4answers
7k views

Which locator do you use with Selenium CSS or XPath?

I have heard that, when using Selenium, the CSS Locator has better performance than the XPath Locator. Which Locator do you use in your tests? Have you seen a great performance improvement when using ...
6
votes
2answers
4k views

QTP vs Selenium [closed]

I have largely worked with Selenium for front end automation. Looks like there is great market for QTP in this arena, especially when you could afford commercial tools. Have you worked with both QTP ...
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 - ...
3
votes
7answers
5k views

Is mail testing with selenium possible?

We have merely just had a kick off meeting for a new project that I am required to automate ASAP. The project is essentially a "mailbox project", if you will, and I have no idea as to where to start ...
3
votes
3answers
3k views

Unable to upload a file using selenium/web driver running with java

I have a complicated interface where uploading a file is three step ( The forum is not allowing me to add screenshots of my window so please try to visualise it) step 1 click on browse tab and select ...
2
votes
1answer
452 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 ...
0
votes
4answers
596 views

Selenium - advantages and disadvantages of using Python vs C#

We currently have two teams. An automation team and also a web testing team. The automation team currently use Selenium and C# to automate tests on our web applications and legacy systems. As a ...
10
votes
9answers
4k 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 ...
11
votes
4answers
8k views

What are the best beginner tutorials for Selenium IDE

I have gone through the possible duplicate question,it was related to selenium webdriver . I am new to Selenium IDE tool. Could you please suggest me some best PDFs and sites with Selenium tutorials ...
8
votes
2answers
18k 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 ...
5
votes
4answers
18k 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? ...
4
votes
4answers
3k views

Running Selenium tests as a scheduled task

I'm trying to run a Selenium WebDriver script written in Python on a Windows 7 64-bit box as a scheduled task. The test works pretty well when run as a batch file from the command prompt, but when ...
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 ...
5
votes
4answers
3k views

Do you verify presence of text in your automated tests?

While automating multi locale application I had to stop using - assertTrue(selenium.isTextPresent("success text message")); where success text message would change for each locale. to - ...
4
votes
7answers
325 views

Manual QA looking to get into Automated Testing (no programming background)

I currently work at an ad agency as a Manual QA. I originally came in to act on the business side but kind of 'fell in to' the job. I do not have a programming background but I am very interested in ...
4
votes
4answers
413 views

How to test the test scripts?

Once an automation test is created, how do I test it and make sure the test does what its supposed to do? I can easily test the scenarios where test passes, but how to go about the ones that fails due ...
4
votes
1answer
597 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 ...
1
vote
0answers
388 views

Handling Alert box on page load [closed]

Is there any way to identify the JavaScript alert box (on page load) in selenium IDE? I used commands like "storAlert", "assertAlert" etc. But selenium not identifying alert box.
1
vote
1answer
1k views

Choosing framework type for selenium RC/Webdriver

I had opportunity to work in around 3 different projects, where selenium have been used extensively. Among them 2 were based on Data driven (say test cases driven by testng XML for each scenario with ...
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. ...
2
votes
2answers
9k views

Selenium - Find exact text match using CSS locators

According to A way to match on text using CSS locators, we should be able to use "^$" to find exact text match using CSS locators. But with div class="item"><div ...
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
5answers
6k views

Selenium test case fails due to page load time

I run nearly 30-40 test cases twice a day. And everytime some test case fails due to page load time. Infact i have explicitly mentioned Thread.sleep("2000"); wherever i feel it takes more time to ...
1
vote
1answer
3k views

Can't open webpage using Firefox WebDriver using Selenium [duplicate]

Possible Duplicate: I face a problem while opening Firefox with Selenium script import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class ok { ...
0
votes
2answers
774 views

Question about the Selenium getTitle() Method

In some instances, the getTitle() method does not work for me. Take a look. @Test public void testTitleReliability() { driver.get("https://www.google.com"); boolean title = ...
0
votes
1answer
226 views

Automating tests in EPOS systems

I have recently started working in a team that tests Retail applications such as EPOS (end point of sale - tills) I would like to automate this testing and would like to ask if anyone has any ...
-3
votes
2answers
1k views

Outlook Mail testing

I want to know how to use outlook to test mails (the mail has a link that needs to be clicked to approve or deny the request). How do I write this in Selenium Webdriver in c#. I am quite new to ...