How to tell selenium to use test database?
I'm using selenium-client to run a few tests, but Selenium seems to be using my development database. How can I point it to use my test DB? ...
I'm using selenium-client to run a few tests, but Selenium seems to be using my development database. How can I point it to use my test DB? ...
I'm trying to automate testing of the code... well, written without testing in mind (no IDs on many elements, and a lot of elements with the same class names). I would appreciate any help (questions are below the code): <div id="author-taxonomies" class="menu-opened menu-hover-opened-inactive" onmouseover="styleMenuElement(this)" onmous...
Good morning I am using selenium and I have come up against a bit of a wall. I am attempting to navigate to another page, by typing in the address bar, however I cant seem to do this when using selenium. Is this possible? I am not able to simply put a link on the page that goes to this page. Cheers Cameron ...
Selenium has some nice additional libraries, as long you are using Java to write your tests, e.g. LoggingSelenium. However, these are not usable if you are writing in Perl. How do you normally do proper reporting, possibly with screenshots after every significant step etc.? ...
How can I choose a file from a file browse dialog (i.e., uploading a file from my PC) in a Ruby Selenium automation script? ...
hi, sometimes my selenium tests get timeouts these suggestions: http://stackoverflow.com/questions/88269/how-do-you-get-selenium-to-recognize-that-a-page-loaded did not fix my problem. It mostly happens at the beginning of the test when i use open or openAndWait. The odd thing is the page actually gets opend but the test just stops and ...
Good morning I have been running a few tests over the past couple of weeks and I have come up against a bit of a wall. I am testing in IE 7 and 8 and firefox. Basically my problem is that IE 8 does not yet support a plug in and firefox does not support a referer in a frameset, so basically I want to do is detect which browser I am usi...
By design, Selenium makes a new copy of your Firefox profile each time a new test is run. I find this copy time is a considerable bottleneck, especially when running 100s of tests. (5-15 seconds to copy the profile anew). Does anyone know of any override behavior for this? I'd prefer my Selenium server to just reuse the same firefox ...
Selenium vs. Windmill, what are your experiences, what do you recommend? ...
Is there a way to test logging in to a site with open id using selenium? In selenium all the tests live in the server, so once fill the open id url in the appropriate field in the web page and am taken to the 3rd party web page for entering the credentials my test can't run any more. Is there a way around this? ...
I'm a big fan of Firebug - I use it all the time for my web development needs. That said, one of the things I noticed with Firebug is that it significantly slows down the page. In particular, if Firebug is on when a (local) Selenium script is running, the script takes 2-3 times as long to execute, and I sometimes even see timeout errors....
I'm using Selenium and Firefox. I have a link on a page (say linkA) that opens a new page in a new tab. The new tab is displayed when linkA is clicked. I then want to interact with the new page. Here is my selenium script: click linkA pause 5000 selectWindow Title click linkB (note: linkB is on the new page) Selenium cannot i...
I'm a complete selenium newbie. Where should I start if I want to learn how to use it? ...
I looked at the documentation and all it says is to create a servlet... With what? Is there code I need to use for this servlet? Does it just need to be blank and have the name of postResults? Is there a provided ant script for this? I can't find anything on google or selenium's site that lets me in on this. Thanks UPDATE: I found...
I'm pretty new to both Ruby and Selenium and I'm just trying to figure out the best way to build my test harness. I'm using Rake, Rake::TestTask, and Test::Unit to power this. I have a suite that I'd like to run once for each browser/os combination. I can't figure out how to parameterize my tests though, something I've become accustomed ...
Does anyone have any suggestions for a best practice or preferred way of rolling back database transactions made from an integration test framework such as Selenium? Here is our current situation: We have a .net web project with a number of unit tests which work fine in our unit test environment - each test inherits a parent class whic...
Hi all, I'm new in Selenium and testing matters. I'm trying to capture the id of an hyperlink element that is dynamically part generated. The click action is recorded like as below when i make click on in selenium, the part in bold are dynamically generated, there are many of them on my page and can differ from one site to another(I'm t...
I do I reduce the size of the selenium frame, in order to increase the frame of the website I am testing? ...
We can search for specific field on website in a few ways: based on css, name, id, structure, even any text found. Which way have you decided to use? What would be best practice for it? Edit: I'm asking from developer perspective: How to write code that it will be easier to test with Selenium by one method (that is: being able to sea...
I have this scenario: simple html form that is being processed with Ajax with clear (reset that form) button. I want to test clear function, hence the question: What is the right way to check that no values are selected from dropdown list with Selenium IDE? I've tried assertSelectedValue command, but didn't find a way to specify the un...