Exemplo n.º 1
0
        public void Start()
        {
            TempReader temp = new TempReader().ReadContent();
            this.TestContext.WriteLine("Current Test Case ID: {0}", temp.TcID);
            this.TestContext.WriteLine("Current Test Case Folder: {0}", temp.TcFolder);

            string xmlpath = temp.TcFolder.Substring(temp.TcFolder.Length - 2) == "\\" ? temp.TcFolder + "DataTable.xml" : temp.TcFolder + "\\DataTable.xml";
            TestScript ts = new TestScript(temp.TcID, xmlpath, this.TestContext);
            ts.Execute();
        }
Exemplo n.º 2
0
        public void Start()
        {
            TempReader temp = new TempReader().ReadContent();

            this.TestContext.WriteLine("Current Test Case ID: {0}", temp.TcID);
            this.TestContext.WriteLine("Current Test Case Folder: {0}", temp.TcFolder);

            string     xmlpath = temp.TcFolder.Substring(temp.TcFolder.Length - 2) == "\\" ? temp.TcFolder + "DataTable.xml" : temp.TcFolder + "\\DataTable.xml";
            TestScript ts      = new TestScript(temp.TcID, xmlpath, this.TestContext);

            ts.Execute();
        }