Forum Discussion

vex's avatar
vex
Contributor
13 years ago

SetFocus documentation incorrect?

I've got a test that I've just finished and have run flawlessly on my Win 7 64 box.  I've now taken it to my Windows XP box, and I'm running into one problem -- the test seems to run fine, but SetFocus causes TestExecute on my XP box to fail with "The Window could not get focus".



The documentation here http://smartbear.com/support/viewarticle/14774/ states...



"This action moves the input focus to the given object. If the object cannot obtain the input focus, the method does nothing."



Thats not true, as it causes an error and my test aborts.  For now, I've disabled that operation without consequence, but I'd prefer it be there.