Ejemplo n.º 1
0
        public LoginPageObject()
        {
            _companyName = new TextInputBoxObject(companyLabel, TestConfig.Company);
            _userName    = new TextInputBoxObject(usernameLabel, TestConfig.Username);
            _password    = new TextInputBoxObject(passwordLabel, TestConfig.Password);

            Log.Info("Company : " + CompanyName.Value);
            Log.Info("Username: " + UserName.Value);
        }
Ejemplo n.º 2
0
 public LoginPageObject(string newCompanyName, string newUserName, string newPassword)
 {
     _companyName = new TextInputBoxObject(companyLabel, newCompanyName);
     _userName    = new TextInputBoxObject(usernameLabel, newUserName);
     _password    = new TextInputBoxObject(passwordLabel, newPassword);
 }