'Unable to match any windows with the query terms' is BP telling you 'there is nothing in the application that matches your element'. Somehow your 'design time' element is not matching the application at 'run time', either because of a difference in attributes, or maybe the element is not there at all.