Are there any implementations of all the nifty Selenium on Rails methods like wait_for_visible, assert_not_text_present, ... for the ruby driver of Selenium RC?
If not, how would I go about implementing something like wait_for_visible?
...
I am writing controls that work nice with JavaScript, but they have to work even without it. Now testing with selenium works fine for me. But all test with disabled JavaScript (in my browser) won't run with selenium. Is there a way to do automated test for this purpose?
...
My current project uses NUnit for unit tests and to drive UATs written with Selenium. Developers normally run tests using ReSharper's test runner in VS.Net 2003 and our build box kicks them off via NAnt.
We would like to run the UAT tests in parallel so that we can take advantage of Selenium Grid/RCs so that they will be able to run mu...
So, I've started to create some Ruby unit tests that use Selenium RC to test my web app directly in the browser. I'm using the Selenum-Client for ruby. I've created a base class for all my other selenium tests to inherit from.
This creates numerous SeleniumDriver instances and all the methods that are missing are called on each instan...
I have an internet-explorer only web application.
I'm exploring what we can do to automate the testing.
Selenium looks like a good tool, but to be able to activate links etc I need to tell selenium where they are. The application wasn't built with this kind of testing in mind, so there generally aren't id attributes on the key element...
Hello,
I am putting together some ideas for our automated testing platform and have been looking at Selenium for the test runner.
I am wrapping the recorded Selenium C# scripts in an MbUnit test, which is being triggered via the MbUnit NAnt task. The Selenium test client is created as follows:
selenium = new DefaultSelenium("host", 44...
I use XPather Browser to check my XPATH expressions on an HTML page.
My end goal is to use these expressions in Selenium for the testing of my user interfaces.
I got an HTML file with a content similar to this:
<tr>
<td>abc</td>
<td> </td>
</tr>
I want to select a node with a text containing the string " ".
With a no...
Hi!
Has anyone tested sorting with Selenium? I'd like to verify that sorting a table in different ways work (a-z, z-a, state, date etc.). Any help would be very much appreciated.
/Göran
...
For features comparison of Web Canoo Web Functional Test and Selenium software, it would be good have an assessment, in terms of integration to Java platform applications, speed, how quick is it to deploy Tests, execute, and analyze results, JavaScript support etc.
I am using Canoo project, it is pretty good.
Tatyana
...
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 via IIS.
How do I prevent Selenium from stopping due to whatever error this is?
...
[UPDATE 2: We rendered this question no longer relevant - using the -avoidProxy argument to the Selenium server meant Selenium-RC and our application worked together. So now we can use a programming language client driver to do the below. Thanks for the answers, though, they were helpful in pushing us to to this]
We have a web applicati...
Beloved smart folk of SO:
I'm building some functional tests for a web site using Selenium, and I'm stuck on a bizarre browser issue where the page never seems to finish loading. The status bar reads either "Transferring data from..." or "Read...".
Since the page never finishes loading, my selenium tests timeout.
The issue only seems...
How would you run the Selenium process (thread) from a Java process so I don't have to start Selenium by hand?
...
I am using the following method:
set_browser_log_level 'off'
but my log level continues to include INFOs.
I am trying to suppress both logging and the "Last 4 commands" display for when my test enters a login password.
http://release.seleniumhq.org/selenium-remote-control/0.9.2/doc/ruby/classes/Selenium/SeleniumDriver.html#M000128
...
I'm using selenium to run some functional tests on the UI for our current application.
I want to ensure that strings from the resource files in the Web project are being displayed at the correct time and place.
Simple (I thought) all I have to do is reference the assembly of the web application and assert that the text selenium is rea...
I'm trying to capture the id of an element that will be randomly generated. I can successfully capture the value of my element id like this...
| storeAttribute | //div[1]@id | variableName |
Now my variable will be something like...
divElement-12345
I want to remove 'divElement-' so that the variable I am left with is '12345' so th...
I want to store part of an id, and throw out the rest. For example, I have an html element with an id of 'element-12345'. I want to throw out 'element-' and keep '12345'. How can I accomplish this?
I can capture and echo the value, like this:
| storeAttribute | //pathToMyElement@id | myId |
| echo | ${!-myId-!} | |
When I run the test...
The xpath of my elements are becoming extremely hard to read.
//div[@id='main_content']/div[2]/div[2]/div[2]/div[4]/table/tbody/tr[2]/td/form/fieldset/p[1]/input
It would be nice if I could store most of that as a variable and use it later like this:
| assertElementPresent | ${myForm} . /fieldset/p[1]/input |
Is something like this p...
I'm using the Selenium Fitnesse Bridge Fixture in order to write tests in Fitnesse for Selenium. It's great because it covers ALL the functions that Selenium has. However, the problem I'm running into is storing variables like I would in Selenium IDE.
| !- fixtures.SeleniumFixture -!|
| setup | http://www.google.com/ | *chrome /usr/lib/...
I'm going to start building some automated tests of our presentation soon. It seems that everyone recommends WatiN and Selenium. Which do you prefer for automated testing of ASP.NET web forms? Why did that product work better for you?
As a side note, I noticed that WatiN 2.0 has been in CTP since March 2008, is that something to be conc...