CodedUI null reference exception even when object exists
- by Roee
Hi,
I have created a coded ui test that checks something in my software. It worked fine, but now I keep getting null reference exception when I try to interact with the UITestControl. The starnge thing is, that the UITestControl's 'Exist' property returns true, which means that the control had been found.
I've searched and found this topic:
http://social.msdn.microsoft.com/Forums/en/vsautotest/thread/c2e6e5c3-2503-4506-9963-733fd84fbd25,
But I have checked in my project, and the 'Copy Local' propert of these assemblies is set to false.
I think that this execption first occurred after I have added an app.config file to my project. Maybe this might be the problem? If so, how can I fix this without deleting my app.config file?
Thanks!