logger.info("testPressButton(), Location button to test " + location);
if (theButtons != null && theButtons.size() > 0) {
boolean found = false;
Iterator<SimpleButton> it = theButtons.iterator();
while (it.hasNext() && !found) {
SimpleButton btn = it.next();
if (btn.getLocation().equals(location)) {
logger.debug("testPressButton(), found button to test");
found = true;
btn.pressButton();
}
}
}
}