selenium-ide

Selenium IDE and Drupal

Can I use Selenium IDE on a Drupal system? I found http://drupal.org/project/selenium but that involves downloading Core and not using my current machine. Does anybody know of a way to use the IDE with Drupal, or if not what do you suggest I do? ...

Click in OK button inside an Alert (Selenium IDE)

Hello! I need to click in the button ok inside alert window with a selenium command. For me assertAlert or verifyAlert aren't enough It's possible? Anyone can help me with this with a example for a complete syntax command in Selenium IDE for this problem? Thanks Bruno ...

How to submit form in loop in Selenium IDE

I'm using Selenium IDE in Firefox and submiting a form. The problem is that the form can be sucesfull or unsuccesfull (random). When it's unsuccesfull it will show and error message (AJAX) and I need to try to submit the form again. I would like to write a test which will be submiting the form until it will redirect me to success page (...

Problem with upper-case and lower-case xpath functions in selenium IDE

Hi, I am trying to get a xpath query using the xpath function lower-case or uppper-case, but they seem to not work in selenium (where I test my xpath before I apply it). Example that does NOT work: //*[.=upper-case('some text')] I have no problem locating the nodes I need in complex path and even using aggregated functions, as long as ...

Use Selenium code to download Web page

Hi, I have installed Selenium IDE on Firefox and manage to record and play various web navigation sequences. What I need is to do it all automated through PHP, i.e. run a PHP script which gets the html source of the final page (i.e. at end of navigation sequence). Within Selenium there is an option to export to PHP, so I get something li...

Selenium IDE - can't find an element set via javascript

Hi, I'm new with selenium ide.. Element(82.02) is set via javascript: <tr id="_tr_total" style=""> <td class="frm_preview_title"> </td> <td/> <td class="frm_preview"> <strong id="total_ltl" style="font-size: 12px; color: brown;"> 82.02 </strong> </td> </tr how you can see, there is a value 82.02, but it's set via javascript, and wh...

is there any way to automatically run a test suite from within Selenium IDE upon opening firefox?

I would like to create a script or a batch file on windows that automatically opens Selenium IDE (plugin) and opens and runs a test file. ...

Selenium Automation

Is there any way in Selenium ide, so that we get list and handlers for all controls provided on any page ? So if we get that we can test that one by one using RC and it'll greatly helpful when there are more then 40 controls on page. In that case it'll become very tiresome to record for all. ...

install selenium ide on firefox 3.5

how i install seleniumIDE on my browser firefox3.5.... ...

Selenium-Flex API sample problem

Hello, I'm trying the sample demo of selenium flex API. After following the instructions on the main page for compiling the project with sfpi.swc and taking the generated selben.swf in bin directory and trying to run some test(assertFlexText) using Selenium IDE, I get the following error: [error] Function getFlexText not found on the E...

How to get Selenium to wait for a transition page to redirect before running an assertion

I have a fairly standard situation: Click a button, it loads a transition page with a progress bar or something, and then that page redirects to the next page, which takes a while to load. I want to run assertions on the final page, not the transition page. How do I tell Selenium IDE to wait till the final page loads before performing ...

How to create nested test suites for Selenium?

I need to create a nested test suite in Selenium that will run in the Selenium IDE or the Selenium TestRunner. This is basically the structure that I'm trying to achieve: MasterTestSuite.html - ComponentTestSuite.html - TestCase1.html - TestCase2.html - OtherComponentTestSuite.html - TestCase3.html - TestCase4.html I...

Open a new browser session in a different window in Selenium

I am new to Selenium and just started to use it. I want to open a new browser session in a different window from my script and do not know how to do it. I tried using the open command and gave the Firefox Url but it opened in the same window. Any ideas? ...

Problems with Error: There was an unexpected Confirmation!

I am trying to delete a user from a table. At first I was getting a timeout error but used the BeatnicClick() as described here: http://stackoverflow.com/questions/1391718/selenium-ide-click-timeout That solved the timeout error but I'm still getting the unexpected confirmation error. Here's part of the source code: selenium.Click(...

How to record popup windows with selenium IDE.

While recording through Selenium IDE, When a pop up window opens then it is not getting recorded. "At the tine of executing an error message is displayed...Please help me out ...

How do I select html injected from jQuery with Selenium IDE?

I'm currently using Selenium IDE to fill a form. The form has a select box for countries: <select id="id_country"> <option>Canada</option> <option>England</option> </select> <select id="id_province"></select> The province options above is not generated until a country with provinces is selected. jQuery takes care of that ge...

Selenium clicks not working with GWT

I run GWT OBF (thus this isn't the problem), but when I use Selenium (tried both IDE and RC) my clicks don't get recorded. The component I'm trying to click is a <div>, but nothing happens. For instance, in IDE I am sometimes (very seldom, like one in 50 clicks) able to register a click on different tabs (contained in <div>), but never ...

Clear session cookies with Selenium IDE?

I'm writing Selenium tests for an ASP application, and would like to test the cases when a session isn't properly initialized. Right now I'm clearing the cookies manually, but that is becoming a bit cumbersome. (ok, to be honest I forget it every fifth-or-so time and have to re-run the tests...) Is there a way in Selenium IDE to clear ...

In Selenium IDE, how to get the value of the base url

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...

Element not found until manual click anywhere on page

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...