Example #1
0
 public void Run()
 {
     string testswarmUrl = ConfigurationManager.AppSettings["testswarmurl"];
     var browserStack = new BrowserStackIntegration(testswarmUrl, "*****@*****.**", "erichexter");
     var tsc = new TestSwarmClient(browserStack.started, browserStack.finished, testswarmUrl);
     tsc.Start();
     while (true)
     {
         Thread.Sleep(1000);
     }
     tsc.Stop();
 }
Example #2
0
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main()
        {
            //ServiceBase[] ServicesToRun;
            //ServicesToRun = new ServiceBase[]
            //{
            //    new BrowserStackService()
            //};

                  bs = new BrowserStack.BrowserStack("*****@*****.**", "erichexter");
            var tsc = new TestSwarmClient(started, finished);
            tsc.Start();
            while (true)
            {
                Thread.Sleep(1000);
            }
            tsc.Stop();
            //ServiceBase.Run(ServicesToRun);
        }
 protected override void OnStart(string[] args)
 {
     tsc = new TestSwarmClient(null,null);
     tsc.Start();
 }