public void FillInfo(ClientInfo clientInfo) { FirstName.SendKeys(clientInfo.FirstName); LastName.SendKeys(clientInfo.LastName); Username.SendKeys(clientInfo.Username); Email.SendKeys(clientInfo.Email); Address1.SendKeys(clientInfo.Address1); Address2.SendKeys(clientInfo.Address2); Country.SelectByIndex(clientInfo.Country); State.SelectByIndex(clientInfo.State); Zip.SendKeys(clientInfo.Zip); CardName.SendKeys(clientInfo.CardName); CardNumber.SendKeys(clientInfo.CardNumber); CardExpiration.SendKeys(clientInfo.CardExpiration); CardCVV.SendKeys(clientInfo.CardCVV); ClickSubmitButton(); }