TestStack/White — pull request #25 by cbigsby (2012-12-06 19:39:17+00:00)
Title: Added custom wait timeouts for UIItemContainer.Get() and Window.WaitTill().

While automating a project we found that we wanted to find certain UI
elements that were off-screen or hidden. Because of how Get() works we have
to wait until the BusyTimeout had passed before it would return. We also
found that sometimes there were special actions that we knew would take
significantly longer than other actions, but WaitTill() would timeout
before those actions were completed unless we increased the BusyTimeout.

These two scenarios worked against each other, increasing the BusyTimeout
would make one take much longer, and is only needed for a few special cases
while making it shorter would cause some tests to fail. I added another
overload to each of those methods where you can give a custom TimeSpan to
fix this problem.