kalpana
BAN USERTo make the question more clear, can ask whether to upload photo when the facebook is opened in an browser or as an application(android app).
Though uploading feature is same, the way of choosing the image varies.Suppose if it is an facebook application installed in a mobile, in that case -images are choosen from galary, or jus take pic on the spot n upload. So camera opens ,click image n upload something like that.
So testcases can be developed as per the requirements.
when all contacts does not sync with PC,this can be debugged as follow:
First Is the sync operation is happening through any application installed in both smartphone and PC?
Get the count of how many contact synced successfully out of total contacts, say 25 out of 100 contacts is not synced.
Does sync happened sequentially?
Yes, find that last 25 contacts not sync.
Does the connectivity(USB/Wifi/Bluetooth) connectivity lost?
Does the destination has enough storage space?
Does the PC already has some contacts which are duplicates of the contacts in smart phone?thus requires replace contacts
Does any another application running blocks the sync mechanism...
hi..
When a vegetable cutter is given to test, pls dont assume like a normal knife used in kitchen. I guess it could be more interesting when it can any kind of vegetable.
So few questions to make this question more clear, so this can help to write better testcases without assumption,
1. First is it a manual cutter like knife or some electric cutter?
2.As it a universal cutter, it can cut any vegetable-does it have different kinds of blades to cut?
3. does the blades can give different shapes in cutting?
4. Does the cutter has any bowl/container kind of thing toput the vegtable to cut? so depending that we can place the vegtable size.
So question like this can me clear before writting testcases.
public class Sreverse{
public static void main(string[] args)
{
string s="Welcome Banglore";
Char[] arr= s.toCharArray();
//reverse string
Srevers.reversefunction(arr,0,arr.lenght/2,arr.length);
System.out.println(new string(arr));
}
public static void reversefunction(char[] arr, i,m,l)
{
for(;i<m;i++)
{
char temp=arr[i];
arr[i]=arr[l];
arr[l]=temp;
l--;
}
}
}
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
char str[50] , revstr[50];
int i=0,j=0;
printf("enter the string for reversing:");
scanf("%s", str);
for(i=strlen(str)-1;i>=0;i--)
{
revstr[j] = str[i];
j++;
}
revstr= "\0";
printf("input string %s :" ,str);
printf("reversed string %s:", revstr);
}
}
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
char str[50] , revstr[50];
int i=0,j=0;
printf("enter the string for reversing:");
scanf("%s", str);
for(i=strlen(str)-1;i>=0;i--)
{
revstr[j] = str[i];
j++;
}
revstr= "\0";
printf("input string %s :" ,str);
printf("reversed string %s:", revstr);
}
}
Testcases should be written to completely test the appstore application.
Smoke test wont be enough to ensure the quality of the app and make sure it is 100% functional.
App has to installed in various platform devices and tested. And the inner functionality has to be tested in various scenarios like with internet connect(wifi or 3g or 2g) the speed of application downloading.
lot to test in the application before it reaches the end user.
int main()
{
int i=0,j=0;
int m=0,n=0;
int sum=0;
int sum_a=0,sum_b=0;
int[] a = [3, 5, 7, 9, 20, 25, 30, 40, 55, 56, 57, 60, 62];
int[] b = [1, 4, 7, 11, 14, 25, 44, 47, 55, 57, 100];
while( i<a.length && j<b.length)
{
if(a[m]!=b[n])
{
sum_a+=a[m];
sum_b+=b[n];
m++;
n++;
}
else if(a[m]==b[n])
sum= a[m]+max(sum_a,sum_b);
}
return sum;
}
Test data to check email id field( textbox)
- kalpana August 25, 20151.Enter a blank data- empty text field
2.Valid data format of an email id. abc@mail.com, abc@mail.in(spaces,alphabets,numbers, special symbols etc)
3.Invalid format of an email id. @$#@mail.in , "hello"$gmail.com
4.One or more values in same field.
For all conditions ,check proper error messages are generated.