问题
I am having an issue when using Microsoft.VisualStudio.TestTools.UITesting.Mouse
. When I used as follow it gives me an exception saying "Object reference not set to an instance of an object".
Code
Microsoft.VisualStudio.TestTools.UITesting.Mouse.Click();
I think I may have missed something. Can any body please provide me some good examples on this topic. Also please correct with my error code.
来源:https://stackoverflow.com/questions/13701227/vs-2010-mouse-automation