can any body pls help me...while i run the below code...i get the error,"object reference not set to an instance of the object"....what may be the problem...can any one help me...
namespace ClassLibrary15
{
public class Class1
{



[Test]
#region Temporary Recording Code
public static void RecordedTest1()
{

UIAEditBox uiaeditbox0 = Desktop.UIA[@" Business Suite", @"TfrmMain", @"UIAWindow"][@"Login", @"TfrmEverestLogin", @"UIAWindow"][@"UIAPane", 1][@"UIAEditBox", 1] as UIAEditBox;

uiaeditbox0.Click(MouseButtons.Left, new Point(78, 12));
uiaeditbox0.Write("demo{D1}{D2}{D3}");
UIAButton login2 = Desktop.UIA[@" Business Suite", @"TfrmMain", @"UIAWindow"][@"Login", @"TfrmEverestLogin", @"UIAWindow"][@"UIAPane", 0][@"Login", @"TBitBtn", @"UIAButton"] as UIAButton;
// login2 = new login2();
login2.Click(MouseButtons.Left, new Point(42, 18));
UIAPane uiapane3 = Desktop.UIA[@" Business Suite - Back Office - Sample Demo and Training Company", @"TfrmMain", @"UIAWindow"][@"UIAPane", 0][@"UIAPane", 0] as UIAPane;
// uiapane3 = new uiapane3();
uiapane3.Click(MouseButtons.Left, new Point(27, 30));
UIAButton close4 = Desktop.UIA[@" Business Suite - Back Office - Sample Demo and Training Company", @"TfrmMain", @"UIAWindow"][@" Business Suite - Back Office - Sample Demo and Training Company", @"", @"TitleBar"][@"Close", @"", @"Close"] as UIAButton;
// close4 = new close4();
close4.Click(MouseButtons.Left, new Point(12, 4));
UIAButton yes5 = Desktop.UIA[@"Confirm", @"TMessageForm", @"UIAWindow"][@"Yes", @"TButton", @"UIAButton"] as UIAButton;
// yes5 = new yes5();
yes5.Click(MouseButtons.Left, new Point(65, 6));

}
#endregion
}
}