Tuesday, August 28, 2012

Usability,Usability Testing

Usability mean how easy to use the product. Usability has five quality attributes learnability, efficiency, memorability, errors and satisfaction.


Usability testing is technique to evaluate product by testing it on users.

Why Usability testing important?
See In daily life we need to perform task some time using software product, hardware product or website .Those product, website if they are easy to use they give fully satisfaction then we don’t have any question but if they dont work then we stress out .So it is very necessary to do usability testing for every product ..of course it ‘s depend upon what context you are using it .

Wednesday, August 22, 2012

How to set priority of the bug?

How to prioritize bug?

Correct priority & severity of the bug it’s very important. I have seen that there is lot of discussion, argument take place between developer and tester for bug priority and severity. The Priority which is set by tester that sometime developer not agree with it. Vice versa same thing with tester too. This is not only about between developer and tester. The same thing is happen in between higher level also between business analysis, project manager etc.

But As tester I wanted to tell you that setting the priority of bug ,which not get accepted by developer or someone else which really feel bad but for that we need to set correct priority & severity of bug so, here the question arise how we will set that?

For that need to consider following point:
1. Understand the functionality, feature.
2. Understand the business flow.
3. Communicate with the customer..
4. Understand Risk of the bug
5. Impact of the bug.

Considering these point set appropriate priority and severity of bug.

Priority & Severity Values

Examples of Priority & Severity 





Thursday, August 16, 2012

How to create Batch File?


What is batch file? (bat file)
Batch file is a text file that contains one and more command, it has also called as batch program and script.

Extension of batch file
Extension of the batch file is .bat or .cmd.

What batch files do?
Batch files automate everyday task or repetitive task.

How can be batch file useful?
Using Batch file you can do routine task or repetitive task in shorten time.

How the batches file useful in testing?
There has so many task which we do regular basis like build deployment, or else some other task like for which you do manually That can be automated using the batch file.


How to create batch file?
Let me tell you batch file contains series of DOS command, instead of typing same command again and again you can just create a batch file and double click on it.
1.Open the notepad
2.Save the file ---    2.a Click on file >>Save
                               2.b Click on Save as type:  and select drop down menu All file
                               2.c Type the file name with .bat extension and save the file somewhere on  your 
                                     Desktop.
                               2.d Eg: Test.bat and then click on save button
3.Let’s we see a simple example of batch file: Batch file for opening facebook site using mozila firefox browser
 @echo off
start /d "C:\Program Files(x86)\Mozilla Firefox" firefox.exe www.faceboo.com
@echo off    
                                                                          
4.Type those command in Test.bat file, and save it.

5.Double click on Test.bat file for run


Command Explanation:  
Echo off:  BAT writers typically put this at the beginning of their files. It means that the program won’t show the command that you told it to run while it’s running.

Start:  It’s open program ,script,command in new window.In above example by using start command we opening the Facebook site using mozila Firefox browser.

There are several Commands available using those you can create batch file and you can automated your regular and repetitive task.

Wednesday, August 8, 2012

Cookie Testing

Why Cookie is needed?
As you know Stateless (HTTP) protocol which does not record previous interaction, it treat every request as new. Suppose your browser wanted to interact with some XYZ server.So,Browser send first request to the XYZ server using stateless HTTP Protocol, Then XYZ server send response of your first request, once you received first request and again browser send second request to XYZ server that time XYZ server treat second request as new request.It doesn’t bother about what it send earlier? It doesn’t keep the record. So,Now can you imagine how stateless http work in ecommerce site, shopping site ?how theses site keep record of the purchase item? User identity and all?
Answer of all is Cookies.

What is Cookie?
The cookie is a text file saved in your browser's directory or folder and It stored in RAM while your browser is running. Cookie generated by a web server and stored in the user's computer, ready for future access. Normally Web sites use cookies to store personal preferences or tracking data.

There are two types of cookies
1. Persistence Cookies: The cookies that written permanently on the user machine. Max age of this cookie is 1 year.
2.Session Cookies: The cookies active till the browser open when we close the browser cookie get deleted .

Where the Cookies stored?
Cookies are stored in a cookie.txt file located in  user profile directory
C:\Documents and Settings\Username\Application Data\Mozilla\Firefox\ cookies.txt
IIN IE browser you can easily find the cookie path where the cookie is stored on the computer.
Go to tool>>internet option >>General tab>>under Browsing history>>Click on setting>>there you find current location of cookies
Basically you can change your browser setting according to your need. If you want that before storing the cookies by web site it will shows prompt message or something warning so you can change the setting or Even you can disable the cookies also.


Cookie Attribute:
Cookie basically come with name-value pair, apart from that server set expiration time, path, cookie domain ,maximum age.

Now the next questing is how to test Cookie? How to do Cookie testing?

Disabling/Deleting the Cookie:
Delete the all cookie set by site which under test. One thing which is important that deleting Cookie you need to close browser so that no pre-session cookies in memory.
After that test those feature and function of the site which require the cookie ,you will come to know that those feature doesn’t work because of deleting those cookies which help to run the feature. That doesn't mean it's bug, it’s happened because of the disabling the cookies. It's  might possible that not every user keep the cookie enable, In that case those site require cookie need to be enabled to work the site then the site has to be send message to user that cookie need to be enable to work the site.

Reject Cookie:
You can do testing of cookie by accepting some cookies and rejecting other and check the functionality howspan style="mso-spacerun:yes"> 
iit work by rejecting cookie. For that you need to set your browser’s cookie option to prompt you whenever website attempts to set a cookie and then exercise the functionality.

Corrupt the Cookie:
For that you need to know whether the cookies are stored. Then change the cookie parameter like cookie name, expiry date, session id and all.

Check that Cookie generated by different browser:
Here the site which is under test which need to be check different browser. That different browser site generated the cookie or not .

Check the how Cookie stored sensitive Data:
It's important that sensitive data need to be stored in encrypted format.Sensitiva data like User credit card ID,User Data etc.So even if some one open the cookies file then can not mess with the data. So that need to be check how the cookie stored the sensitive data.

 Related Documents:

Thursday, August 2, 2012

Difference between Build,Release and Version

NO
NO Build Release Version
1 Build is Executable file. Release means which ready to use it. Version is extension of the build.
2 Build is handed over to the tester to test the developed part of the project. Release hand it over to Client/Customer after completion of development and testing phase. Version is number of release made according to the addition of requirement of the client.
3 Build refers to the S/W part which  still in testing. or which is not tested yet. Release refers to the S/W which is no longer in testing. Version refer Variation of an earlier or original type of S/W
4 Build can be rejected by test team if defect found or it does not meet the certain requirement. One Release can have several builds associated with it. Version  based on the Build, not Vice Versa..
5 Build is nothing but a part of the application. Release is noting but the application. Version is nothing but the application.
6 Eg: Componet Eg: Apple released new iphone 4. Eg: I have downloaded latest version IE9