selenium-rc

Selenium XHR ERROR: Response_Code = -1

I am using the newest version of Selenium RC and firefox 3.5 When I run my test from eclipse I get this error XHR ERROR: Response_Code = -1 Error_Message = Request Error. Firefox and Selenium RC open up fine, it seems to try to connect to the remote site I want, but then firefox crashes, any ideas? ...

selenium not working in firefox, when there is google api called internally

in my product we are using jquery ,google api,so when firefox is invoked by selenium,it stops there and doesnt procedd. it works fine in IE,any solutions please. ...

Selenium Testing HTTPs Trust All certificates working for FF but not IE

Hi All, I've been playing arround with functional testing using Selenium RC. I keep running into problems when the test goes to the login page of our site and switches to HTTPS. I keep changing settings but, each browser gets thrown out of working. Using *iehta and *chrome as my browsers and the Trust All SSL Certificates & Ensure C...

Configuring server startup of SeleniumRC in NetBeans

Hello! I want the logs from the Selenium Server Console write to file. I know how to do this if i start server frome console (cmd.exe) java -jar selenium-server.jar -log logfile.txt But i run selenium test in NetBeans and selenium server start from NetBeans. I can to set port and way to start for the selenium server screenshot url:...

Searching for an image by src in Selenium

Hi just a quicky. I have to write a Selenium test and I need to get an element by the src as there is no ID for it. How do I go about doing something like //div[@id='content-inner'] but with @src='../mapshop/images/buy.png' or even better using a contains 'buy.png'? I've tried testing if the image is there but, selenium.IsElementPr...

phpunits for dummies (howto and documentation) ?

i would like to have a documentation on how to use phpunits for dummies. is there any ? or do you have a great reference website that provide how to use phpunits on daily basis ? ...

How to stress test a web portal using Selenium and any other open source -Cloud Test?

There is a website portal ,say W1 .Let's say the no. of users accessing are 3000.Can you please give me the detailed framework/design of how this portal can be stress tested remotely in a cloud setup using Selenium RC and/or any other open source.I am not getting any solution. Please help. ...

Selenium RC: Running browser on another X11 desktop

Hello, I'd like not to be disturbed by the browser that is launched by Selenium RC. Is there any way how to force it to run the browser on another X11 desktop? Running Selenuim server on another desktop does not solve the problem. Vít Šesták 'v6ak' ...

Selenium RC Java - isElementPresent not working

Hi guys! I have the following problem... For a while now i noticed a bug in isElementPresent function in selenium RC 2.0a5. It works only half of the time or so. I have wait before it i have pageload before it and i made sure that the id is NOT dinamically generated. Still... I do a waitForElementToAppear which is implemented us...

phpunit test exception if http answer code is 403

I have my test code PHPUnit with selenium RC extension: class LinkTest extends WebTestCase { public function testShow() { $this->open('?r=link'); } Expression in open() return 403 HTTP code (Forbidden) and then PHPUnit call exception. This is not what i want. I want to check is my url in open() is Forbidden or not. How can i d...

checking broken links on a page parallely using selenium and java

The task is to check broken links on a webpage using selenium RC and java . It can be done simply by a) click on link A b) wait for page to open c) focus on this window d) verify text present on this page e) Close this window Then follow steps a to e for links B , links C .... links N This process is sequential. Is it possible to ...

Selenium RC compilation warning for C#

When I compile my code in VS 2010 (.NET 4.0), I get the following warning: "Warning 1: The referenced assembly "ThoughtWorks.Selenium.Core" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,V...

Selenium - Cross domain and HTTPS problem

Hi everybody! I use Selenium to test my website. The website need to access an external catalog to select some items from it. The problem is this catalog is published on another domain with HTTPS protocol. I've searched and read many topics on the internet about Selenium and Cross domain problems, but I still don't find the answer yet. ...

what's the relationship between selenium rc and webdriver?

I can see that since selenium 2.0, webdriver and selenium rc are packaged together for download. Now I primarily use webdriver, but can I bring in selenium rc in my testing scripts from now and then? Is there anything that selenium rc is capable of but webdriver is not, or vice versa? ...

Test framework using spreadsheet for Selenium RC / JUnit / Java

We have a smoke test that we run every morning to check a number of applications which involves logging in, executing a simple operation and logging out. The test at the moment is a collection of Selenium IDE scripts which were imported into Selenium RC as Java and run inside JUnit running inside Netbeans. What we would like to do is r...

Anyone have any experience setting up scalable tests using multiple browser/system configurations using Selenium RC/PHPUnit?

Hello. I'm attempting to set-up some tests in Selenium RC that I can quickly specify which browsers I want to target, without having to copy/paste into each test. Here is a sample test: class WebTest extends PHPUnit_Extensions_SeleniumTestCase { public static $browsers = array( array( 'name' => 'Firefox on ...

How to use getEval() to verify the typeof of a variable in selenium

I want to do this in selenium: var variable = editors; if (typeof(variable) == "undefined") {}; but I am not entirely sure how to do it with the getEval() method. ...

Selenium RC+Eclipse

I have to Select A digital Certificate from the list of Certificates From A popuop opened in SELENIUM RC using with ECLIPSE IDE?can any one suggest me its very urgent ...

Selenium - Custom Firefox profile.

I've setup a new firefox profile for use with Selenium (accepted certificate warnings for local QA site). But, I keep getting told the profile directory does not exist. This is the line from my batch file java -jar selenium-server.jar -firefoxProfileTemplate ~/"C:\Documents and Settings\dadams\Application Data\Mozilla\Firefox\Profiles...

Selenium RC WaitForPageToLoad Hangs

I am trying to get Selenium RC up and running for doing some automated testing on my website. I am finding that I constantly want to verify that I haven't broken any features, and manual testing is starting to become tiresome. However, I can't seem to get Selenium RC to work with WaitForPageToLoad. I tried copying the basic example tha...