}
public void verifyDisconnecting()
{
AjaxWebElement el = null;
try
{
el = driver2.findElement(JOZEF_LISTED);
}
catch (NoSuchElementException e)
{
}
assertNull("Jozef should not be listed in second browser window", el);
driver2.findElement(DISCONNECT_BUTTON_DISABLED);
driver.findElement(JOZEF_DISCONNECTED);
AjaxWebElement el2 = null;
try
{
el2 = driver.findElement(JOZEF_LISTED);
}
catch (NoSuchElementException e)
{
}
assertNull("Jozef should not be listed in first browser window", el2);
driver.findElement(DISCONNECT_BUTTON).clickAndWait();
AjaxWebElement el3 = null;
try
{
el3 = driver.findElement(MARTIN_LISTED);
}
catch (NoSuchElementException e)