Missing Methods in Manager Class

2 posts, 0 answers
  1. Leondria
    Leondria avatar
    1 posts
    Member since:
    Nov 2014

    Posted 06 Nov 2014 Link to this post

    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:
  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1072 posts

    Posted 11 Nov 2014 Link to this post

    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!
Back to Top