geeknanda13
BAN USERTest Data for grade:
-1,0,1,40,41,59,60,61,65,80,81,99,100,101
Exteme Conditons:
-1111111111111111111111111111111111
99999999999999999999999999999999999
Functional test cases for refrigerator:
1. power on and check the compressor is running and cooling happens.
2. check for the compressor cutoff time.
3. check the freezer section. test with deep frozen items like ice-creams, ice-cubes etc.
4. check the food/fruit/veggie section with different food items.
5. check the lock of the refrigerator.
6. check for cooling leaks from the door or any sides of refrigerator.
7. power on the refrigerator and open the doors of refrigerator. check the compressor is running continously or not.
8. check by adjusting the cooling temperature.
9. check cooling of refrigerator in beyond room temperature conditions.
10. check the defrost mode.
Non-Functional test cases for refrigerator
1. check with different power voltages.
2. load the food items upto and beyond the capacity.
3. switch off the power and check how long cooling withstand.
4. check what happens if we place the refrigerator upside down and run it.
5. check for water resistance of the door.
Push Notification:
1. install the app and enable push notification.
2. intstall the app and disbale push notification.
3. install the app and enable push notification. delete the data source of marketing team.
4. install the app and enable push notification. shut down the data source of marketing team.
5. install the app and enable push notification. open other apps and check if those push notification are getting in those apps.
6. click the push notification that popped up.
7. click the close option in the push notification pop-up and check it.
8. check in different brand/version of mobile phones.
9. check if the ads in the push notification are from the data source.
10. close and open the app and check for push notifications.
11. uninstall and reinstall then check for push notifications of the app.
12. disbale the network open the app and check for the notification. expected there should not be any notifications.
Login:
1. valid username and password
2. invalid username and valid password
3. valid username and invalid password
4. try multiple times with invalid username/password
5. try with empty username and password
6. try to pass the sql query in the username and passwrd field
7. provide invalid/valid credentials and click the signup link.
8. multiple user login at the same time.
9. before clicking the login shutdown the backend/network/registration service and click the signup.
10. check the login feature in different mobile brands and versions.
Sign-up:
1. click the signup link. fill the valid details and submit it.
2. click the signup link. fill the valid details of already existing users and check it.
3. click he signup link. dont fill the mandatory details and submit.
4. click the signup link. fill only the mandatory details and check it.
5. click the signup link. fill invalid data for the different fields and check it.
6. try to register multiple users with multiple req.
7. register the user and check the login for the same user.
8. register the user successfully, delete the user at backend and try to login with the credentials.
9. before clicking the registration details, shutdown the backend/network/registration service and click the signup.
10. check the signup feature in diffferent mobile brands and versions.
11. try to pass the sql query in the registration details.
whatsapp group chat test cases
1. create new group by adding contacts
2. try to send txt and other multimedia messges n check recieved
3. check receiving of txt and multimedia messages from all group members
4. exit group chat
5. delete group
6. admin access testing, adding new admin
7. removing the exist contacts from group
8. add new contacts to group
9. update group profile info
10. sending messages from all contacts instanlty to the group
11. mute the group
12. forwarding messages
13. replying to the group members
14. replying to specific person in the group.
15. try to send large media files
16. try to resend the messges
17. try to delete the message before group memberes receiving it
18. try to create multiple groups with same name
20. try to add more members to check the limit of the memberes in the group.
/**
- geeknanda13 May 23, 2017*
*/
package com.nanda.amazon.problems;
/**
* @author Nandakumar 23-May-2017
*
*/
public class TwoDimSpiral {
public static void main(String[] args) {
int[][] array = new int[4][4];
array[0] =new int[] {2,3,4,5};
array[1] =new int[] {6,7,8,9};
array[2] =new int[] {10,11,12,13};
array[3] =new int[] {14,15,16,17};
int m = 4;
int n = 4;
spiralMethod(array, m, n);
}
public static void spiralMethod(int[][] array, int m, int n) {
int top = 0;
int bottom = m - 1;
int right = n - 1;
int left = 0;
int dir = 0;
while (top <= bottom && left <= right) {
if (dir == 0) {
for (int i = top; i <= right; i++) {
System.out.println(array[top][i]);
}
dir = 1;
top++;
}
if (dir == 1) {
for (int i = top; i <= bottom; i++) {
System.out.println(array[i][right]);
}
dir = 2;
right--;
}
if (dir == 2) {
for (int i = right; i >= left; i--) {
System.out.println(array[bottom][i]);
}
dir = 3;
bottom--;
}
if (dir == 3) {
for (int i = bottom; i >= top; i--) {
System.out.println(array[i][left]);
}
dir = 0;
left++;
}
}
}
}