public void GivenNoExisteElUsuarioMovil()

        {
            CommonQuery.DBSelectAValue("SELECT * FROM  AFW_USERS WHERE user_nick_name = '" + user_nickname + "';", 0);
        }
        public void WhenSeleccionoTipoDeTransporteDeUsuarioMovil()
        {
            string Vehicle = CommonQuery.DBSelectAValue("SELECT TOP 1 vehi_name FROM AFLS_VEHICLE_TYPE ORDER BY NEWID();", 1);

            CommonElementsAction.ClickAndSelect_DropDownList("XPath", MobileUsersPage.MobileUserTransport, Vehicle, "label");
        }
Esempio n. 3
0
 public void ThenSeRegistraEnBaseDeDatosElUsuarioConSesionActivaEnLaTablaAFW_USER_SESSION_TOKEN()
 {
     user_id = CommonQuery.DBSelectAValue("SELECT user_id FROM AFW_USERS WHERE user_nick_name = 'administrator';", 1);
     CommonQuery.DBSelectAValue("SELECT * FROM AFW_USER_SESSION_TOKEN WHERE id = " + user_id + ";", 1);
 }
Esempio n. 4
0
 public void ThenSeEliminaElRegistroDeSesionDeUsuarioDeLaTablaAFW_USER_SESSION_TOKEN()
 {
     CommonQuery.DBSelectAValue("SELECT * FROM AFW_USER_SESSION_TOKEN WHERE id = " + user_id + ";", 0);
 }
Esempio n. 5
0
 public void GivenTengoUsuarioAdministrador()
 {
     user_nickname = CommonQuery.DBSelectAValue("SELECT user_nick_name FROM AFW_USERS WHERE user_nick_name = 'administrator';", 1);
 }