Friday, 2 December 2011

Selenium disable add-ons pop-up for Custom firefox profile

Here is the way to disable add-ons window which appears every time when selenium scripts are run on Custom Firefox Profile.

Close all instances of Firefox browser and delete the following files from the Custom Profile folder, this should reset Extension Manager and disable add-ons pop-up:
  • extensions.cache
  • extensions.ini
  • extensions.rdf
  • compatibility.ini
This Add-ons pop-up will not displayed the next time you run selenium scripts.

To find the Firefox profile,  type in cmd run prompt "%APPDATA%\Mozilla\Firefox\Profiles\"  press enter

Thursday, 1 December 2011

Tips to Decide What Test Cases to Automate

It is impossible to automate all testing; the first step to successful automation is to determine what test cases should be automated first.

The benefit of automated testing is correlated with how many times a given test can be repeated. Tests that are only performed a few times are better left for manual testing. Good test cases for automation are those that are run frequently and require large amounts of data to perform the same action.

You can get the most benefit out of your automated testing efforts by automating:

  •       Repetitive tests that run for multiple builds
  •    Tests that are highly subject to human error
  •      Tests that require multiple data sets
  •        Frequently-used functionality that introduces high risk conditions
  •        Tests that run on several different hardware or software platforms and configurations
  •        Tests that take a lot of effort and time when doing manual testing

Which one is right ?