Пример #1
0
        public void TestMethod1()
        {
            TestStuffLib.TestStuffTransaction TST =
                new TestStuffTransaction(TestStuffLib.TestStuffLib.LoginUser.SQAAUTO);

            TestStuffLib.TestStuffLib TSL = new TestStuffLib.TestStuffLib();
        }
Пример #2
0
        internal string getBrowsertestStepID(TestStuffLib.TestStepBrowserType Browsertest)
        {
            string rc = "";
            if (Browsertest != TestStuffLib.TestStepBrowserType.NONE)
                rc = Browsertest.ToString();

            return rc;
        }
Пример #3
0
        public Transaction(TestStuffLib.LoginUser login)
        {
            if (login == TestStuffLib.LoginUser.KEITH)//admin
            {
                this.username = "******";
                this.password = "******";
            }
            else if (login == TestStuffLib.LoginUser.SQAAUTO)//test runner only
            {
                this.username = "******";
                this.password = "******";
            }
            else if (login == TestStuffLib.LoginUser.NONE)//custom login
            {
                this.username = "";
                this.password = "";
            }
            else
            {
                this.username = "";
                this.password = "";
            }

            this.url = "https://service2.testuff.com/api/v0/run/";
            this.Browsertest = TestStuffLib.TestStepBrowserType.NONE;
        }