I got Selenium IDE, followed this post, got to
python test_default_server.py
and it complains Firefox is not in my path:
Please add the directory containing ''firefox.exe'' to your PATH environment
variable, or explicitly specify a path to Firefox 3 like this:
*firefox3c:\blah\firefox.exe
I could change my PATH environment variable...
When I use webrat in selenium mode, visit returns quickly, as expected. No prob.
I am trying to assert that my styles get applied correctly (by looking at background images on different elements). I am able to get this information via JS, but it seems like the stylesheets have not loaded and/or gotten applied during my test.
I see that...
How can I do to verify or assert an alert with a message that contains
a variable in this text?
For example, I have to capture a alert with this message: Answer number (var
id_answer) successfully accepted. id_answer is the variable and I don't know this value before the alert is show. This alert is triggered for a flash[:notice] ...
Hello!
I need to click in the button ok inside alert window
with a selenium command.
For me assertAlert or verifyAlert aren't enough
It's possible?
Anyone can help me with this with a example for a complete syntax
command in Selenium IDE for this problem?
Thanks
Bruno
...
I'm working on large project in PHP and I'm running phpundercontrol with PHPUnit for my unit tests. I would like to use Selenium RC for running acceptance tests. Unfortunately the only person I have left to write tests only knows Python. Can Selenium tests written in Python be integrated into PHPUnit?
Thanks!
...
Hi,
We are using the jQuery UI slider widget in our web application and we want to automate testing of the UI with selenium IDE. We can't find a way to move the slider with selenium's commands. Can it be done?
...
I'm new to integration testing, but have had great success so far buiding up a suite of tests using Se:IDE. As I've been running my tests, it has occurred to me that I'm generating a substantial amount of data and I'd like to clean up after myself.
Most of my tests involve creating a new 'page', and the id is available in the querystrin...
Hello,
I have been using Cucumber and Webrat for a while. I know need to start writing behaviour that involve AJAX interactions so I was thinking to use the Selenium adapter for Webrat.
Can anyone point out a easy and updated step-by-step guide for installing and configuring selenium+webrat+cucumber?
I would like to be able to mix javas...
Hi,
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 from the ...
I have a simple page that returns an ajax success/error message on submission. The form is submitted using a standard ASP.Net linkbutton.
My Selenium test correctly clicks the linkbutton, however the click event times out and fails. The rest of the testcase conditions pass (as selenium is successfully clicking the link and the ajax succ...
A newbie question on Selenium for Ruby. What's the difference between "gem install selenium" and "gem install Selenium"? I'm trying to figure out which one I should install.
...
I am using Selenium Grid with TestNG to run my tests in parallel. I have certain tests that require a user to be logged in, so I have a user account configured for testing.
I have been careful to ensure that any tests involving logging in as my test user are run on separate virtual machines so that sessions are not interrupted, however ...
I have the following line that works for Firefox
assertTrue(!selenium.isElementPresent("//input[@name=\""+chosen.getField().getName()+"\" and contains(@style, \"color: rgb(255, 0, 0);\")]"));
But Fails in IE.
When i inspect the field in IE, i see the color style represented in hexadecimal. How would you represent the line above to w...
I'm using selenium RC and I would like, for example, to get all the links elements with attribute href that match:
http://[^/]*\d+com
I would like to use:
sel.get_attribute( '//a[regx:match(@href, "http://[^/]*\d+.com")]/@name' )
which would return a list of the name attribute of all the links that match the regex.
(or something li...
What I'm looking for is a method that works like "captureScreenshot(String path)", but instead of producing an image is saves the DOM as it currently is.
Note that the existing getBodyText() method is not enough.
...
I get this error while running selenium RC tests against IE7.
com.thoughtworks.selenium.SeleniumException: ERROR: There was an unexpected Alert! [error:[object Error]]
It happens whenever I attempt to click a link or a tab or anything clickable. Any Ideas guys. This is really frustrating.
...
Is it possible for Selenium to evaluate all the elements that may match a certain XPath?
For instance, I'd like to evaluate whether all checkboxes are checked with //input[type='checkbox']--problem is I only get one element returned.
...
Can Selenium or any other automated tool check for the proper positioning of elements on a web page?
For example, when you look at OnStartups.com in IE 6, the main content that is supposed to be to the right of the menu is below it instead and you have to scroll down to read it. Can you query and get the coordinates of the div as they ...
I am new to Selenium. I generated my first java selenium test case and it has compiled successfully. But when I run that test I got the following RuntimeException
java.lang.RuntimeException: Could not start Selenium session: Failed to start new browser session: Error while launching browser at com.thoughtworks.selenium.DefaultSelenium.s...
I am using Selenium for web application testing. After having finished all the testing, when the command "selenium.stop()" is executed I get the following exception:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainS...