There is an undocumented way to select a node in a grid to test your
application. You can use the "applicationName" capability to do this.
Currently, there is no way for Selenium to diference between 32 and
64 bits version of a given OS. So if you want to test with a specific
version you could setup the nodes as:
NODE1:
java -jar selenium-server-standalone-2.20.0.jar -role node -hub
http://HUB_IP:4444/grid/register -browser
browserName=firefox,version=11,maxInstances=1,platform=WINDOWS,applicationName=windows7_32bits_firefox_11
NODE2:
java -jar selenium-server-standalone-2.20.0.jar -role node -hub
http://HUB_IP:4444/grid/register -browser
browserName=firefox,version=11,maxInstances=1,platform=WINDOWS,applicationName=windows7_64bits_firefox_11
In your tests you have to add
"applicationName=windows7_32bits_firefox_11" to your desired
capabilities array.
You can see the source code at:
http://code.google.com/p/selenium/source/browse/trunk/java/server/src/org/openqa/grid/internal/utils/DefaultCapabilityMatcher.java
public DefaultCapabilityMatcher() {
toConsider.add(CapabilityType.PLATFORM);
toConsider.add(CapabilityType.BROWSER_NAME);
toConsider.add(CapabilityType.VERSION);
toConsider.add("applicationName");
}
BTW, it would be nice that someone adds this information to Grid2 wiki
page.