Questions tagged [selenium-ide]

The Selenium-IDE (Integrated Development Environment) is the tool you use to develop your Selenium test cases. It’s an easy-to-use Firefox plug-in and is generally the most efficient way to develop test cases.

Selenium IDE is implemented as a and extension, and allows you to record, edit, and debug tests. Selenium IDE includes the entire Selenium Core, allowing you to easily and quickly record and play back tests in the actual environment that they will run.

Getting Started with Selenium IDE

2219 questions
123
votes
17 answers

Running Selenium Webdriver with a proxy in Python

I am trying to run a Selenium Webdriver script in Python to do some basic tasks. I can get the robot to function perfectly when running it through the Selenium IDE inteface (ie: when simply getting the GUI to repeat my actions). However when I…
user2479813
  • 1,231
  • 2
  • 9
  • 3
96
votes
11 answers

Selenium IDE - Command to wait for 5 seconds

I´m using the Selenium IDE for Firefox and searching for a wait command. My problem is that I want to test a website with a embedded external map. This external map needs 3-5 seconds to load. My commands: open /Page/mysite.html //Wait Command? (5…
LaPhi
  • 5,675
  • 21
  • 56
  • 78
81
votes
9 answers

Does Google Chrome work with Selenium IDE (as Firefox does)?

I can't find an equivalent of Selenium IDE that works with Chrome. Does anyone know how to use Selenium IDE with Chrome instead of Firefox? Or is there an alternative tool which works with Chrome?
artejera
  • 1,346
  • 1
  • 11
  • 19
73
votes
14 answers

Click in OK button inside an Alert (Selenium IDE)

I need to click the 'Ok' button inside an alert window with a Selenium command. I've tried assertAlert or verifyAlert but they don't do what I want. It's possible the click the 'Ok' button? If so, can someone provide me an example of the Selenium…
Bruno
59
votes
6 answers

Equivalent of waitForVisible/waitForElementPresent in Selenium WebDriver tests using Java?

With "HTML" Selenium tests (created with Selenium IDE or manually), you can use some very handy commands like WaitForElementPresent or WaitForVisible. waitForElementPresent id=saveButton When…
Jonik
  • 80,077
  • 70
  • 264
  • 372
56
votes
8 answers

Why do my tests fail when run together, but pass individually?

When I write a test in Visual Studio, I check that it works by saving, building and then running the test it in Nunit (right click on the test then run). The test works yay... so I Move on... Now I have written another test and it works as I have…
Graeme Secondwave
  • 563
  • 1
  • 4
  • 6
56
votes
2 answers

How to use XPath preceding-sibling correctly

I am writing tests for my site using Selenium IDE and I am having trouble with having selenium click on a button using preceding-sibling
53
votes
8 answers

How to loop tests in Selenium IDE?

I've been testing in Selenium IDE. It's pretty easy to use, and I have created some test cases with it. I've been searching Google, trying to find a way to repeat my tests automatically. I've seen a solution with gotolabel, while loops, etc. But I…
Giordano Giuliano
  • 737
  • 1
  • 7
  • 13
52
votes
10 answers

click command in selenium webdriver does not work

I have just recently done an export of my selenium IDE code to selenium web driver. I have found that a lot of the commands that worked in IDE either fail to work or selenium web driver claims to not support at all. So far I've been tackling these…
OrwellHindenberg
  • 4,988
  • 8
  • 38
  • 58
42
votes
8 answers

Why do we use WebDriver instead of Selenium IDE?

Why can't we just record all of our test cases in Selenium IDE, export it to Java/WebDriver and run it in WebDriver with Eclipse? I need a clear explanation as I am very much confused in using WebDriver! And can anyone please explain why IDE…
Sagar
  • 733
  • 3
  • 11
  • 16
30
votes
7 answers

How to press/click the button using Selenium if the button does not have the Id?

I have 2 buttons Cancel and Next button on the same page but it has only one id (see the below code). I wanted to press Next but every time it is identifying the cancel button only not Next button. How to resolve this issue? …
ChanGan
  • 4,254
  • 11
  • 74
  • 135
30
votes
5 answers

How to convert commands recorded in selenium IDE to Java?

Is there any application or simple way to convert all the commands recorded by Selenium IDE to Java (Selenium WebDriver)? It would be a lot more easier and would save a lot of time. Any suggestions will be appreciated. Thanks!
Amith
  • 6,818
  • 6
  • 34
  • 45
30
votes
2 answers

Using upper-case and lower-case xpath functions in selenium IDE

I am trying to get a xpath query using the xpath function lower-case or upper-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…
Aristotelis
  • 321
  • 1
  • 3
  • 4
29
votes
4 answers

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…
marc esher
  • 4,871
  • 3
  • 36
  • 51
25
votes
5 answers

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…
Anders Lindahl
  • 41,582
  • 9
  • 89
  • 93
1
2 3
99 100