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);
 }
Example #2
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);
 }