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

Missing Methods in Manager Class

1 Answer 56 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Leondria
Top achievements
Rank 1
Leondria asked on 06 Nov 2014, 08:31 PM
Hi everyone.

I installed and referenced ArtOfTest imports to use the Manager Class. The class appears to be connected  to my code but non of the methods, like 'LaunchBroswer' appear in the context menu. Also when I type out the whole statement none of the code working. See screen cast http://screencast.com/t/iKs1EE6BYxpV. How do I reference the code to insure that I can use the Manager Class:

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 11 Nov 2014, 12:33 PM
Hi Leondria,

You have two options here:

1. Use the static method of Manager:

Manager.Current.LaunchNewBrowser();

2. Create your own instance of Manager:

Settings settings = new Settings();
settings.Web.DefaultBrowser = BrowserType.InternetExplorer;
Manager myManager = new Manager(settings);
myManager.Start();
myManager.LaunchNewBrowser();

Hope this helps.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Leondria
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or