public void TestMethod1() { TestStuffLib.TestStuffTransaction TST = new TestStuffTransaction(TestStuffLib.TestStuffLib.LoginUser.SQAAUTO); TestStuffLib.TestStuffLib TSL = new TestStuffLib.TestStuffLib(); }
internal string getBrowsertestStepID(TestStuffLib.TestStepBrowserType Browsertest) { string rc = ""; if (Browsertest != TestStuffLib.TestStepBrowserType.NONE) rc = Browsertest.ToString(); return rc; }
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; }