// Remove Timeoff 2h + All Day public void Remove_Timeoff(string date, string title) { Calendar_datetime_picker.SendKeys(Keys.Control + "a"); Calendar_datetime_picker.SendKeys(Keys.Delete); SetMethods.EnterText(Calendar_datetime_picker, date); Driver.Wait(TimeSpan.FromSeconds(3)); SetMethods.Click(Weekly); Driver.Wait(TimeSpan.FromSeconds(3)); SetMethods.Click(event_title_timeoff); SetMethods.Click(Remove_button); }
public void AddCPT() { SetMethods.GetRandomNumber(CPT_Code); SetMethods.EnterText(CPT_Description, "aa"); CPT_Price.Clear(); SetMethods.GetRandomNumber(CPT_Price); SetMethods.EnterText(CPT_Modifier_A, "g"); SetMethods.EnterText(CPT_Modifier_B, "hh"); SetMethods.EnterText(CPT_Modifier_C, "jj"); SetMethods.EnterText(CPT_Modifier_D, "kkk"); SetMethods.Click(CPT_Save); }
public void EditCPT() { SetMethods.Click(CPT_Edit); Driver.Wait(TimeSpan.FromSeconds(1)); SetMethods.GetRandomNumber(CPT_Code); SetMethods.EnterText(CPT_Description, "aa"); CPT_Price.Clear(); SetMethods.GetRandomNumber(CPT_Price); SetMethods.EnterText(CPT_Modifier_A, "g"); SetMethods.EnterText(CPT_Modifier_B, "hh"); SetMethods.EnterText(CPT_Modifier_C, "jj"); SetMethods.EnterText(CPT_Modifier_D, "kkk"); SetMethods.Click(CPT_Save); }
public void Fax_(string fax) { SetMethods.EnterText(Fax, fax); }
public void Contact_WebsiteAddress(string website) { SetMethods.EnterText(Websiteaddress, website); }
public void AfterNumberOfOccuresces(string numberofOccuresces) { try { SetMethods.EnterText(Number_Occuresces, numberofOccuresces); test.Log(LogStatus.Pass, " After Number of Occurences is added"); } catch (Exception e) { test.Log(LogStatus.Fail, " After Number of Occurences is not added", e); } }
public void Timeofftitle(string title) { try { SetMethods.EnterText(title_timeoff, title); test.Log(LogStatus.Pass, "Timeoff Title is added"); } catch (Exception e) { test.Log(LogStatus.Fail, "Timeoff Title is not added", e); } }
public void Appointment_PractitionerNotes(string PractitionerNotes) { try { SetMethods.EnterText(practitionerNotes, PractitionerNotes); test.Log(LogStatus.Pass, "Appointment Practitioner Notes is added"); } catch (Exception e) { test.Log(LogStatus.Fail, "Appointment Practitioner Notes is not added", e); } }
public void PatientSecondaryPhone(string secondaryphone) { try { SetMethods.EnterText(SecondaryPhone, secondaryphone); test.Log(LogStatus.Pass, "Secondary Phone is added"); } catch (Exception e) { test.Log(LogStatus.Fail, "Secondary Phone is not added", e); } }
public void PatientEmail(string email) { try { SetMethods.EnterText(EmailAddress, email); test.Log(LogStatus.Pass, "Email is added"); } catch (Exception e) { test.Log(LogStatus.Fail, "Email is not added", e); } }
public void Practice_Name(string practiceName) { SetMethods.EnterText(PracticeName, practiceName); }
//Search by table data public void search_using_table_ascending(string key) { SetMethods.EnterText(txtsearch, key); //SetMethods.Selectddl(ddlnamesort, "Sort A-Z"); SetMethods.Click(imgsearch); }
//Search Name in text box Display Descending public void fill_display_descending(string pName) { SetMethods.EnterText(txtsearch, pName); SetMethods.Selectddl(ddlnamesort, "Sort Z-A"); SetMethods.Click(imgsearch); }
public void Room_Description(string description) { SetMethods.EnterText(RoomDescription, description); }
public void Room_Name(string roomName) { SetMethods.EnterText(RoomName, roomName); }
public void FacilityNPI(string facilityNumber) { SetMethods.Click(UseFacilityNumber); SetMethods.EnterText(FacilityNumber, facilityNumber); }
public void Billing_Provider(string OA) { SetMethods.EnterText(BillingProviderOA, OA); }
public void Primary_email(string email) { SetMethods.EnterText(Primary_email_address, email); }
public void Primary_Website_Address(string websiteAddress) { SetMethods.EnterText(Primary_website_address, websiteAddress); }
public void Owner(string Owner) { SetMethods.EnterText(Owner_Manager, Owner); }
public void PatientPrimaryPhone(string primaryphone) { try { SetMethods.EnterText(PrimaryPhone, primaryphone); test.Log(LogStatus.Pass, "Primary Phone is added"); } catch (Exception e) { test.Log(LogStatus.Fail, "Primary Phone is not added", e); } }
public void Address(string streetaddress) { SetMethods.EnterText(Street_adress, streetaddress); }
public void Appointment_Complaint(string Complaint) { try { SetMethods.EnterText(appointmentComplaint, Complaint); test.Log(LogStatus.Pass, "Appointment Complaints is added"); } catch (Exception e) { test.Log(LogStatus.Fail, "Appointment Complaints is not added", e); } }
public void AddressLine2(string streetaddress2) { SetMethods.EnterText(Street_adress_line2, streetaddress2); }
//Select existing patient public void Search_Existing_Patient(string existingPatient) { SetMethods.EnterText(Existing_Patient_Search, existingPatient); Driver.Wait(TimeSpan.FromSeconds(2)); FirstPatientfromList(); }
public void City_(string city) { SetMethods.EnterText(City, city); }
public void TimeoffDetails(string details) { try { SetMethods.EnterText(details_timeoff, details); test.Log(LogStatus.Pass, "Timeoff Details is added"); } catch (Exception e) { test.Log(LogStatus.Fail, "Timeoff Details is not added", e); } }
public void Phonse_(string phone) { SetMethods.EnterText(Phone, phone); }
public void ZipCode(string zipcode) { SetMethods.EnterText(Zip_Code, zipcode); }
public void Contact_Emailaddress(string email) { SetMethods.EnterText(Emailaddress, email); }