Professional Documents
Culture Documents
Lab Activity Fa18-Bse-031 Hassan Ahmed
Lab Activity Fa18-Bse-031 Hassan Ahmed
Test case 1
Display function has an error Print statement is not enclosed in string
System.out.println("Student Name is: ― + studentname + "Course Name is: ― + coursename + "Grade is: ― +
grade); }
Expected: Print student names
Actual: Gives error string missing
Test case 2
Object allocation in c1 the names grades and course are not written in string
CourseResult c1=new CourseResult (); c1.studentName= ―Ali‖; c1.courseName= ―OOP‖; c1.grade= ―A‖;
Activity 2
public double calLength(){
return Math.sqrt(Math.pow((x2-x1),x2) + Math.pow((y2-y1),2));
}
Expected:
Length of Line 1 is: 1.4142135623730951
Length of Line 2 is: 2.23606797749979
Length of Line 3 is: 2.23606797749979
Actual:
Length of Line 1 is: 1.4142135623730951
Length of Line 2 is: 2.23606797749979
Length of Line 3 is: 2.23606797749979
Test Case 1:
Point p3 = new Point(5, 6);
Point p4 = new Point(1, 8);
Point p5 = new Point(7, 6);
Point p6 = new Point(6, 8);
Point p1 = new Point(4, 6);
Point p2 = new Point(1, 7);
Expected:
Length of Line 1 is: 3.1622776601683795
Length of Line 2 is: 4.47213595499958
Length of Line 3 is: 2.23606797749979
Actual:
Length of Line 1 is: 5.291502622129181
Length of Line 2 is: 8.246211251235321
Length of Line 3 is: 2.23606797749979
Test Case 2:
public double calLength(){
return Math.sqrt(Math.pow((x2-x1),x2) + Math.pow((y2-y1),2));
}
Expected:
Length of Line 1 is: 5.0990195135927845
Length of Line 2 is: 7.280109889280518
Length of Line 3 is: 4.47213595499958
Actual:
Length of Line 1 is: 1397.5428437081991
Length of Line 2 is: 6352.449212705285
Length of Line 3 is: 64.03124237432849
Activity 3
1 Hassan Ahmed
https://homeshopping.pk/brands/ChangHong-Ruba.html
High
2 Hassan Ahmed
https://homeshopping.pk/login.php?action=logout
High
3 Hassan Ahmed
https://homeshopping.pk/account.php
High
4 Hassan Ahmed
https://homeshopping.pk/account.php
High
5 Hassan Ahmed
Order is not confirming it is giving error Oder confirmation button is not working
https://homeshopping.pk/order.php
High
6 Hassan Ahmed
https://homeshopping.pk/order.php
Chrome
SCREENSHOT DEMONSTRATING BUG'S BEHAVIOR
Medium
7 Hassan Ahmed
Text on the sign page is not visible Text in signup page is not visible
https://homeshopping.pk/order.php
low
8 Hassan Ahmed
Page loading is very slow is takes too much time to Page loading is slow
load the page
https://homeshopping.pk.php
Medium
BUG ID TESTER
9 Hassan Ahmed
Light green border is used with white background that is not prominent to see. A very dull combination is used for UI experience.
https://homeshopping.pk/login.php?action=check_login%20%27%20and https://homeshopping.pk
Low Low