Hi all,
I'm a month-old with Selenium and so far all I use is the IDE. Haven't had the luxury of reading on RC (although I will be after this critical project). Anyway I would like to know how I could click the radio button beside a search result w/c does not always appear on the same position. W/ my limited knowledge in Selenium and pr...
Is it possible to use PHPUnit as an alternative to Selenium to do GUI testing? My impression is that it is just a generic testing framework and can't handle javascript, dom and other GUI aspects.
Right now I am running php+selenium rc+firefox and the overhead of the java selenium server och actually running the firefox gui makes me worr...
I'm a Perl programmer doing some web application testing using Selenium. I was wondering if there's some kind of interactive interpreter which would allow me to type Selenium commands at a prompt and have them sent to selenium.
The way I'm currently developing code is to type all of the commands into a Perl script, and then execute the ...
I have the following input element:
<input name='selected(1234)' type="checkbox" />
When I record, I get this:
Command: click
Target: selected(1234)
This doesn't find the element, and neither does
Target: name=selected(1234)
My assumption is that the parentheses are somehow messing with the lookup. What's the proper way to do this...
I am creating Selenium RC test scripts in Visual Studio (C#). I am
struggling with re-factoring the tests; all my tests are in a single
file. I would appreciate any input and/or pointers to websites, books,
etc. to learn about modularizing the tests.
I have to run the same tests on different sites (same application but
configured differ...
I am creating test scripts in Visual Studio IDE using Selenium RC and
executing them thru NUnit. In order to run these tests on Virtual PC,
what would I need to do.
What all would I need to have on the Virtual machines? Only NUnit or
even Selenium?
If anybody has any experience setting this up and executing the test I
would appreciate ...
Hello,
I'm using selenium-rc with C# to test my asp.net mvc2 application. Currently all I am doing is opening the home page with selenium RC.
when I run my test I see the selenium remote control open in a browser and I see my application open correctly in a browser but selenium shows a 404 error and aborts the test.
In an attempt to g...
Hi there,
I'm attempting to set up a js cucumber environment in a rails3 app with capybara on osx10.6. I've tried using culerity with rvm jruby and rvm 1.8.7 and 1.9.2 but got various errors:
`initialize': Valid types are [:development, :runtime], not nil
Having read that this is potentially something to do with RUBYOPT and bundler I ...
I have the following snippet in my html displaying a FB-Connect link:
<fb:login-button id="mylogin" onlogin="try {
window.location.href = "http://localhost:3000/";
} catch (e) { alert('RJS error:\n\n' + e.toString()); alert('window.location.href = \"http://localhost:3000/\";'); throw e }"></fb:login-button>
That works fine when manual...
I'm trying to test the happy-path for a piece of code which takes a long time to respond, and then begins writing a file to the response output stream, which prompts a download dialog in browsers.
The problem is that this process has failed in the past, throwing an exception after this long amount of work. Is there a way in selenium to ...
I have Selenium IDE/RC, and PHPUnit 3.5 (PEAR) installed, but I can't seem to find PHPUnit_Extensions_SeleniumTestCase. When I type pear install phpunit/PHPUnit_Selenium, I get the following error:
phpunit/PHPUnit_Selenium is already
installed and is the same as the
released version 1.0.0
install failed
It appears that PHPUn...
I'm trying to run a selenium testcase in python. I have testcases that I can run directly from the command line no problem with
python seleniumtest.py
However when I try to run it from within python it is failing.
__import__('seleniumtest')
seleniumtest.py ends with a command
unittest.main()
this command seems to fail when it...
I have a following element (Login box):
<input type="text" style="font-family: Verdana; font-size: 11px; width: 180px;" id="ctl00_Content_ctl00_Login2_UserName" maxlength="50" name="ctl00$Content$ctl00$Login2$UserName">
Because I have a Firebug, if I right click on on the element it gives me XPath address (//*[@id="ctl00_Content_ctl00...
Hi
My main rakefile has some tasks to stop and start selenuim as follows:
require 'selenium/rake/tasks'
Selenium::Rake::RemoteControlStartTask.new do |rc|
rc.port = 4444
rc.timeout_in_seconds = 3 * 60
rc.background = false
rc.wait_until_up_and_running = true
rc.additional_args << "-singleWindow"
end
Selenium::Rake::RemoteC...
Hello,
I love fullCalendar. Its an awesome plugin. However one thing that I have found hard is testing. I am using rails, cucumber, capybera and selenium. I spent a good part of yesterday using the selenium IDE and could not for the life of me get selenium to simulate a click on fullcalendar's interface. I was wondering if anyone else h...
Hi,
I have a test where I have to check that when a particular item is selected on a web page, the item is loaded into a flash object on the same page. This being done via Javascript. I have to check whether the parameters being passed to flash by Javascript are correct(i.e. the right item is being passed to flash). The only way I can i...
I've been trying to evaluate load and perfomance test tools and i think i might either go with Jmeter or The Grinder. I am struggling to choose between the two and hoping that someone here can help.
I am currently using selenium to run functional tests of the web application and i now need to include load testing as part of the batch ...
I have a Selenium/PHPUnit test that needs to open a URL that contains an encoded URL.
$redirectToLocation = urlencode('/myothercontroller/action'); // %2Fmyothercontroller%2Faction
$this->openAndWait('/controller/action/thenRedirectTo/' . $redirectToLocation);
But when I run my test, the browser tried opening the decoded URL:
/contro...
I'm fixing up some old integration tests for our (RoR 2.3.5) website, and some scenarios (and their behaviors) depend on having multiple users logged in simultaneously. Once upon a time, these worked... three engineers and 18 months ago.
Our basic scenarios are written in cucumber, with capybara binding to selenium. I've tried all of t...
I have a site with elements of the form:
<td id="subject_23432423">content I want to read</td>
How do I use Selenium RC (with the Python bindings specifically) to read the content from all these elements? I've gone through all the commands, and while there's a lot of options to find a single element, none of the commands seem to handl...