| 126 | } |
| 127 | |
| 128 | int Alert::SetUserName(const std::string& username) { |
| 129 | LOG(TRACE) << "Entering Alert::SetUserName"; |
| 130 | // If this isn't a security alert, return an error. |
| 131 | if (!this->is_security_alert_) { |
| 132 | return EUNEXPECTEDALERTOPEN; |
| 133 | } |
| 134 | return this->SendKeys(username); |
| 135 | } |
| 136 | |
| 137 | int Alert::SetPassword(const std::string& password) { |
| 138 | LOG(TRACE) << "Entering Alert::SetPassword"; |
no test coverage detected