Exemplo n.º 1
0
        public static int Main(string[] args)
        {
            PrerequisiteChecker.WriteErrorToConsoleIfNotAvailable();
            AssemblyLoader.Initialize();

            RanorexInit();

            return(MainInvoker.Invoke(Assembly.GetExecutingAssembly(), "", args));
        }
        public static int Main(string[] args)
        {
            try
            {
                AssemblyLoader.Initialize();

                RanorexInit();

                return(MainInvoker.Invoke(Assembly.GetExecutingAssembly(), "", args));
            }
            catch (Exception exc)
            {
                Console.WriteLine(exc.ToString());
                return(PrerequisiteChecker.HandleTestExecutableMainException(exc));
            }
        }