예제 #1
0
 internal PaypalOperationsPage getOperationsForPeriod(string dateFrom, string dateTo)
 {
     CustomMethods.WaitUntilElementExists(this.dateFromTxt, 10);
     dateFromTxt.Clear();
     dateFromTxt.SendKeys(dateFrom);
     dateToTxt.Clear();
     dateToTxt.SendKeys(dateTo);
     showBtn.Click();
     return(new PaypalOperationsPage());
 }
 internal PaypalActivityPage enterToActivity()
 {
     CustomMethods.WaitUntilElementExists(this.transactionButton, 10);
     transactionButton.Click();
     return(new PaypalActivityPage());
 }
 internal PaypalCabinetPage enterToMyCabinet()
 {
     CustomMethods.WaitUntilElementExists(this.myPaypalButton, 10);
     myPaypalButton.Click();
     return(new PaypalCabinetPage());
 }
 internal PaypalProfilePage enterBackToProfile()
 {
     CustomMethods.WaitUntilElementExists(this.backLink, 10);
     backLink.Click();
     return(new PaypalProfilePage());
 }
 internal CabinetPhoneChangeFirstPage enterToPhoneEdit()
 {
     CustomMethods.WaitUntilElementExists(this.editButton, 10);
     editButton.Click();
     return(new CabinetPhoneChangeFirstPage());
 }
 internal CabinetPhoneChangePage enterToChangePhone()
 {
     CustomMethods.WaitUntilElementExists(this.phoneUpdateButton, 10);
     phoneUpdateButton.Click();
     return(new CabinetPhoneChangePage());
 }
 internal CabinetAddressChangePage enterToChangeAddress()
 {
     CustomMethods.WaitUntilElementExists(this.addressUpdateButton, 10);
     addressUpdateButton.Click();
     return(new CabinetAddressChangePage());
 }