Project 1 - V&V SW Analysis - I
Black box testing:
- Black box testing is a technique of software testing which examines the functionality of the software without peering into its internal structure or coding. The primary source of black-box testing is a specification of requirements that is stated by the customer.
- In this method, the tester selects a function and gives input value to examine its functionality, and checks whether the function is giving the expected output or not. If the function produces the correct output, then it is passed in testing, otherwise failed. The test team reports the result to the development team and then tests the next function. After completing the testing of all functions if there are severe problems, then it is given back to the development team for correction.
What is the Test Plan:-
- A Test Plan is a document that consists of all future testing-related activities. It is prepared at the project level and in general, it defines work products to be tested, how they will be tested, and test type distribution among the testers. Before starting testing there will be a test manager who will be preparing a test plan. In any company whenever a new project is taken up before the tester involves in the testing the test manager of the team would prepare a test Plan.
Test plan to test features of a new mobile phone
US-1:As a Product owner,when long pressed the power button of the phone shall switch on with a company logo at the center of the screen.
if(long pressed the power button of the phone)
{
print..company logo at the center of the screen.
}
Else
{
print..Long press the power button
}
US- 2: As a Customer,when the power button is pressed my phone is switched ON and all my icons of the APPS shall be present in the grid
if(pressed power button of the phone)
{
screen=Display_ON;
display() .....all the apps;
}
else {
screen = Display_OFF;
}
US- 3: As a Product owner,when the phone is powered ON ,I shall see the "call the phone" icon as the first icon at the bottom bar of my screen.
if (phone=ON){
display(call the phone)
display(peripherals)
display(ISR)
}
else
{
phone=OFF STATE;
}
US- 4: As a Product owner,when the phone is powered ON, I shall see the "Dictionary" icon as the second icon at the bottom bar of my screen.
if (phone_screen=ON){
display(call the phone );
display(dictionary);
display(peripherals);
display(ISR);
}
else{
phone_screen=OFF;
}
US- 5: As a Product owner,when I Clicked my "call the phone" icon ,all the contacts shall be visible based on chronological order.
if(phone_screen==ON && click(call the phone)==1 ){
display(contacts saved on device);
Contact_sort(contact_list);
}
else
{
phone = OFF;
}
US- 6: As a Product owner,when I Clicked my "Dictionary icon ,a search bar shall appear at the middle of the screen to let me search the meanings of the words I desire.
if (phone==ON && click(dictionary)==1){
position of search bar=middle;
default print("click here to search");
display(search bar);
return 0;
}
else {
phone = off;
}
US- 7: As a Product owner,when I long pressed my "power on" button ,my phone shall be switched off saying "Good-Bye” Message.
if (phone == ON && Long pressed == 1){
print....choose 1,restart,2-turn off;
if(choice==2){
print...Good bye;
}
}
US-8: As a product owner ,my font in the mobile shall always be ''calibri (Body)" and shall be of size 12.
if (phone == ON ){
Default_font = "calibri(Body)"
Default_size=12
}
else{
Font = Chosen by user
}
US-9:As a Customer,I need my UI to be touch responsive.
if (piezo_voltage>=threshold){
phone=ON;
}
else if(piezo_voltage<threshold){
phone=off;
}
US-10: As a customer ,my mobile phone should have no hard buttons.
if (phone_display!==hard buttons){
phone display=Touch screen;
PLC for manufacturing =ON;
Manufacturing process is ON;
return0;
}