public Register(IWebDriver Driver)
        {
            driver = Driver;

            _Wait       = new _Wait(driver);
            _Screenshot = new _Screenshot(driver);
            _Write      = new _Write(driver);

            ByFirstName          = By.Id("id_first_name");
            ByLastName           = By.Id("id_last_name");
            ByNickname           = By.Id("id_como_gostaria_de_ser_chamado");
            BySex                = By.Id("id_sexo");
            ByEmail              = By.Id("id_username");
            ByOffice             = By.Id("id_cargo");
            ByPublishingCompany  = By.Id("id_editoria");
            ByCarrier            = By.Id("id_veiculo");
            ByCountry            = By.Id("id_pais");
            ByState              = By.Id("id_estado");
            ByCity               = By.Id("id_cidade");
            ByDDDTelephone       = By.Id("id_telefone_ddd");
            ByTelephone          = By.Id("id_telefone_numero");
            ByDDDCellPhone       = By.Id("id_celular_ddd");
            ByCellPhone          = By.Id("id_celular_numero");
            ByTwitter            = By.Id("id_twitter");
            ByInstagram          = By.Id("id_instagram");
            ByPassword           = By.Id("id_password1");
            ByRepeatPassword     = By.Id("id_password2");
            ByTerm               = By.Id("id_termos");
            ByReceiveInformation = By.Id("id_deseja_receber_releases");
            ByBtnSubmit          = By.XPath("//button[text()='SOLICITAR CADASTRO']");
        }
Exemple #2
0
            internal static _Write Write()
            {
                if (_WriteFunc == null)
                {
                    _WriteFunc =
                        (_Write)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnTaml_write"), typeof(_Write));
                }

                return(_WriteFunc);
            }
Exemple #3
0
            internal static _Write Write()
            {
                if (_WriteFunc == null)
                {
                    _WriteFunc =
                        (_Write)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnSettings_write"), typeof(_Write));
                }

                return(_WriteFunc);
            }