Exemple #1
0
        public static void Main(string[] args)
        {
            Console.WriteLine("Testing the TestHarnessService.");
            var svc = new TestHarnessService();

            svc.StartService();

            CommMessage msg = new CommMessage(CommMessage.MessageType.Request)
            {
                To      = "http://localhost:8090/", //  String
                Command = CommCommands.EXECTESTCASES,
            };

            msg.Arguments[CommCommands.RepositoryArgs.SESSIONID] = Guid.NewGuid().ToString();
            CommunicationObject obj = new CommunicationObject(null);

            //  Post msg to execute test cases.
            //  Add other parameters.
            obj.PostMessage(msg);
        }
Exemple #2
0
        public static void Main(string[] args)
        {
            TestHarnessService service = new TestHarnessService();

            service.StartService();
        }