June 23, 2011

Make Selenium RC run on FF 5

June 23, 2011 19
Make Selenium RC run on FF 5
After upgrading from FF 3.6 to FF4 or 5...your selenium RC scripts  not running on FF.?


Here is the solution for that...

You need to do a simple thing..you have to Upgrade the old selenium-server file....to selenium-server-standalone-2.0rc3.

Here is the new server file New Selenium Server Jar File

Then replace the old file with new server file in eclipse..then restart your eclipse...Now your old scripts will run in FF4 or FF5.


June 22, 2011

Installing Selenium IDE old version(1.0.10 or 1.0.11) on Mozilla Firefox 4 or 5

June 22, 2011 1
Installing Selenium IDE old version(1.0.10 or 1.0.11) on Mozilla Firefox 4 or 5
Installing Selenium IDE old version(1.0.10 or 1.0.11) on Mozilla Firefox 4 or 5


If you want to install IDE 1.0.10 version on FF 4 or 5 it will not allow you to install...


You will get a message not compatible..to avoid that  we need to follow the below steps..


Installing selenium is simple, all you need is to install Selenium IDE addon to Mozilla Firefox.Download FF latest version(5.0).


If you want to install Selenium IDE 1.0.10 on Mozilla 4 or 5 you will need one extra steep. You will have to install compatibility addon to Firefox 4 or 5.
Can be downloaded from Mozilla Firefox Compatibility addon


Download Selenium IDE from Selenium IDE 1.0.10 and instal it on FF. Now F 4 or 5 will support IDE 1.0.10.



Give a try.....

Installing Selenium IDE on Mozilla Firefox 5

June 22, 2011 5
Installing Selenium IDE on Mozilla Firefox 5
Installing selenium is simple, all you need is to install Selenium IDE addon to Mozilla Firefox.Download FF latest version(5.0).


If you want to install Selenium IDE on Mozilla 5 you will need one extra steep. You will have to install compatibility addon to Firefox 5.
Can be downloaded from Mozilla Firefox Compatibility addon



Download Selenium IDE from Selenium site and the version is 1.0.10...


If you want to install 1.0.12  then no need of this comparability add on--


IDE version 1.0.12 will support FF5.

June 13, 2011

Selenium IDE v1.0.11 NOT Support Changing Formats

June 13, 2011 4

Selenium IDE V1.0.11:

It is not supporting Changing formats option...

Format option is Grayed out in Version 1.0.11...

How to Enable it or any alternative to convert the HTML code to desired format..

How to Enable format Option...

Open the Options dialog and turn on the Enable experimental features option. 
Once you turn on the experimental features, you should be able to get formats working again. The Format menu item in the Options menu will no longer be greyed out.
Format


Actually Selenium Experts are not recommending to enable this feature, because it is still under development.  

Alternative way:

Recommended way is to convert your tests to another language is to use the export feature of Selenium IDE.
Export Test Case As menu item in the File menu.


Hope it is useful...

June 1, 2011

Debugging Tests in Selenium IDE

June 01, 2011 0
Debugging Tests in Selenium IDE
Below are the methods or ways of Debugging your selenium IDE scripts..

Selenium IDE reports failures in the log console, and failed test cases within the suite are shown in red.
The failing test cases and commands are highlighted in red, so it’s easy to see what failed, but quite often it can be difficult to understand why it failed. This information is all in the log, but if you’ve run more than just a couple of tests then it will be difficult to match up the failing commands to the errors in the log.

There are a few ways to debug these failures and work out if your application under test has bugs, or perhaps your tests require some changes

Execute Individual Command:


When you double-click a command in Selenium IDE it will be executed – this is very handy when first writing your tests. You could use this to step through each command in each test case until you find a failure, and investigate from there.

Custom Log Messages:

There’s a command in Selenium IDE named echo and this will basically repeat whatever you type into the log when the test is executed. You could use this to output a message associated with an expected failure, and then find this in the log. You do still have to scroll through the log to look for your messages though.

Slow Down:
You can use the speed slider to slow down how fast your test commands are executed. This can be helpful as you can watch the application under test while your tests are running and see any obvious issues that your tests are failing on. You can also use this in combination with executing commands manually by pausing your tests.

Pause, Break and Step:

You can pause your test at any time, either by clicking the Pause icon in the toolbar or by setting breakpoints. Set a breakpoint by right-clicking on a command you want Selenium IDE to pause before executing, and selecting ‘Toggle Breakpoint’ from the context-menu. You will see a small pause icon appear to the left of your command.
When Selenium IDE is paused, the Step icon becomes available. You can use this to execute one command at a time, which can be very useful when approaching a failure or working through a number of verification failures. If you have set multiple breakpoints then you can click the Resume icon to continue executing your tests and stop at the next breakpoint.

Set Start Point:

If you have a really long test and it’s failing towards the end, then you can set a custom start point so that you don’t have to run the entire test when you’re investigating the failure. For example, your test might register a new user, log in, and then fail on the welcome page. You could simply navigate to the welcome page yourself and set your test to start from there. To set a start point simply right click on the first command you want Selenium IDE to execute and click ‘Set / Clear Start Point’. You will see a small play icon appear to the left of your command.

There are many ways that Selenium IDE can assist you in investigating failures and debugging your tests.