Rajani
Rajani

Reputation: 271

Selenium Java example (is Selenium IDE required)?

Is it necessary to download Selenium IDE to execute Selenium examples?

I am trying to execute a Selenium application on Java. Please, help me with the steps and a sample example...

Upvotes: 1

Views: 4149

Answers (4)

Ripon Al Wasim
Ripon Al Wasim

Reputation: 37816

Selenium IDE is Addons of Firefox. It is used only for recording your tests so that time is saved. Recorded code can be exported to your desired language (Java, PHP, Python etc.)

Upvotes: 0

Ranadheer Reddy
Ranadheer Reddy

Reputation: 4324

If you want to write selenium code manually you don't need to download selenium IDE. But if you want to get java code directly, you need to download it. In this you can record a testcase and you can export that in java. So it is your choice..

Upvotes: 0

Petr Janeček
Petr Janeček

Reputation: 38444

No, it is not necessary.

Selenium IDE is a tool (a Firefox addon) for recording testcases without writing any code. It works internally with Selenium RC and can export it's code to some languages.

If you want to write Java code, use Selenium RC or Selenium 2 (WebDriver) with any Java IDE you like.

As Selenium 2 is recommended nowadays, you should use that. This page from WebDriver docs is full of examples.

Upvotes: 5

Shehzad
Shehzad

Reputation: 2940

Selenium docs says you can use any IDE the only requirement is selenium.jar should be in your class path. i think you should go with Eclipse IDE. Follow the link for Configuration . Configuring Selenium With Eclipse

Upvotes: 0

Related Questions