selenium

Selenium RC slower on Windows 7 than on XP?

I've got two systems, one with Windows XP and another with 7, both running Firefox 3.6, the same version of Selenium RC and the newest nunit. When I run tests on 7, it is executed extremely slowly (I mean walking by textbox and setting its values), but when I execute this script on Windows XP it is extremely fast. Do you have the same ...

Is there any way to connect the Database server from Selenium RC?

Does anyone know how to connect DB from Selenium RC? I need to run a lot of user IDs and passwords with different role access. Currently I am using this as data suite with an HTML file. ...

Generic selenium testing images

With selenium can one run a test which check all images on a current page if they contain ALT attribute and report images not having it ? ...

How to run all the classes in a single instance in Selenium RC?

I am using Selenium RC in C#. I have list of .cs files, Is there any way to execute all the files without opening multiple instance. ...

Any way to export recorded testsuite (Not testcase) from HTML to C# in Selenium

Currently Selenium IDE not supporting for Export Test suite as C# from HTML. Its time consuming by converting the test cases one by one manually. any body has any idea to handle this? ...

How to use Selenium Grid???

Hi All, I'm researching Selenium and have a seminar for my group... I meet many troubles with this I use C# language and write a demo SeleniumExample.dll Then i start selenium RC and NUnit and run it with nUnit to see the test report. I read testdata from xml. Here's the SeleniumExample.dll: using System; using System.Xml; using Syste...

TimeOuts with HttpWebRequest when running Selenium concurrently in .NET

I have a download worker that uses ThreadPool-threads to download files. After enhancing these to apply some Selenium tests to the downloaded files, I am constantly experiencing TimeOut-exceptions with the file downloaders and delays running the Selenium tests. More precisely: When the program starts, the download threads start downloa...

how to close selenium hub/grid from command prompt

I start selenium hub to start selenium grid from command prompt on port 4444. Now I start selenium RC from other command prompt. It show me error message that "selenium i s already running on port 4444. or some other service is " Now I am not able to start selenium RC. Please help me how to close /shutdown hub from command prompt. ...

Selenium tests: html vs code?

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 server using selenium-rc? What is the recommended solution? ...

Selenium Webdriver (FirefoxDriver)

Hey all, I'm using Selenium Webdriver to do some robottesting. Since some functions appear to only work in Firefox, I'm obligated to use Firefoxdriver. Now and then, something weird happens. Starting up te driver driver = new FirefoxDriver(); driver.get(URL); gets firefox to startup but not to go to the specified url. The st...

Selenium RC cannot test on compressed html

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 have chosen to open ... which is a: Bin file from: http://... Would you like to save this file? "Cancel" "Save File" It seems that the compressed html file...

How to setup Continuous Integration and Continuous Deployment for Django projects?

Hello, I am researching about how to set up CI and continuous deployment for a small team project for a Django based web application. Here are needs: Developer check in the code into a hosted SVN server (unfuddle.com) A CI server detects new checkin, check out the source, build, run functional tests. If tests all passed, deploy the cod...

Web Automation Tool

I've realized I need a full-fledged browser automation tool for testing user interactions with our JavaScript widget library. I was using qunit, starting with unit testing and then I unwisely started incorporating more and more functional tests. That was a bad idea: trying to simulate a lot of user actions with JavaScript. The timing iss...

How to use javascript-xpath

I am using Selenium RC with IE 6 and XPath locators are terribly slow. So I am trying to see if javascript-xpath actually speeds up things. But could not find enough/clear documentation on how to use native x- path libraries. I am doing the following: protected void startSelenium (String testServer, String appName, String testInBrowse...

what could be xpath or css for following snippet

click //div[15]/div/ul/li[5] In the snippet above, how can I write xpath or css selector based on known li item. Yes, I know li item ahead of time(such as @, +, * etc ) Also there is no guarantee that div[15] would be always div[15] it could be div[14] or div[17] etc ...

Selenium onChange not working

Hi, 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 onchange="doOpperation(this.options[this.selectedIndex]); this.selectedIndex = 0;" name="opps_ondemand" id="opps_ondemand"> <option value="none" id="ondemand">Mark...

How to delete Firefox Cookies and cache while program runs on Selenium Grid

I am running Selenium Grid and most of my Scripts fails due to unable to delete FF cookies. Each testcase needs to delete browser cookies .If any one aware of this please let me know. ...

Finding a suitable version of Selenium (automated testing tool) .

Hi Frnds, My project is compatible only with Internet Explorer. I want the test scripts to get generated automatically as it is done in Selenium IDE.Can i use selenium RC to test my application? I could not use selenium IDE as it can be used only with Mozilla Firefox. Can you suggest any other free tools for my project. th...

Choosing an automated testing tool

My project is compatible only with Internet Explorer. I want the test scripts to get generated automatically as it is done in Selenium IDE. Can i use Selenium RC to test my application? I could not use Selenium IDE as it can be used only with Mozilla Firefox. ...

Rspec Selenium. Test to check certain Ajax functions passes when i expect it to fail.

I am testing a Ajax action using Rspec and Selenium. My story is as follows: it "should create a new User with any input" do @browser.open "/people" @browser.wait_for_page_to_load "2000" @browser.type "user_name", "Alok Swain" @browser.click "user_submit" @browser.text?("Alok Swain").should be_true end The action i am testing is: ...