Example #1
0
 // 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);
 }
Example #2
0
 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);
 }
Example #3
0
 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);
 }
Example #4
0
 public void Fax_(string fax)
 {
     SetMethods.EnterText(Fax, fax);
 }
Example #5
0
 public void Contact_WebsiteAddress(string website)
 {
     SetMethods.EnterText(Websiteaddress, website);
 }
Example #6
0
 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); }
 }
Example #7
0
 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); }
 }
Example #8
0
 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); }
 }
Example #9
0
 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); }
 }
Example #10
0
 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); }
 }
Example #11
0
 public void Practice_Name(string practiceName)
 {
     SetMethods.EnterText(PracticeName, practiceName);
 }
Example #12
0
 //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);
 }
Example #13
0
 //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);
 }
Example #14
0
 public void Room_Description(string description)
 {
     SetMethods.EnterText(RoomDescription, description);
 }
Example #15
0
 public void Room_Name(string roomName)
 {
     SetMethods.EnterText(RoomName, roomName);
 }
Example #16
0
 public void FacilityNPI(string facilityNumber)
 {
     SetMethods.Click(UseFacilityNumber);
     SetMethods.EnterText(FacilityNumber, facilityNumber);
 }
Example #17
0
 public void Billing_Provider(string OA)
 {
     SetMethods.EnterText(BillingProviderOA, OA);
 }
Example #18
0
 public void Primary_email(string email)
 {
     SetMethods.EnterText(Primary_email_address, email);
 }
Example #19
0
 public void Primary_Website_Address(string websiteAddress)
 {
     SetMethods.EnterText(Primary_website_address, websiteAddress);
 }
Example #20
0
 public void Owner(string Owner)
 {
     SetMethods.EnterText(Owner_Manager, Owner);
 }
Example #21
0
 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); }
 }
Example #22
0
 public void Address(string streetaddress)
 {
     SetMethods.EnterText(Street_adress, streetaddress);
 }
Example #23
0
 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); }
 }
Example #24
0
 public void AddressLine2(string streetaddress2)
 {
     SetMethods.EnterText(Street_adress_line2, streetaddress2);
 }
Example #25
0
 //Select existing patient
 public void Search_Existing_Patient(string existingPatient)
 {
     SetMethods.EnterText(Existing_Patient_Search, existingPatient);
     Driver.Wait(TimeSpan.FromSeconds(2));
     FirstPatientfromList();
 }
Example #26
0
 public void City_(string city)
 {
     SetMethods.EnterText(City, city);
 }
Example #27
0
 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); }
 }
Example #28
0
 public void Phonse_(string phone)
 {
     SetMethods.EnterText(Phone, phone);
 }
Example #29
0
 public void ZipCode(string zipcode)
 {
     SetMethods.EnterText(Zip_Code, zipcode);
 }
Example #30
0
 public void Contact_Emailaddress(string email)
 {
     SetMethods.EnterText(Emailaddress, email);
 }