What I want to do
I'm trying to run Selenium Server on my Hudson CI server via the SeleniumHQ plugin, but unfortunatly it doesn't start for my single TestSuite. I already tried to set a different port, because I read this question. But the error stays.
I'm running on Windows XP v2002 SP3, using latest Hudson CI (1.370) and SeleniumHQ (...
Hi everyone,
I'm new to selenium. I want to ask about if there's a easy way to open a search result page of some urls, not just the homepages.
for examples,
I search stack overflow in google. The url is here, but the return page is google homepage.Is it possible to get the result page directly? I want to scratch some result pages. If I...
Hi everyone,
I use seleniumRC to open a url, then how to save this web page? How to realize it like urllib.urlretrieve do it? But urllib can't operate javascript in the page. One more question: Will it save the whole page with what I see as seleniumRC open it?
...
I want to take dynamic input for values in my unit tests. How can I do this? Thanks!
...
Howdy.
I've been running my selenium tests using selenium rc for about 6 months and suddenly the firefox windows selenium opens do not close when the test is finished.
I am using a specific firefox profile and had not updated my selenium rc jar. I thought that perhaps the latest build of firefox may have been the problem but I reverte...
it works fine in my machine if i try it in some other machine it
opens below link and stops??.any one faced the problem?
http://localhost:3124/selenium-server/core/Blank.html?stcode is like
selenium = new DefaultSelenium("localhost", 3124, "*firefox",
"https://");
...
I'm trying to run a series of selenium tests using maven and I get this error:
Running com.myapp.web.selenium.MySeleniumTest
WARN [SocketListener0-1] HttpConnection - POST /selenium-server/driver/ HTTP/1.1
java.lang.RuntimeException: Firefox refused shutdown while preparing a profile
at org.openqa.selenium.server.browserlaunche...
Im reading The Rspec book and in that book, they are using webrat with selenium.
I wonder if its possible to use selenium directly for integration tests in Rails instead of using it through webrat?
What are the pros and cons with each way?
...
Are there strong reasons for using Rspec for controllers and views too?
My views are heavily dependent on Javascript, and as far as I know, Rspec doesn't handle javascript/ajax on views. Also im using Cucumber + Selenium for that.
And should I use it for controllers?
Isn't it enough to just use Cucumber + Selenium for the application ...
how to capture dynamic values of button using selenium scripts?
...
I have a special profile for my Selenium server with various form history in it, and when I launch Firefox regularly I can indeed use them. However, when Selenium server launches a Firefox instance from this profile, there is no trace of them (although the regular browser history appears just fine).
Any ideas?
...
everytime i test my selenium test, the instant of firefox will popup and show page of selenium rc. It's ok and cool. But i have problem. For every test i also have to see a firefox's page pop up and shown selenium plugin have been add to firefox.
is there any way to configure selenium so it initiate firefox without a popup page cause af...
i have to use code
this.setUp("http://www.remax.com/", "*firefox");
selenium.open("/404/index.aspx?aspxerrorpath=/public/pages/searchresults.aspx");
slenium.click("link=Find a RE/MAX Office");
selenium.waitForPageToLoad("30000");
selenium.selectFrame("REMAX AGENT SEARCH");
selenium.click("ctl00_PlaceHolderMain_ButtonSearch");
to find ...
hello Everyone,
I m new to selenium. i m nt able to recored the window authentication window while recording.
for that i tried to pass username and password in url bt its also nt working.it s redirect me to some other page.i m using firefox as my browser.
my-method for passing credentials :
http://username:[email protected] it cor...
I downloaded the selenium-java-2.0a5.zip
http://code.google.com/p/selenium/downloads/list
and ran the following code:
package org.openqa.selenium.example;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;
public class Examp...
Isn't Selenium better than Celerity when it comes to testing web sites cause real browsers like Firefox, Safari, Chrome and Internet Explorer could be used so that we know our website is compatible with each of them.
So if I use Celerity (it's java browser), even if all tests pass, doesn't that mean my website could still be incompatibl...
When i am checking an XPath of a link, it appears to be:
id('content')/x:table/x:tbody/x:tr/x:td[2]/x:table/x:tbody/x:tr[2]/x:td[1]/x:table/x:tbody/x:tr[2]/x:td/x:table/x:tbody/x:tr[2]/x:td/x:table/x:tbody/x:tr[1]/x:td/x:table/x:tbody/x:tr/x:td/x:table/x:tbody/x:tr[2]/x:td/x:table/x:tbody/x:tr/x:td[4]/x:a[2]
How can I use it in in tar...
I am using webdriver api (Selenium) and when I am trying to test a site (which I can view and browse normally in my browsers), I get the following message over and over.
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect
18-Aug-2010 12:36:08 AM org.apache.commons.httpclient.Http...
Our team has been testing our application with Selenium as it's heavily JavaScript driven we've always had issues with tests occasionally failing. As the number of tests has increased the probability of at least one two tests failing in a complete run has become a certainty.
What we recently figured out is that we probably have a race c...
I am using browsermob and selenium for creating scripts to run on a site. I am trying to grab all of the elements on the page with a certain name. My problem is when I try to use window.document.getElementsByName("name"); browsermob says that window is not defined. How do you define window?
...