Forum Discussion
levi_bryant
11 years agoContributor
I found the answer to my problem. I'm not sure if my fix will help anyone but it is worth a shot. It turns out that every time I was seeing this problem it was immediately following a search for the particular item that caused the problem. I found that when I ran a search in VisualStudio for a particular item, intermittently the search would cause TC to lose focus on the item it wanted to select. By removing search from my tests I was able to eliminate this problem. I imagine most of you are not even searching and still getting this issue. I think the point is not the search but rather something you are doing is intermittently taking focus and not giving it back. For me it was the search option in the application i'm testing. In my case delays and waits and finds did not cure my issue. I had to find out what item in my workflow was not letting go of focus and then removing that item from my workflow. I think the actual item causing the problem was a little popup tooltip that would list my previous search words in an attempt to help me autocomplete my search word. Sometimes that tooltip would disappear and allow my test to continue and other times it would remain and that caused the rectangle issue due to some focus problem.
Related Content
Recent Discussions
- 2 days agoMW_Didata