Example #1
0
 public static API_IE_TBot page_Login(this API_IE_TBot tBot, string loginReferer)
 {
     tBot.open_Page(loginReferer.valid()
                         ? "login?LoginReferer={0}".format(loginReferer)
                         : "login");
     return(tBot);
 }
        public TestFixture_TBot()
        {
            Assert.Ignore("Disable IE tests");
            TmQAConfig = new TM_QA_Config_Loader().load();
            if (TmQAConfig.serverOffline())
            {
                Assert.Ignore("[TestFixture_WebServices]TM server is offline: {0}".info(WebSite_Url));
            }

            tbot = new API_IE_TBot
            {
                TargetServer = TmQAConfig.Url_Target_TM_Site
            };
            ie = tbot.ie;
        }
Example #3
0
 public static API_IE_TBot assert_Admin(this API_IE_TBot tBot)
 {
     return(null);
 }
Example #4
0
 public static API_IE_TBot login_As_Admin(this API_IE_TBot tBot)
 {
     tBot.open_Page("rest/login/{0}/{1}".format(Tests_Consts.DEFAULT_ADMIN_USERNAME,
                                                Tests_Consts.DEFAULT_ADMIN_PASSWORD));
     return(tBot);
 }
Example #5
0
 public static API_IE_TBot page_Login(this API_IE_TBot tBot)
 {
     return(tBot.page_Login(""));
 }