In any web application that has different user levels, it is mandatory to test Admin settings with other features which are integrated with Admin settings.

For Example: Consider that the Admin user has a feature ‘Allow user to subscribe e-mail for documents’.

In this case, the above feature is integrated with an e-mail notification that the user has to receive after subscribing to the particular document.

In order to test this feature, as a tester I will need to first login as admin and after enabling the above setting, logout and re-login as a user. Imagine having 10 such features in your Admin settings!!

It becomes quite difficult for you to login, logout, re-login………………….etc. We can avoid this by using an option ‘New session’ in IE8. But this option is not easily available in Mozilla. That can be achieved by following the below steps.

Opening different sessions in Mozilla Firefox

Note: Please take a back up of all the Bookmarks in a separate notepad file because this may erase all your current browser settings and bookmarks.

  • Go to ‘Start > Run’ and run the command: firefox.exe -no-remote –P
  • Create required number of profiles; each profile acts as different session.
  • To launch the application in a different session, go to ‘Start > Run’ and run the command: firefox.exe -no-remote -P
  • A pop up window opens with profiles created.
  • Choose the 1st one and launch the application.
  • To open a new session, again go to ‘Start > Run’ and run the command: firefox.exe -no-remote -P
  • A pop up window opens with profiles created.
  • Choose the 2nd profile and launch the application.
  • Application launches with new session.
  • Tester has to login as Admin user to apply the changes to user ‘A’. Click on ‘Start Menu > Run’, run the command firefox.exe -no-remote –P and select the user profile you created. Login as user ‘A’ and verify the applied changes.

I hope this helps reduce testing time.