selenium-rc

Why is Selenium RC so slow?

梦想与她 提交于 2019-12-03 12:08:35
For some time I have been investigating Selenium RC in order to do functional testing of my web application. I have now found a test strategy that is so effective, that I do not want to move away from Selenium RC (after spending weeks trying to figure out a good way to validate ASP.NET validation controls). But now that my Selenium RC adventure is moving from a POC to be something that I actually use, I'm running into a problem. It is insanely slow. Executing a single test that loads a page, fills in some fields, and clicks a button takes in the magnitude of seconds to execute. When it is

Testing a “Dojo” web application with Selenium

梦想的初衷 提交于 2019-12-03 10:36:13
Has anyone done some extensive automation with Selenium and a Dojo-heavy web app? I'm looking for any issues or problem that you might have run into or issues related directly to the combination of Selenium and Dojo. I've used Selenium extensively with a bunch of different web apps, including a few on Dojo. You should be fine. One practice I would recommend is to make sure all the components you'll be testing (both UI controls you'll be driving, as well as text components you'll be reading for testing) have ID tags set. Selenium has a bunch of elegant selectors to get at the elements you need,

Selenium Grid2 - Remote Node not connecting to HUB

丶灬走出姿态 提交于 2019-12-03 09:55:40
问题 My current setup is I have a selenium RC running as a hub on a windows machine(lets assume machine name is machine.name.com). I have used the following command to start it java -jar selenium-server2.15.jar -role hub -port 5555 I have a selenium node running on the same machine which is registered to the above node. I have used the following command to start the node java -jar selenium-server2.15.jar -role node -port 5554 -hub http://machine.name.com:5555/grid/register This node gets

Selenium RC > how to upload file using attachFile()

瘦欲@ 提交于 2019-12-03 09:47:40
问题 I am using Selenium RC with Junit framework. I am trying to upload a file using attachFile() method. attachFile: (Information collected from selenium API http://release.seleniumhq.org/selenium-remote-control/1.0-beta-2/doc/java/com/thoughtworks/selenium/Selenium.html#attachFile(java.lang.String,%20java.lang.String)) void attachFile(java.lang.String fieldLocator, java.lang.String fileLocator) Sets a file input (upload) field to the file listed in fileLocator Parameters: fieldLocator - an

What is the difference between Selenium Remote Control and Selenium Server?

拈花ヽ惹草 提交于 2019-12-03 05:04:53
问题 On Selenium download page, there is a link to the Selenium RC (Remote Control). On another Selenium download page, there are links for a Selenium RC 1.0.3 , as well as Selenium 2 Server , sometimes also called Selenium 2 Standalone Server . What is the difference between them? If there are limitations, what are the limitations of each one? Is the Selenium Server replacing the Remote Control? Related question: selenium remote control vs webdriver 回答1: You should take a look at the

Help me improve my continuous deployment workflow

ぐ巨炮叔叔 提交于 2019-12-03 01:33:34
问题 I've been developing a workflow for practicing a mostly automated continuous deployment cycle for a PHP project. I'd like some feedback on possible process or technical bottlenecks in this workflow, suggestions for improvement, and ideas for how to better automate and increase the ease-of-use for my team. Core components : Hudson CI server Git and GitHub PHPUnit unit tests Selenium RC Sauce OnDemand for automated, cross-browser, cloud testing with Selenium RC Puppet for automating test server

Selenium Grid2 - Remote Node not connecting to HUB

情到浓时终转凉″ 提交于 2019-12-03 01:33:05
My current setup is I have a selenium RC running as a hub on a windows machine(lets assume machine name is machine.name.com). I have used the following command to start it java -jar selenium-server2.15.jar -role hub -port 5555 I have a selenium node running on the same machine which is registered to the above node. I have used the following command to start the node java -jar selenium-server2.15.jar -role node -port 5554 -hub http://machine.name.com:5555/grid/register This node gets registered successfully, and I am able to run tests of this node as well. Now I have another machine (a LINUX

Selenium RC > how to upload file using attachFile()

泄露秘密 提交于 2019-12-03 00:17:20
I am using Selenium RC with Junit framework. I am trying to upload a file using attachFile() method. attachFile: (Information collected from selenium API http://release.seleniumhq.org/selenium-remote-control/1.0-beta-2/doc/java/com/thoughtworks/selenium/Selenium.html#attachFile(java.lang.String,%20java.lang.String)) void attachFile(java.lang.String fieldLocator, java.lang.String fileLocator) Sets a file input (upload) field to the file listed in fileLocator Parameters: fieldLocator - an element locator fileLocator - a URL pointing to the specified file. Before the file can be set in the input

Help me improve my continuous deployment workflow

陌路散爱 提交于 2019-12-02 13:51:40
I've been developing a workflow for practicing a mostly automated continuous deployment cycle for a PHP project. I'd like some feedback on possible process or technical bottlenecks in this workflow, suggestions for improvement, and ideas for how to better automate and increase the ease-of-use for my team. Core components : Hudson CI server Git and GitHub PHPUnit unit tests Selenium RC Sauce OnDemand for automated, cross-browser, cloud testing with Selenium RC Puppet for automating test server deployments Gerrit for Git code review Gerrit Trigger for Hudson EDIT : I've changed the workflow

How to call Selenium to another class : NullPointerException

霸气de小男生 提交于 2019-12-02 10:23:49
问题 How can we cal an object selenium to the other file which has half code of selenium. In PHP i can by following code. login($this); ----> login($sel){ ..... } Can i do the same in Java as my selenium setup is in one file and the function which uses it is in another file can we pass the selenium to other as I am getting the NullPointerException. Let me know if you want more details related to this. Update Library.java public class Library extends SeleneseTestCase { public int Login() throws