Finding a suitable version of Selenium (automated testing tool) - selenium

My project is compatible only with Internet Explorer. I want the test scripts to get generated automatically as it is done in Selenium IDE.Can i use selenium RC to test my application?
I could not use selenium IDE as it can be used only with Mozilla Firefox.
Can you suggest any other free tools for my project.
thanks in advance ...

I think if you dig around for earlier versions of selenium they are compatible with IE. We use it here for front-end automation via IE6 anyway

Related

Porting part of Selenium IDE to chrome extension

I have been trying to port Selenium IDE into a chrome extension I have been working on but to no avail. Specifically, I want to be able to execute selenium-built commands (e.g. click, assertElementVisible, etc.) in my extension.
I am aware that porting Selenium into another extension has been done before (Katalon Recorder), but I could find absolutely nothing online on how the porting was done.
That said, can anyone give me some pointers on:
Specifically what files I should port from the IDE repository
How to set up and call Selenium commands in my extension
How I may properly accredit Selenium in my use of its code
I am aware that the old Selenium IDE is deprecated, so I plan on using the new Selenium IDE on github. The new IDE is still under development, but I believe that the functionalities that I require are ready to be used at this moment (I only require running commands on DOM elements).

Which tool can replace RFT and Selenium?

I want to automate testing of java based applications, not exactly portals though.
RFT 7 version that we have is not compatible with latest version of Firefox, so we need another tool, preferably open source.
Please suggest some replacement for Selenium and RFT. The purpose is automation of Functional testing.
I think you meant "Web applications", since that's what Selenium is for.
I suggest Sahi Open Source: works with many browsers, OS independent. I've never used it though, so can't give you a proper review.
Both RFT (Rational Functional Tester) and Selenium is used for Functional & Regression test of web. RFT is commercial & Selenium is open source/free tool.
There are some other free tools that you can try. Such as
TestProject
Sahi
Watir

Can i use MyEclipse IDE instead of Eclipse IDE (Eclipse for Testers) for using testing with Selenium

I am new with Selenium and having java development experience.
I have installed Selenium IDE as plugin with Firefox.
I have MyEclipse IDE. Should i download another Eclipse IDE for using testing with Selenium Webdriver. If yes then please suggest which version of Eclipse would be best suited for my purpose?
If you want to learn the basics of selenium IDE you better play around with selenium IDE in Firefox.
If you have knowledge in any of the programming languages like Java, python, ruby, c#, PHP
You can use Selenium Webdriver along with any of the mentioned programming languages to write automation testing scripts.
COming to eclipse IDE,when you start using Selenium Webdriver, you need to use Eclipse IDE. other wise if you use Selneium IDE in Firefox, there is no need to use Eclipse as Selenium IDE is just a record and playback tool(also you can add and modify the selenium commands).
you can use Eclipse IDE for Java EE Developers present in the below link.
http://eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/junosr1
No. Perhaps we can not use MyEclipse with selenium. Furthermore IDE is not relevant alternate to Eclipse.

Trying to use Selenium RC

I'm pretty newbie to selenium.
Im trying to configure selenium for a project in my university like the one configured with phppgadmin.
There is no .jar file, I dont need to run anything, dont even need to install libraries, etc... I dont know if this is a RC Server or Webdriver.
Also, I want to use the PHPUnit format, cause this way I can just export test cases from the Firefox Selenium IDE plugin. There is a way to do that?
There is a lot of information, webdrivers, etc in Internet but I believe the way phppgadmin do this is the best way.
If you're just looking for something quick and dirty Selenium 1 imported off of the IDE is probably for you. If in the future you plan on continuing your university project I would highly recommend learning about Selenium Webdriver (Selenium 2).
Just as a small aside: You can export your tests from the selenium IDE in any language you desire, PHP is just one of the many choices that include (Java (JUnit), Java (TestNG), Ruby, and Python). If you're interested in PHPUnit look here http://www.phpunit.de/manual/3.1/en/selenium.html, this will give you the back drop on how to start coding your Selenium Tests.
If you're going to be using the selenium RC you want to go to http://seleniumhq.org/download/. Download Selenium server. You start the server with a java -jar command. So java -jar /path/to/sel/selenium-server-standalone-2.24.1.jar. This will start the RC server and when you're interested in running some tests execute the tests and then selenium server will take care of the rest

Help with Selenium Webdriver download?

I have Selenium IDE and i want to install Selenium Webdriver.
1) Can anyone tell me where can i download selenium webdriver. i don't see any link available in the documentation.
2)Can i use selenium webdriver with PHPUnit? I see some materials saying php is not supported in selenium 2 however there are some download links available for phpbindings for webdriver what is this exactly?
3)If i have Selenium webdriver do i still need selenium server to run test cases in different browsers?
I would appreciate your answers...
I completely agree with you. They have a ton of documentation, but they do a horrible job of explaining what you actually need. It took me about 2 days to put all the pieces together. You will need a few things...
If you are running tests with C#, download NUnit, C# client drivers. Create a class library project in Visual Studio and reference the dlls (assemblies) for NUnit (for appropriate dotnet version) and the C# client drivers. Compile your class library. It should create a dll inside of the bin\Debug directory. Then go into NUnit, create a project, and then open your assembly in that bin\Debug directory. That should get you started.
If you're developing using Java, download JUnit (not NUnit) and then download the Java Client Drivers, and use Eclipse instead of Visual Studio. You can launch JUnit right from Eclipse.
I've only tried NUnit and JUnit before. But I'm sure PHPUnit can also be launched from Eclipse (educated guess). There seems to be the most documentation for Java and Python.. from experience, but I've been doing everything in .NET and I haven't had anything I couldn't solve.
The Unit Testing software isn't required, but the code the format add-ins for Firefox Selenium IDE will build the code for NUnit (C#) or JUnit (Java), etc... so most use those tools.
If you want to get some boilerplate code, go into Selenium IDE and turn on experimental features under options. Then export your C# code (or Java code) from the format menu after you've recorded your commands. It won't all convert 100%, so be aware of that. Just google from there to get questions answered.
One thing to watch out for... clickAndWait commands won't convert to click and wait in the code. You will either need to do an implicit wait or a thread.sleep wait after certain commands before you'll be able to access the next element if you're waiting for an action to occur. You will also want to turn on native events so you can fire certain JavaScript events. Your fire events won't work if the driver doesn't have this turned on. The WebDriver driver.
If you have any other questions, let me know.
You can download Selenium server as well as client driver from the following:
http://code.google.com/p/selenium/downloads/list
You can download "php-webdriver-bindings-0.9.0.zip" from the following source:
http://code.google.com/p/php-webdriver-bindings/downloads/detail?name=php-webdriver-bindings-0.9.0.zip
In C# context:
Now the better way of including packages in C# project is using nuGet. nuGet is packaging utility which when executed from its powershell command window, quickly downloads the dll files and links them to project. Below link details on how to use nUGet to install packages of selenium webdriver, selenium support and nUnit.
How to invoke/run different type of web driver browser using remote webdriver in C#