This is a migrated thread and some comments may be shown as answers.

First TTF Project

1 Answer 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
wilfredo
Top achievements
Rank 1
wilfredo asked on 13 Jun 2011, 12:28 PM
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);
}

GeneralTest.cs

[TestMethod]
public void LaunchBrowser()
{
    General.LoadBrowser();
}

Running the application return object reference not set to an instace of an object.

Please guide solving my first problem.. thank you

1 Answer, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 17 Jun 2011, 12:43 PM
Hi Wilfredo,
    this is the same issue as the one in this thread:
http://www.telerik.com/automated-testing-tools/community/forums/webui-test-studio-developer-edition/webaii-automation-framework/problem-with-my-new-project-can-t-run-test-if-the-code-are-on-the-different-class.aspx

Best wishes,
Stoich
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
wilfredo
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Share this question
or