We are running Webrat with Selenium2.0 aka WebDriver in our application.
WebDriver handles page reloading very well and do not start next steps if the browser is reloading entire page. The problem is that this mechanism doesn't work with Ajax requests. WebDriver doesn't do any idle when there some after click() or change().
Can anyone ...
Hi
I am using Selenium RC in Eclipse and JUnit , how i capture dynamic id , Please answer me soon
...
Is it possible to retrieve the value of the base url from inside a Selenium script (a plain HTML-saved script from Selenium IDE)?
What I'm trying to do is verify the current url using assertLocation. But assertLocation returns the absolute url. I would like to compare the current url to a relative url without having to use an * at the s...
I was wondering if there is such an addon in firefox where you can test out css paths to check if they are finding the correct element? I was looking for something similar to xpather for xpath locations.
...
I am using selenium Rc to test some websites and the results are generated.I mostly use -htmlSuite.My concern is i have scheduled it in windows scheduler using batch file,my results has to be formatted like the test case -passed this one failed and sent through mail ,a html mail with this journey passed this failed would be better.Sugges...
I'm using selenium in my test suite, but since it's slow to set up, I'd like to prototype my xpaths on live pages, rather than waiting for tests to run. Is there a good way to do this?
Firebug's $x xpath seems to not work very well
jQuery doesn't seem to support Xpath selectors natively, though it used to in version 1.2.
using the nati...
Is there any way we can extract Selenium-IDE output as an excel sheet and then use java reflection to trigger them one-by-one? Any existing good tool already done this?
...
There are some buttons and menus in the application I am testing that require actual clicks to send all the information through and FireEvent style clicking does not seem to cut it. Both TestPartner and QTP can use actual clicks. TestPartner does this always (slow) and QTP does this by changing the 'ReplayType' to 2 from 1.
Setting.We...
I'm using Selenium RC + .Net Client Driver. I've created a Firefox profile in my c:\selenium\ directory. Here's my code:
Dim MySelenium As ISelenium = Nothing
MySelenium = New DefaultSelenium("localhost", 4444, "*custom C:/Program Files/Mozilla Firefox/firefox.exe -profile c:/selenium/", "http://www.google.com/")
When I run this, I ...
I'm running many tests (on FF) one after the other and I would like each test to start off with a fresh browser (ie no cookies, no cache,..). One idea is to close the browser and open a fresh one for the new test (this will create a new profile and probably the cleanest environment possible).
This is causing too much trouble and taking ...
We'll be developing a booking engine, a 4-5 step checkout process for reserving rooms with a hotel where there's a lot of complexity involved. Something similar to this.
Has anyone used Selenium for something like this? What kind of tests would I be able to do? Could I set something like Selenium to go through the entire process of step...
I want Selenium IDE to fail a test if the time to access a page is more than 60 seconds and log the time it took to access the page.
Is it possible to do that?
...
Hi,
I hope someone here can help me. Im using selenium to test a page that has an image which when click displays a calendar. I can get as far as clicking the image using
browser.click("//center/table/tbody/tr/td[1]/a/img")
I got the above path by using the Selenium IDE. The problem is once i click the above image the Selenium IDE ...
Hi,
I'm using Selenium Ruby client on a site with really bad performance. My scripts fails each time because of time outs. For a weeks now I am researching how time out limit can be set when using Selenium.
My (Ruby) script is
selenium.set_timeout(30000000000000) # does not work?
selenium.open myurl
In the Selenium log I can se...
Hey, I'm trying to hit a link in a table-row that contains multiple links. This pattern is used throughout the table.
This works:
browser.wait_for(:element => "css=tr:nth-child(1) li:nth-child(2) > a")
This does not:
browser.click "css=tr:nth-child(1) li:nth-child(2) > a"
Any ideas why this might be? I'm using the selenium-cl...
Is there a facility similar to SeleniumGrid that I can use to run webrat (or other, similar framework) browser automation tests in parallel across a farm of coordinated agents?
Coordinated via TeamCity with rake?
Edit: We're looking at using cucumber+webrat to do functional and acceptance testing as described in Testing ASP.NET Web App...
Hello,
I've got the following problem:
When recording a webtest using Selenium IDE (v1.0.4) every step will be recorded but when I try to replay the tests some buttons won't be found although they do not have dynamic identifiers.
For example you could use the following page to see what I mean:
http://www.vodafone360.com
There you ma...
Hi everyone,
I am working on Selenium tests for one of our pages that has an Infragistics WebDateChooser. It took me a while to get to where I could set the date field from the Selenium test, but I finally got something to work:
waitForEval | javascript{this.browserbot.getUserWindow().igdrp_getComboById('ctl00_MainBody_ctl00_fdosDatePi...
With Selenium RC 1.0.1, and FF3.5.x or 3.6 I keep seeing this error when trying to run any test,
Failed to start new browser session:
Unable to delete file
\parent.lock
when running the server with either,
java -jar selenium-server.jar -multiwindow
or
java -jar selenium-server.jar
Any one found a way to run a selenium RC t...
I have a page that has an image which when clicked shows a calendar. I've put an example of it here --> http://www.dotvibes.com/test/test.html Clicking on the image shows a calendar.
I tried to use Selenium IDE to record the action of clicking this image but it just does not work properly.
Here is what selenium IDE returns
<tr>
...