selenium-rc

error after running a test in selenium rc+phpunit

Hi, I'm running the following test in selenium-rc: <?php require_once 'PHPUnit/Extensions/SeleniumTestCase.php'; class Example extends PHPUnit_Extensions_SeleniumTestCase { protected function setUp() { $this->setBrowser("*firefox /usr/bin/firefox"); $this->setBrowserUrl("http://www.google.com"); } public function te...

TestNG gives "Connection Refused" while running on Eclipse

I'm trying to run Selenium tests with Selenium-RC using TestNG on Eclipse. When I try to run a test, I get something like the following console output: org.testng.TestNGException: Cannot establish connection: 127.0.0.1:1613 at org.testng.remote.strprotocol.StringMessageSenderHelper.connect(StringMessageSenderHelper.java:94) at ...

Is there any way to capture the screen shot of the entire page using selenium RC on IE?

I use Java for scripting. i have tried using the ROBOT class, but i am still not able to capture what is on the entire page(i get the screen dimensions and capture the image, if an extra value is added to the height/width the Page content is not captured where as a black screen is added). In short is there any way to implement captureEnt...

Unable to get the dynamic pop up window name in selenium RC. But selenium IDE detects the dynamic name of the window

What steps will reproduce the problem? 1. Launch one page and one pop up is also getting launched with that page. 2. Id or Name for those windows are generated dynamically. What is the expected output? What do I see instead? Here I want to validate my pop up message, close the pop up and come back to main window and proceed my UI opear...

Selenium RC and Internet Explorer

I am trying to create a fully-automated test suite for a web application, using Selenium RC and test cases written in Java. However, I have encountered a few problems that I have not been able to solve. Please let me know if you have a suggestion about any of these issues. Single window mode. I would like to run single window mode beca...

Element IDs for Selenium scripts

Hello again! Using Selenium RC On my web app I am trying to open windows by clicking links. These windows don't have any IDs so selenium.GetAllWindowIds() doesn't work. I've worked around this by getting their names. Are these IDs something which the developer can insert so as to make automation less tricky? Thanks! ...

selenium.attachFile(String fieldLocator, String fileLocator) method

String fileLocator here is actually a file URL. I define a file URL to 'file:///D:/images/pic1.jpg' but selenium for some reason i don't get tries to load it from c:\Temp (where the TEMP variable difined dir is located for my user) adding this sequence to the original location, so java returns an exception. com.thoughtworks.selenium.Sel...

How to loacte Element using Xpart in selenium RC using C#

How to loacte Element using Xpart in selenium RC using C# ...

anyone used any idea for capturing captcha in selenium

anyone used any idea for capturing captcha in selenium ...

How to execute Javascript in Selenium RC

I can execute html script and html suite through RC. Now I would like to execute javascript through Selenium RC. I have few question related to this. Should I need to set class path for that? After writing test script in javascript, what is the format of javascript suite. Please provide example. What will be the comment to execute the ...

Selenium - checking image validity

I'm creating a suite of Selenium tests for an web album application. I would like to test whether an image is actually displayed (it contains valid image data). Is such thing possible? Thanks for help. ...

Selenium-RC PHP example fails

I'm trying to get Selenium-RC to work in a Windows/XAMPP environment. I'm coding in PHP. The following command line opens two Firefox windows. java -jar jar\selenium-server-1.0.3\selenium-server.jar -htmlSuite "*firefox" "http://www.google.com" "jar\selenium-php-client-driver-1.0.1\TestSuite.php" "logs\TestSuite-F.html" The first Fir...