Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Tester approach:</p> <ul> <li>Make your test to be runnable as independent <code>.jar</code> file. Which means the test will not be actually a <code>@Test</code> but some method or piece of code inside <code>main</code> method</li> <li><em>Pro tip</em>: If you can, run the nodes against the same hub. This can be done if the computers are in same network and you can access these computers. </li> <li>If this can be done, you will just run the <code>.jar</code> file twice, telling it where the huib is, and nodes will be assigned automatically</li> <li>If this cannot be done, you will have to deploy these <code>.jar</code> files on each computer (node) and run them (requires two people in most cases)</li> </ul> <p>Example:</p> <p>My own computer has IP <code>10.131.7.11</code> inside local network. So I will run the <strong>hub</strong> and each node will just do this:</p> <pre><code>java -jar selenium-server-standalone-2.32.0.jar -role webdriver -hub http://10.131.7.11:4444/grid/register -port 7575 -browser browserName=firefox,version=18,platform=WINDOWS </code></pre> <p>Once the nodes are running, I will run the test twice. The hub will then automatically assign browsers to concrete node.</p> <p>Developer approach:</p> <ul> <li>you can use multithreading and run the test once, in two threads.</li> </ul> <p>But since I am tester, I use the first approach :) And I did communicate with our developers who helped me to create multithreading test suite which is idiot proof (tested on myself :) )</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload