In a web interface, I've got a text field. When user enters text and accepts with enter, application performs an action.
I wanted to test the behavior with Selenium. Unfortunately, invoking 'keypress' ... |
I just wanted some opinions from people that have run Selenium (http://selenium.openqa.org) I have had a lot of experience with WaTiN and even wrote a recording suite for it. ... |
I'm trying to integrate running Fitnesse tests from MSBuild im my nightly build on TFS.
In an attempt to make it self contained I would like to start the seleniumRC server only ... |
How does selenium work? Can you explain the internal working of it.
|
I'm trying to run Selenium RC against my ASP.NET code running on a Cassini webserver.
The web application works when i browse it directly but when running through Selenium I get
HTTP ... |
I have a Selenium test case that enters dates into a date selector made up of three pulldowns (year, month, and day).
select validity_Y label=2008
select validity_M label=08
select validity_D label=08
This part gets ... |
Sometimes when running selenium, it displays a message similar to:
WARN - Invalid length: Content-Length=798242 written=8192
And then Selenium stops responding. The website under automation runs on ASP.NET, and served up ... |
|
Selenium seems to be the mainstream tool for browser side testing and it isn't that horrible. But are there any alternatives hiding out there, even in beta phase?
|
i'm trying to set up the selenium-maven-plugin and having some difficulties i hope somebody can help me. My configuration looks like this:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
<executions>
...
|
I want to get the business hours from ScotiaBank branches that are near to me.
The base-URL is: http://maps.scotiabank.com/
I then,
Click on the "Branches" radiobox.
Click on the "Open Saturdays" checkbox.
Enter "B3H ... |
Ok, maybe I'm missing something, but I really don't see the point of Selenium. What is the point of opening the browser using code, clicking buttons using code, and checking for ... |
Recently, I thought about how can I improve the quality of the projects, by using Continuous checking of xHTML source at Continuous Integration machine.
Look, we have a project
http://sourceforge.net/projects/jtidy - ... |
I'm setting up some Selenium tests for an internal web app and looking for advice on a testing 'best practice'. One of the tests is going to add some data via ... |
Good morning
I am using selenium and I have come up against a bit of a wall.
I am attempting to navigate to another page, by typing in the address bar, however ... |
I'm a complete selenium newbie. Where should I start if I want to learn how to use it?
|
I do I reduce the size of the selenium frame, in order to increase the frame of the website I am testing?
|
We can search for specific field on website in a few ways: based on css, name, id, structure, even any text found.
Which way have you decided to use?
What would be ... |
I'm trying to run selenium-rc in bsd and get the following error
12:45:40.740 WARN - POST /selenium-server/driver/ HTTP/1.1
java.lang.RuntimeException: Firefox couldn't be found in the path!
Please add the directory containing 'firefox-bin' to your ...
|
is there any simple way to increment for example field value by +1 every time Selenium test is run through Selenium IDE?
Command: Type
Target: some kind of id
Value: number+1
EDIT 1 :thanks ... |
I have been running test cases in Selenium IDE using Firefox. This works quite well however when I create a suite by "adding test cases" I can never get the suite ... |
I'm trying to figure out what the syntax is to record the times it takes to run a test script in Selenium IDE. How do I record the start and end ... |
Does anyone know of a free service that's out there that takes xxx.1.2.3.4.theservice.com and resolves to IP 1.2.3.4?
I need this so that I can launch ec2 boxes and point my selenium ... |
I've tried tracking down the appropriate syntax to extract an attribute using selenium.getAttribute(someXPath), and while I've come across many examples, nothing seems to work. From what I can tell, standard xpath ... |
I'm getting started with Selenium IDE and trying to test a webapp that's full of model dialogs (window.showModalDialog).
Recording the test seems to work (except there's nothing in the log ... |
I'm writing a web application which contains a kind of schedule. After a certain action, the schedule is updated and when the user visit the page that day something happens.
Any ideas ... |
When there is more than a single element with the same locator in a page, how should the next elements be referenced?
Using Xpath locators it's possible to add array notation, e.g. ... |
I'm trying to save the whole html page with getBodyText into a String and then write it to a file (.txt). However when I check the file, it's empty. Here's my ... |
I intend to test a web application with Selenium. I am think of carrying out a test with remote not Selenium IDE or carrying out a test on the same server ... |
I am writing a set of tests to perform equivalency of web pages. The only differences (declaratively in the test) are the URLs. I'd like to do this by somehow ... |
I'm using selenium and I need to change or make sure my instance of selenium is using this XPath library. Where do I configure the line selenium.useXpathLibrary("javascript-xpath");? Which file is ... |
When I use Selenium IDE that is extension of Firefox.
After that I save some test case from Selenium IDE.
Now I want to use command line to run this test case file.
I ... |
I've actually looked through Selenium questions on here and didn't find quite what I was looking for.
Basically I have about 10 "use cases" for smoke testing my site. Basic things ... |
I'm learning selenium these days.
Can someone tell me how to parametrize a web application for testing in selenium?
|
I'm confuse with the difference between 'Click' & 'ClickAt' command in selenium. & need to know where i can use 'ClickAt' command ?
|
I'm running Selenium with TestNG using Eclipse and Selenium RC. I used the command:
selenium.captureEntirePageScreenshot("\\test.png","");
but got the following error:
com.thoughtworks.selenium.SeleniumException: ERROR: Command execution failure. Please search the forum at http://clearspace.openqa.org for error details ...
|
I'm using selenium RC and want to get all the attributes and all. Something like:
link = sel.get_full_link('//a[@id="specific-link"]')
and the result would of:
print link
would be:
<a id="specific-link" name="links-name" href="url"> text </a>
Is this possible?
thanks
|
Is Selenium paltform specific. If yes then how can I develop a cross-platform specific application with it by first identifying the platform and then call the platform-specific selenium routines.
|
When the browser launch is initiated by SeleniumRC, a dialog box always comes to ask for username/password to login to our proxy server (however, it is prepopulated with username/password, all has ... |
On my last project, I created some test cases through Selenium, then automated them so they would run on every build launched from hudson. It worked ... |
When I call the Open("[some URL]") method in Selenium, it waits until all resources (images, CSS, JS) are downloaded. But how does it know that the browser is done requesting ... |
I'm trying to select a value in a select element. I'm using Selenium RC (Java) to run the test cases. I understand that the code for selecting a value is given ... |
We have web ui project in MVC and for automated testing we are using Selenium, its a brilliant tool. But I am facing some problem in raising events with Selenium.
Scenario:
I ... |
How do i post the results to a URL via the "selenium-server.jar"
java -jar selenium-server.jar -htmlSuite "*firefox" "https://www.myserver.com/rc/" "/selenium/Tests/TestSuite2.html" "http://myserver.com/readSeleniumResults"
chrome://src/content/TestRunner.html?auto=true&multiWindow=true&defaultLogLevel=info&baseUrl=https%3A%2F%2Fwww.myserver.com%2Frc%2F&resultsUrl=http://localhost:4444/selenium-server/postResults&test=http%3A%2F%2Flocalhost%3A4444%2Fselenium-server%2Ftests%2FUI_TestSuite2.html
I would like the &resultsUrl to be "&resultsUrl= http://myserver.com/readSeleniumResults"
|
Looking for a quick way to type an enter or return key in Selenium. Unfortunately the form I'm trying to test (not my own code so I can't modify) doesn't ... |
In Selenium RC I need to expand/click a node in a tree made with RichFaces. I have done a TreeUtil class, but at this point I am not sure how to ... |
I want to check the layout of the page. Something pretty simple - that a certain div is displayed above/below/left/right of another div
Is it possible to do this kind of stuff?
... |
I am using typekeys to type something and to enable a button in my application.
But whenever the typekeys command is executed in fiefox help of the firefox gets opened.
Please can anybody ... |
|
I'm trying to run Selenium headless (without the browser appearing). Other questions have pointed to xvfb as the tool to do this. However, it appears highly unstable, crashing all the time, ... |
Lets say I have a list of links and want to click a link at random:
<div id="divA">
<a> first link </a>
<a> second link </a>
...
|
The Question: What are the benefits and disadvantages of TestDirector over Selenium
Some background: I have a little experience with Selenium, but I'm told my company owns an enterprise license of TestDirector ... |
I need to create a nested test suite in Selenium that will run in the Selenium IDE or the Selenium TestRunner. This is basically the structure that I'm trying to achieve:
MasterTestSuite.html
...
|
With ASP.NET the tag IDs are pretty volatile so to make my tests more robust I want to locate elements by their label texts. I have played some with WatiN and ... |
I am using selenium for one for my Java applications on linux. The application invokes a mozilla browser, fills login details (username and password), and then submits the form. ... |
I'm trying to simulate a user deleting a character from a textbox. This textbox fires many JS events, I've had much trouble typing (or typeKey-ing) in ift because of this.
My latest ... |
I have Selenium running under Cruise Control to test our site once a day. On Saturday Selenium started throwing the error below.
No code was changed between the tests running sucessfully on ... |
I have an HTML-based data entry form that submits data to a server. Before submission, the form's row labeled 'RecordNumber' should be blank; after submission (to a server loaded with ... |
There are some buttons and menus in the application I am testing that require actual clicks to send all the information through and FireEvent style clicking does not seem to cut ... |
Is there a facility similar to SeleniumGrid that I can use to run webrat (or other, similar framework) browser automation tests in parallel across a farm of coordinated agents?
Coordinated via TeamCity ... |
With Selenium RC 1.0.1, and FF3.5.x or 3.6 I keep seeing this error when trying to run any test,
Failed to start new browser session:
Unable to delete ... |
I have a page that has an image which when clicked shows a calendar. I've put an example of it here --> http://www.dotvibes.com/test/test.html Clicking on the image shows ... |
I get the error message:
sel_<NUMBER> resultHolder sel_<NUMBER> unexpected response: OK,..
It seems that the server is stuck after this message occurs.
Why is this happening and how to solve/prevent it? I've never seen ... |
I have a radio button that is the first column of many rows in an html table. The second column of each row is the corresponding text to each radio ... |
I have a table that looks like the following:
<table class="theClass">
<tr>
<td class="anotherClass"><strong>Label1:</strong></td>
<td colspan="3">Value1a<br/>Value1b<br/>Value1c</td>
</tr>
<tr>
<td class="anotherClass"><strong>Label2:</strong></td>
<td colspan="3">Value2a<br/>Value2b<br/>Value2c</td>
</tr>
<tr>
<td class="anotherClass"><strong>Label3:</strong></td>
...
|
For some time I have been investigating Selenium RC in order to do functional testing of my web application. I have now found a test strategy that is so effective, that ... |
how to configure selenium rc?
how long it will take to configure?
how to work with selenium rc?
what are the pre-requisties for working selenium rc?
|
On exporting the test cases that prepared using IDE by junit format and using java platform, browser and selenium window closes on running the test case. If i want to track ... |
I have the following link 'Test' in my application.
<div class="tabUnselectedText" align="center">
<a href="javascript:renderPage('mainForm:consoleBeanId.3','Test' , 'testdetails.faces');">Test</a>
</div>
When I tried Selenium IDE it gives me following code. The same code does not work ... |
Is it better to write/record selenium tests in html format and run them directly in the server with "-htmlSuite" or to write the tests in java/C#/... and run them in the ... |
In order to have the fast speed of website, the web sever compress (gzip) the html files before sending to our clients.
When running selenium tests, it shows a pop-up saying:
You ... |
I have tried a number of things to try and get Selenium to pick up an 'onchange' event from a drop down menu, none of which has worked.
The offending HTML is:
<select ...
|
I wan to check whole site's <img> image's for alt text. I want to get a report of, What is written in alt text or alt is defined or not from ... |
I have to capture Site seal. Which provided by third party for my site has been validated and is secured for online transactions. I couldn't capture its element id. If i ... |
What do you recommend for testing purposes in Java environment (Selenium or Rational Functional Tester)? Could you write some pros and cons? I heard about MicroFocus TestPartner, do you have experience ... |
Does anybody know How I can get the ckEdtior to work with Selenium.
I'm not able to get the focus to the "html edit" field or change the value of the html ... |
Does Selenium supports Database testing? If yes, how to do it?
|
The title says it all.
How do I test which element has the focus in Selenium RC?
|
I am having difficulty in using the extensions.js in Selenium RC.
My Java Code is,
import com.thoughtworks.selenium.*;
import junit.framework.*;
import java.lang.String;
public class javaErrorCheck extends SeleneseTestCase
{
Boolean Result=false;
String ...
|
I know that Selenium has a built-in method getTable("tableName.row.column") can return a cell conveniently. However how can I return a whole column?
I've tried getText() directly, however only the first cell was ... |
I am new to webtest and I read that it is possible to record script in selenium and then run it via webtest/fitnesse. I have got webtest and selenium installed and ... |
I want to use selenium scripts to click on a bunch of links on my webpage one by one, each click results in a page refresh. However selenium doesn't ... |
I have to create a test for homework using Selenium IDE and create a scenario to generate a random number. I'm stuggling with what I need to type and what field ... |
I'm curious to know who is testing against Chrome.
I am mainly because it has become my primary browser, so all development is taking place on Chrome, then i test with IE ... |
I'm using selenium rc to do functional website testing and I've recently experienced a mysterious issue with safari and opera.
When a test fails I make a screenshot using the captureEntirePageScreenshotToString ... |
I am using selenium for sometime and doing good with it. I would like to try Tellurium. Searched and find only few questions about that. I would like to know the ... |
I have a table called UserManagement that contains information about the user.This table gets updated whenever new user is created. If i create two users then i need check whether ... |
Is the order of attributes in a certain tag releveant.
Specific case:
This is from a selenium testfile. Given a testcasse
<?xml version="1.0" encoding="UTF-8" standalone="no"?><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
<link rel="selenium.base" href="http://10.9.10.100"/>
<title>SQL-Injection</title>
</head>
<body>
<table ...
|
For our webapp testing environment we're currently using watin with a bunch of unit tests, and we're looking to move to selenium and use more frameworks.
We're currently looking at Selenium2 + ... |
I have a listbox whose values are generated dynamically. The list box contains months and years and when generated looks like this.
<select name="arr_dtm_mon_year" tabindex="150" class="input">
<option value=""></option>
...
|
When using Selenium how can I wait for a popup window if its id is dynamically generated?
For example:
selenium.click("link=mylink");
selenium.waitForPopUp("popup072815372337691199");
Obviously I cannot hardcode the window id in my source code. Any hints?
|
I have a Report Generator which is an intranet web application generates some reports. There are about 100 reports. Those reports are of PDF and Excel type. And I want to ... |
I'm a Selenium n00b... it's clear how easy it is to run a test and verify a particular response, but how can I take a value from one response ... |
I'm using SeleniumRC to run some selense tests via command line. This works mostly fine, but some tests are failing because the execution speed is too high. How can I set ... |
At the moment i use selenium using HTMLSuite. The command i use to start the server and run the a testsuite is shown below
java -jar selenium-server.jar -htmlsuite "*iexplore" "http://localhost:8080" "C:\test\testsuite" "C:\test\result_%Yr%%Mth%%Day%.html"
I ... |
the question like the title
|
I need to re-run my Selenium test script for unlimited number of times (infinite loop) - how I do that and what language should I use ?
thanks
|
How do I locate a table row based on table cell data using the following HTML snippet:
<table id="BetaCustomersTable>
<s:iterator>
<tr>
<td class="userTabletd">
...
|
I'm using selenium-maven-plugin.
http://mojo.codehaus.org/selenium-maven-plugin/
I have tried at headless linux with xvfb goal.
Below execution progress...
- xvfb
- start-server (Selenium RC server)
- run unit test
- stop-server
But, at 3, not working...
16:34:50,532 INFO [org.openqa.selenium.server.SeleniumServer] Java: Sun Microsystems Inc. ...
|
the problem as the title.
|
Hi
I got the code for getting the data from excel and den using in selenium.
My problem is that when i give invalid data in the text boxes those are also getting ... |