![]() ![]() Public boolean verifyServiceType(String serviceType) Public void deleteServiceTypeFunc() throws InterruptedExceptionīoolean result = deleteServiceType("Oncology") ĭriver.findElement(By.id("appointmentschedulingui-homeAppLink-appointmentschedulingui-homeAppLink-extension")).click() ĭriver.findElement(By.id("appointmentschedulingui-manageAppointmentTypes-app")).click() ĭriver.findElement(By.id("username")).sendKeys("Admin") ĭriver.findElement(By.id("password")).sendKeys("Admin123") ĭriver.findElement(By.id("Inpatient Ward")).click() ĭriver.findElement(By.id("loginButton")).click() WebDriver driver void instantiateDriver()ĭriver = new Verify the Service Type available in the html table")īoolean result = Delete the Service Type and Verify the ServiceType is not available in the html table") Verify the Service Type is not available in the HTML Table Click on Delete icon to perform deletion of Service Type.Ħ. Access the url and enter Admin/Admin123 as credentialsĥ. verify the Service Type ‘Urology’ available in the html table.ĭelete the Service Type from the HTML Table and Verify the Service Type is not available in the HTML Tableġ. Navigate to Appointment Scheduling->Manage Service Types.ĥ. Access the URL and enter Admin/Admin123 as credentialsĤ. ![]() Verify the Service Type is available in the HTML tableġ. Good programming knowledge is required to create and maintain function libraries. Since data is still hard-coded in the script, the same test case cannot be run for multiple data values without changing data after each run.Īdditional time is spent in analyzing the test cases to identify with reusable flows. ![]() Modular division of scripts leads to easier maintenance and also the scalability of the automated test Scripts are independent to write. Then while scripting, all these reusable flows are created as functions and stored in external files and called in the test scripts wherever required. Modular Driven Framework is the approach where all the test cases are first analyzed to find out the reusable flows. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |