Just create new project, TestMethods are under GeneralTest.cs while the codes or public methods are under General.cs.
General.cs contains
public void LoadBrowser()
{
Manager.LaunchNewBrowser(BrowserType.InternetExplorer); //Error on this line
}
GeneralTest.cs
[TestMethod]
public void LaunchBrowser()
{
General.LoadBrowser();
}
Running the application return object reference not set to an instace of an object.
Am i missing some reference
Please guide solving my first problem.. thank you
General.cs contains
public void LoadBrowser()
{
Manager.LaunchNewBrowser(BrowserType.InternetExplorer); //Error on this line
}
GeneralTest.cs
[TestMethod]
public void LaunchBrowser()
{
General.LoadBrowser();
}
Running the application return object reference not set to an instace of an object.
Am i missing some reference
Please guide solving my first problem.. thank you