Bugsolutionclass bugsolutionclass new

  • No School
  • AA 1
  • 53
  • 100% (1) 1 out of 1 people found this document helpful

This preview shows page 47 - 51 out of 53 pages.

BugSolutionClass bugSolutionClass = new BugSolutionClass(); private void txtSearch_TextChanged( object sender, EventArgs e) { dgvReport.DataSource = bugSolutionClass.searchBugSolutionByBugDetails(txtSearch.Text); } private void Report_Load( object sender, EventArgs e) { try { dgvReport.DataSource = bugSolutionClass.getAllBugSolutions(); lblTotalProjects.Text = projectClass.countNumberOfProjects().ToString(); lblTotalMembers.Text = memberClass.totalMember().ToString(); lblTotalRegBug.Text = bugEntry.getAllBugs().Rows.Count.ToString(); lblTotalSolvedBug.Text = bugSolutionClass.getAllBugSolutions().Rows.Count.ToString(); } catch (Exception ex) { MessageBox.Show(ex.Message); } } } } Test Operation Unit Testing Unit testing is done to check the proper working of the each and every controls of the form. The unit testing table shows the success and failure of the various controls on different forms.
Image of page 47
Unit testing table for login form S.NO Date What was tested Expected output Actual Output Remarks 1 2018/11/21 Null space validation The login should not success if username, password and role is not given. The login was not successful when tried to login without input of any values and is shown in figures The test was made successfully 2 2018/11/21 Username and Password match The login should not success if login UserName and Password are incorrect. The Login was not successful when incorrect UserName and Password were given The test was made successfully. 3 2018/11/21 Null space and correct Username and Password match test The login should successfully occur when the correct UserName and Password were filled in the blank spaces. The login was successful when the blank spaces were given correct UserName and Password and it took to the Menu form. The test was made successfully.
Image of page 48
Unit testing table for Manage User Role: S.N Date What was tested? Expected Output Actual Output Remarks 1 2018/11/21 Null Space Validation and Blank Field Validation for user role registration form When the user role registration form is submitted blank, then the error message should be displayed. The error message displayed when form submitted blank as shown in figures below. The test was successful. Unit Testing for Manage User S.N Date What was tested? Expected Output Actual Output Remarks 1 2018/11/21 Null Space Validation for user registration form When the user registration form is submitted blank, then the error message should be displayed. The error message displayed when form submitted blank as shown in figures below. The test was successful.
Image of page 49
Unit Testing for Manage Project S.N Date What was tested? Expected Output Actual Output Remarks 1 2018/11/21 Null Space Validation for user registration form When the user registration form is submitted blank, then the error message should be displayed. The error message displayed when form submitted blank as shown in figures below.
Image of page 50
Image of page 51

You've reached the end of your free preview.

Want to read all 53 pages?

  • Fall '19
  • Comparison of issue tracking systems, Bug tracking system

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes