예제 #1
0
        // [Test]
        public void ObTest()
        {
            ExecutionManager em     = new ExecutionManager();
            bool             result = em.ExecuteOneBatch("5");

            Assert.AreEqual(true, result);
        }
예제 #2
0
        public void ObRegression()
        {
            var adapterTestresult   = new TestResultsTableAdapter();
            int runExecutionId      = Convert.ToInt32(adapterTestresult.LastRunExecutionID()) + 1;
            ExecutionManager em     = new ExecutionManager(runExecutionId);
            bool             result = em.ExecuteOneBatch(ConfigurationManager.AppSettings["BatchToExecute"]);

            Assert.AreEqual(true, result, "The Gui Automation failed , please check Applenium log and snapshots on build machine");
        }