Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

First of all - sorry if it's something well-known amongst testers, I'm not a tester at all but for now I must perform some kind of tests.

We have a distributed software layer distributed across different regions. Thus, we have to test how it works on different IPs (countries), and to check how it returns cookies and even images (just a country flag).

We don't need headless solutions such as phantomjs - in fact, that's just a simple thing and it's enough to test it manually (in other words - nobody gave us resources for writing normal tests).

We can use proxies to emulate different IPs.

How to run multiple browsers on a single machine? Each browser must be isolated from the others - that means, no shared cookies, cache, passwords or anything else. Also, at the same time, each browser must have unique proxy settings.

Firefox, Chrome, Opera or anything else - doesn't matter.

This should be executed on a linux OS (Ubuntu or Debian preferable).

P.S. Multiple virtual machines seem to be an overkill in this situation.

Thank you!

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

You can install multiplecinstances of Mozilla on Linux if you do the install manuakky (don.t use apt-get it will complain).

  1. Download and unpack the tarball
  2. Create a new firefox profile

    firefox -CreateProfile "firefox-9.0.1 /home/bob/.mozilla/firefox/firefox-9.0.1"

  3. Launch firefox from CLI where you can specify profiles.

    /home/bob/firefox-9.0.1/firefox -P firefox-9.0.1

Note: You may be able to use one FF install with different profiles to achieve your objective but I'm not certain as I've not tried.

share|improve this answer
    
thanks - but will it isolate their caches as well? just want to make it clear –  Spaceman Feb 28 at 11:40
    
@Spaceman - it should isolate the caches as these are generally stored with the profile rather than with the application. If each install has a separate application directory, the caches will definitely be isolated. –  Kate Paulk Feb 28 at 12:56
    
ok thanks guys, I'll try –  Spaceman Feb 28 at 13:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.