I have the following as a cucumber story:
@javascript
Scenario: Showing the page
Given I am a logged in user
And there is a member with a site
And I go to the home page
.....
When that home page is loaded, there is a drop down that is populated via AJAX on page, in the selenium run browser test the
$(document).ready(funtion...
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...
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:...
I'm having some trouble figuring out how to take out what is not necessary in a selenium strip and package it in such a way that I can call it from another script.. I am having trouble understanding what is going on with this, as I don't get where the unit testint parts are coming from... ideally if I could just separate this into a func...
I am trying to test an inplace editor using Cucumber/Capybara/Selenium stack, but my problem is that the editor is activated by clicking a div and not a link or button. I can not seem to figure out how to get Capybara to do this. Is there a way of doing this?
...
Hello,
First time poster, long time lurker. Figured it's about time I start getting actively involved. So here's a question I've spend all weekend trying to find an answer to.
I'm working on writing a bunch of acceptance tests using Selenium and MbUnit, using the DegreeOfParallelism attribute that MbUnit offers.
My Setup and Teardown ...
I'm using Selenium 2 in Java, and when loading a web page using Webdriver's (the InternetExplorerDriver class) get() method a time-out is received and the execution halts although the page appears as completely loaded to me.
I've tried using the WebDriverWait class but I can't figure out what function to provide as the condition to the u...
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...
I made some tests with the Firefox Selenium and then had it exported to Ruby. Although the tests all ran fine in Firefox, I am having trouble running the same suite in Ruby.
I tried to run one of the example programs they have and I also get the same connection refused error. Here is the error I got when trying to run their google_tes...
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 ...
I'd like to suppress the initialization of TinyMCE inside my tests and can do this easily if the Javascript can detect that I'm running inside a Selenium-automated page.
So, is there some JS code that I can use to detect the Selenium driver? Alternatively, how can I extend the userAgent string to include a pattern that I can detect from...
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. ...
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?
...
Question partly answered in http://stackoverflow.com/questions/3481851/selenium-rc-testing-with-maven - basically stating go back to using Firefox 3.5 (but one answer suggesting that does not work). Not an option anyway - 3.6.8 is what we are using.
Anyway, any clue on how to get Maven / Selenium working with Firefox 3.6.x?
I am atte...
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.
...
i tried the below code but req/response is not captured??
String trafficOutput = selenium.captureNetworkTraffic("xml");
selenium.type("q", "selenium rc");
selenium.click("btnG");
selenium.waitForPageToLoad("30000");
selenium.open("/#hl=en&source=hp&q=selenium+rc&btnG=Google
+Search&aq=f&aqi=&aql=...
This is what I am trying to do:
Open my web application
Go to the details page to create a new entity
While creating entity, I need to select some values form the drop
down and record it on Selenium IDE
Did all the above steps, they were recorded into Selenium IDE
When I play back, it is trowing an error whenever it is trying to
run th...
how to handle ActiveX using Selenium RC an Java??
...
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...
I have a selenium script that I created with Selenium IDE. I was
wondering if there is anyway to store the text that is in a certain
element in a variable so that I can use that text later in the script? I am using selenium IDE to do it and then importing it into browsermob.
For Example: I have this html:
<div id=title>
<h2>Websi...