Пример #1
0
 //Go to BasicInfo page
 public bool GoBackToBasicInfoPage()
 {
     //bool result = standard.Back();
     while (standard.Back())
     {
         continue;
     }
     return(true);
 }
Пример #2
0
 //Verifiying if Checkbox is checked
 public bool IsSameAsMailingAddressChecked(string filename, int key)
 {
     try
     {
         ProvideMailingAddress(filename, key);
         ClickSameAsMailingAddress();
         Input.SwitchTextBox(2);
         Input.ClearAll();
         if (VerifyAdditionalInfoField())
         {
             standard.Back();
             return(true);
         }
         else
         {
             return(false);
         }
     }
     catch (Exception)
     {
         Console.WriteLine("Checkbox seems to be checked");
         return(true);
     }
 }