Skip to content

Commit

Permalink
Website: New FAQ entry on running multiple IEs
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.openqa.org/svn/selenium-grid/trunk@358 22590ab4-ef3b-0410-9bef-a9f5a1089f47
  • Loading branch information
ph7 committed Aug 18, 2008
1 parent 6e64bfc commit 5ccaf15
Showing 1 changed file with 48 additions and 45 deletions.
93 changes: 48 additions & 45 deletions doc/website/faq.markdown
Expand Up @@ -11,9 +11,6 @@ Table Of Content:
* This will become a table of contents (this text will be scraped). * This will become a table of contents (this text will be scraped).
{:toc} {:toc}


Installation
============

General General
======= =======


Expand Down Expand Up @@ -172,19 +169,6 @@ Launching the Hub and the Remote Controls
[build your own Selenium Grid distribution from source](http://selenium-grid.openqa.org/build_it_from_source.html) [build your own Selenium Grid distribution from source](http://selenium-grid.openqa.org/build_it_from_source.html)
as the fix in already checked-in in the codebase. as the fix in already checked-in in the codebase.


Configuring the Demo
====================

How to setup the EC2 account for Amazon Web Services
----------------------------------------------------

How to deploy the demo to the Amazon Web Services
-------------------------------------------------

How to run the demo in the EC2 enviroment
-----------------------------------------


Running the Examples Included in Selenium Grid Distribution Running the Examples Included in Selenium Grid Distribution
=========================================================== ===========================================================


Expand Down Expand Up @@ -213,24 +197,6 @@ Running the Examples Included in Selenium Grid Distribution
4. Launch the tests with: `rake tests:run_in_parallel` 4. Launch the tests with: `rake tests:run_in_parallel`




HTTPS
-----

> We have a client where application is built on HTTPS. We tried testing using selenium but its not supporting.
>
> Can you please suggest us the approach to be followed to test HTTPS URL’s.
http://blog.thirstybear.co.uk/2008/05/selenium-and-https.html

However, in some cases, you may be required to test more than one domain at
once. The most common case is when you need to test both http://blah.com and
https://blah.com. "http:" and "https:" are considered different "origins" from
JavaScript perspective, so tests running on one can't run on the other. In
that case, for now, you'll have to use one of our experimental browser
launchers which support running in multiple domains. (Also be sure to read the
HTTPS section of this documentation for more details about HTTPS support.)


Running Your Tests Against Selenium Grid Running Your Tests Against Selenium Grid
======================================== ========================================


Expand Down Expand Up @@ -360,25 +326,62 @@ I have some test cases and I want to run them against Selenium Grid, what do I n
which [include HTML capture and OS screenshots when a test which [include HTML capture and OS screenshots when a test
fail](http://ph7spot.com/examples/rspec_report/index.html). fail](http://ph7spot.com/examples/rspec_report/index.html).


My test cases are in HTML (Selense), how can I run those against Selenium Grid ? My test cases are in HTML (Selenese), how can I run those against Selenium Grid ?
------------------------------------------------------------------ ------------------------------------------------------------------

You would need a parallel test runner for Selenium Grid.

I might eventually end up working on such a parallel test runner for HTML
test suites, nevertheless my time is limited and this feature is quite low
in my priority list: in my experience HTML test suites are a nightmare
to maintain you are better off writing and refactoring real code by the time
your test suite grows big enough that it takes too long to run.

This said, there might be hope as some guys seem to be working on it though: see
[this thread](http://clearspace.openqa.org/thread/11482)

My test is not working when I use HTTPS!
----------------------------------------

> We have a client where application is built on HTTPS. We tried testing using selenium but its not supporting.
>
> Can you please suggest us the approach to be followed to test HTTPS URL’s.
http://blog.thirstybear.co.uk/2008/05/selenium-and-https.html

However, in some cases, you may be required to test more than one domain at
once. The most common case is when you need to test both http://blah.com and
https://blah.com. "http:" and "https:" are considered different "origins" from
JavaScript perspective, so tests running on one can't run on the other. In
that case, for now, you'll have to use one of our experimental browser
launchers which support running in multiple domains. (Also be sure to read the
HTTPS section of this documentation for more details about HTTPS support.)

I get some strange errors when I run multiple Internet Explorer instances on the same machine
---------------------------------------------------------------------------------------------

Selenium Grid does not officially support running multiple Internet
Explorer on a _single_ Windows machine. This is mostly because:


You would need a parallel test runner for Selenium Grid. * People who know IE better than I do (Dan Fabulich) tell me that if
you run 2 browsers as the same user in HTA mode they end up sharing a
singleton instance in memory, which could cause problems.


I might eventually end up working on such a parallel test runner for HTML * The `*iexplore mode` is changing the registry settings at each
test suites, nevertheless my time is limited and this feature is quite low session start/end to have IE use a specific Remote Control as HTTP
in my priority list: in my experience HTML test suites are a nightmare proxy. If you run multiple Remote Controls at the same time you can
to maintain you are better off writing and refactoring real code by the time see the problems coming! ;-)
your test suite grows big enough that it takes too long to run.


This said, there might be hope as some guys seem to be working on it though: see **Currently, the only robust solution for running multiple IE instances
[this thread](http://clearspace.openqa.org/thread/11482) with Selenium Grid is to use virtualization.**


This said, I am not satisfied wit the current state of affairs and I
am currently working on better support for IE in Selenium Grid 1.2.


Analysing Failures Analysing Failures
================== ==================


When we test the applicaiton with Selenium Grid, we get nondeterministic results When we test the application with Selenium Grid, we get nondeterministic results
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------


> Locally, when we test the application with Selenium Grid, we get > Locally, when we test the application with Selenium Grid, we get
Expand Down

0 comments on commit 5ccaf15

Please sign in to comment.