Ejemplo n.º 1
0
 private void UpdateProcess()
 {
     if (this.destination != null)
     {
         InsurancePage.TypeDestination(this.destination);
     }
     if (this.adults != null)
     {
         InsurancePage.SelectAdults(this.adults.Value);
     }
     if (this.adultsAges != null)
     {
         InsurancePage.SelectAdultsAge(this.adultsAges);
     }
     if (this.children != null)
     {
         InsurancePage.SelectChildren(this.children.Value);
     }
     if (this.childrenAges != null)
     {
         InsurancePage.SelectChildrenAges(this.childrenAges);
     }
     if (this.relationship != null)
     {
         InsurancePage.SelectRelationship(this.relationship);
     }
     if (this.startDate != null)
     {
         InsurancePage.SelectStartDate(this.startDate);
     }
     if (this.endDate != null)
     {
         InsurancePage.SelectEndDate(this.endDate);
     }
 }
Ejemplo n.º 2
0
 public void UpdateAndCapture()
 {
     this.UpdateProcess();
     InsurancePage.ClickUpdatePricesAndCapture();
 }
Ejemplo n.º 3
0
 public void Update()
 {
     this.UpdateProcess();
     InsurancePage.ClickUpdatePrices();
 }