示例#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);
        }
示例#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);
 }