Uploaded image for project: 'QA Framework'
  1. QA Framework
  2. RATEST-235

Handle Exceptions in the catch block Method

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: Reference Application 2.11.0
    • Fix Version/s: None
    • Component/s: Quality Assurance (QA)
    • Labels:
    • Complexity:
      Low

      Description

      Its not a good practice to always leave the catch block empty, we need to either include a boolean value if its a boolean method or handle exceptions correctively in this class

      https://github.com/openmrs/openmrs-distro-referenceapplication/blob/master/ui-tests/src/test/java/org/openmrs/reference/page/PatientCaptureVitalsPage.java

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jonathan Mutagubya Jonathan
                Reporter:
                sharif Sharif Magembe
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: