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); }
public LoginPageObject(string newCompanyName, string newUserName, string newPassword) { _companyName = new TextInputBoxObject(companyLabel, newCompanyName); _userName = new TextInputBoxObject(usernameLabel, newUserName); _password = new TextInputBoxObject(passwordLabel, newPassword); }