selenium

RuntimeException: Could not start Selenium session: Internal Server Error

I am trying to detect a midair collision problem (simultaneous editin) using selenium. So I start a selenium session A with following (Super Class) selenium = new MASSelenium(serverHost, serverPort, *iexplore, browserURL); selenium.start(); selenium.open("index.cgi"); then I try starting a different selenium session B pointing to a d...

Using selenium's waitForCondition with an xpath

Selenium has some nice support for finding elements in a page via xpath selenium.isElementPresent("//textarea") and in ajax pages you can use waitForCondition to wait on a page until something appears selenium.waitForCondition("some_javascript_boolean_test_as_a_string", "5000") My difficulty is, I can't seem to get into a position to...

Mbunit and selenium

Hi, Can anyone tell me how get mbunit to run more than one test at a time without it setting up and tearing down after every test? Currently I'm using selenium for UI testing and need to run the tests consecutively do a login page. Thanks in advance, cb ...

Can TransactionScope rollback be used with Selenium or Watin?

I am trying to do some automated web testing of my ASP.NET application. I was hoping to use the AutoRollback attribute from Xunit.net extensions to undo any database changes that were made during the test. AutoRollback uses TransactionScope to start a transaction before the test and roll it back afterwards. When I try to hit my web ...

Is there a builder based java api for selenium ?

Does anyone know of a builder-based alternative/supplement to the "classical" com.thoughtworks.selenium.Selenium interface ? It just seems like it'd be a much better approach for this api... ...

lerning Selenium

I intend to test the Web application with Selenium. I think for the moment to carry out a test with remote not Selenium IDE or carrying out a test on the same server with Selenium RC. Therefore please teach a commentary site and a blog article to serve as a reference when I use Selenium IDE, Selenium RC. Thanking you in advance. ...

using selenium-rc can i load a page, click a bookmarklet, and fill up the in-page loaded form ?

Is there anyway by which I can automate the following steps in Selenium-rc open a page click on bookmarklet in browser toolbar fill up data in the form loaded into the page by said bookmarklet. If the bookmarklet is not accessible as it is part of the browser/bookmark toolbar, is there a way in which I can inject the javascript into ...

Get Internet Explorer Script Error when i call selenium.waitForPageToLoad

This is v. frustrating. I get Internet Explorer Script Error modal dialog when i call selenium.waitForPageToLoad(). Below is a snippet of the command sequence. ... type(short_desc, IE6.0 -- Testcase:SimultaneousEditingConflictDetected... click(component) select(component, place holder) click(commit) waitForPageToLoad(60000) ... I turne...

Setting up Hudson with Selenium RC to run tests written in C#

I just deployed a Hudson server and configured it to checkout, build and deploy to a testing http server. Now I want more =) I have some Selenium RC tests wrtten in C#/.Net, using the MbUnit infrastructure, that runs ok on Gallio Icarus. How to setup Hudson to run these tests? Our is in a Windows 2003 server. I was thinking about jus...

Selenium Ruby Reporting

I'm trying to set the environment for testing using Selenium and selenium-client gem. I prefer unit test style over RSpec style of tests. Do I have to build my own system for reporting then? How can I add exception handling without having begin-rescue-end in each test? Is there any way to do that using mixins? ...

I am not able to use mouse while executing the selenium test cases

Hi I am executing the selenium test cases .if I dont touch the mouse manually while eecuting, the test case passes.if I move the mouse my Login process fails and all the testcases followed by are failing, Basically I should be in a position to work while my test cases are executing. Please let me know if you know the solution. Regards...

How to completely disable all Internet Explorer Script Error dialogs

Can someone plzzzzzz tell me how to disable Internet Explorer Script Error - says: An Error has occured in the script on this page ... Error: Unspecified error ... Please don't Say to Go to Tools -> I.Options -> Advanced ...turning off debugging etc etc.. I have tried all that and this popup dialog still com...

Selenium how to get all Xpath's from the page

Hi all, iam trying to get all object's xpath's from loaded page via selenium something similar to the funkction that selenium allready have: selenium.getAllbuttons(); problem is that i cant use this funkction and work with id's because they are all dynamically generated every time when a new page is loaded. Any ideas how to get all o...

Selenium RC - disabling browser cookie

Is it possible to disable a browser cookie using selenium, RC specifically? If so, what is the api call or sequence of calls to make this happen. There is a feature being tested where theres a need to verify the behavior when cookies are enabled or disabled. Thanks ...

Selenium Automated Testing and java textboxes

Hey Ive tried looking for how to solve this for a couple hours and I keep coming up blank. Im using Selenium IDE to try and make a few simple Automated tests (basically the test will access the site, create content and submit it, to ensure that it still works) But there is a part of the site that is a javascript text box and i need to...

Selenium IDE and Drupal

Can I use Selenium IDE on a Drupal system? I found http://drupal.org/project/selenium but that involves downloading Core and not using my current machine. Does anybody know of a way to use the IDE with Drupal, or if not what do you suggest I do? ...

Selenium running as junit in ant prematurely closes browser but not in IDE

I've got a bunch of selenium test cases set up in a JUnit class as four methods. The first runs fine - but the remaining three close the Firefox browser before the final step of the method is complete - giving a ERROR: Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the log windo...

selenium c#

Hi all I am using this function to get name's of the input fields from browser. Problem is that in couple of my sites input fields have the same position, so i cant cycle thrue them correctly. Any ideas how to do this cycle in some different way as thrue position? Thank you. public void hladame_fieldy () { //fieldy string n...

Yaml Parser choking

Hey guys, I have a yaml snippet ... passwordregexp: '.{8},[0-9],[^0-9A-Za-z ],[A-Z],[a-z]' passwordregexpfailmessage: |- Contain at least 8 characters Contain at least 1 Number Contain at least 1 Special Character Contain at least 1 Upper Case Letter Contain at least 1 Lower Case Letter passwordresetperiod: 1000 pd...

selenium c#

Hi all, I wrote a function for extracting attribute "name" of object 'combo box' from browser. But after execution function finishes with an error. This is the error message: Selenium.SeleniumException : ERROR: Command execution failure.The error message is: The expression cannot be converted to return the specified type. This is my ...