Custom Search

Tuesday, January 19, 2010

Driver Testing Tips

1. Introduction
As we know, Windows drivers can run and work in either user mode or kernel mode.
Kernel-mode drivers run as part of the operating system and possess the privileged abilities. The drivers reviewed below are the drivers of kernel level. As any software testing procedure, driver testing includes automatic and manual testing, but in this article we will focus mainly on the last one.
Later we will review testing process for the followings types of drivers:
•    File System Filter Drivers
•    Network Redirection Drivers
•    Virtual Storage Drivers
•    USB Client Device Drivers
2. General aspects of driver testing
First of all, I would like to say ?Don?t install the driver to be tested on your working system!? However, there are some exceptions on this occasion, for example:
•    You are looking for a reason to reinstall your system...
•    You don?t want to waste time on searching bugs on the clean test systems...
•    You are sure that the driver is stable...
•    You have to test the work of the connected devices...
Secondly, driver tester must have a virtual machine installed on the working computer and at least one real test computer.
Thirdly, before starting the testing procedure, it is necessary:
1. To define the number of operating systems for which it is necessary to check the driver functionality. Usually, first of all you use the OS confirmed by the specification. Let?s suppose that a driver must successfully work under Windows 2000/XP/Server 2003/Vista accordingly to the requirements. Applying our experience in driver testing, we extend this list to the following:
•    Windows 2000
•    Windows 2000 sp4
•    Windows XP_sp0
•    Windows XP_sp1
•    Windows XP_sp2
•    Windows XP_(Windows is installed on FAT32) (obligatory system)
•    Windows Server 2003 Standard Edition
•    Windows Server 2003 Enterprise Edition
•    Windows Vista
Additionally:
•    Windows Server 2003 Small Business
•    Windows Server 2003 Enterprise EditionSp1
At that, it is desirable for all of these systems to be Checked Build versions. Using the Checked version slows down Windows functioning, but multiplies probability of finding bug in the driver functioning. If there is no a single Checked Windows, it is necessary to purchase the Checked version of at least one system, for example from the Windows XP series.
Thus Windows XP_Chk is added to the OS list. But you shouldn?t limit you work only to this list: the more the number of OS, under which driver passed the complete testing successfully, the better quality of product guaranteed.
2. If possible, select test computers with as different hardware and configurations as possible. I recommend obligatory test on machines with single processor, single processor with Hyper-Threading, two-core processor and dual processor machines.
3. To make the following settings for each OS where driver testing will be performed: in System Properties\Advanced\Startup and Recovery Settings\Write debugging information it?s necessary to select Kernel memory dump or Complete memory dump, and uncheck Automatically restart option for the case of you won?t be nearby in the moment of Blue Screen appearance.
4. To set verification by standard Driver Verifier Manager of the system with all options, except for Low resource simulation. This is determined by the fact that at first you must obtain stable functioning of driver without the option of Low resource simulation, and then test the functioning with this option on smoke tests.
5. To select antivirus software with which it is desirable to test the driver performance. Usually it?s recommended to take the most commonly used antivirus programs, such as DrWeb, Kaspersky Antivirus, V3, Symantec Norton Antivirus, NOD32. The list is not limited to these names, of course. The more programs you will test, the better driver performance will be; this will only increase the quality of product.
6. To verify compatibility of your driver with other drivers, the system ones and the drivers by other producers. It is desirable for the last ones to be stable enough ? in this case it will be easier for you to discover reasons for improper work of the system or Blue Screen appearance, and to expose bugs in driver performance.
The next general aspect of driver testing is verification of driver loading and unloading, i.e. you set the group of tests that are relevant to each driver:
1.    Driver installation. The script for driver installation can be written by programmer, but the tester verifies whether it?s done correctly. Here we check the following:
a.    Has the system crashed after driver installation or not?
b.    Has *.sys file been written in the C:\WINDOWS\system32\drivers directory?
c.    Have necessary keys been registered in Registry, if they are presented in our case?
The driver installation not always supposes its start - it depends on implementation of driver. Some of them run after system restart and cannot be stopped during the process of work (usually these are File System Filter Drivers), therefore the following questions arise:
d.    Does system start correctly with installed driver?
e.    Does system crash when the driver is started manually?
2.    System Restart while the driver is working. System must be normally rebooted without Blue Screen; after system start, the driver and its settings must comply with the statuses described in the specification.
3.    System Reset while the driver is working. System must perform the Reset operation and start without Blue Screen; after system start the driver and its settings must comply with the statuses described in the specification.
4.    System shutdown while the driver is functioning. System must perform the Shut down operation successfully without Blue Screen.
5.    System Start with the pre-installed driver. System must be rebooted without Blue Screen; after the system starts, the driver and its settings must comply with the statuses described in the specification.
Further work of driver tester includes functional testing of the testing object and search of BSOD, which features depend on the type of testing driver.
3. File System Filter Drivers Testing
The drivers of this type are designed for enhancement of the file system functionality, for example for catching operations of OS in order to watch, forbid or permit certain processes, operations, files in certain disk space. The set of tests to verify the driver functionality is formed in accordance with the type of driver and here you have to pay special attention to the software products workings with network places.
Let?s consider an example when we use a database with the multi-users connection status. Let?s suppose that the real multi-users DB1 is on the computer N1 and we can work with DB1 on the computer N2 without problems. Let?s install some File System Filter Driver on the computer N1 and computer N2. When trying to get access to DB1 from the computer N2 we can get such results:
•    DB1 on the computer N1 is not accessible for the computer N2;
•    N1 computer has crashed with BSOD;
•    N2 computer has crashed with BSOD;
•    DB1 remained accessible for using on the computer N2.
It is necessary to test an access to Shared Folders from one machine to another. Thus you have to test standard operations of creation, deleting, copying, renaming, moving of small and large folders and files in Shared Folders.
An insidious test is the starting of some *.exe file both from network space and locally.
On the test system, it?s useful to run software products which perform file system indexing (for example, Google Desktop). BSOD or Dead Lock of system with installed File System Filter Driver can occur when such programs are started or functioning.
System can work inadequately after installation of new Virtual Storage Driver (these drivers are developed for creation of virtual encrypted disks) or while it?s functioning. BSOD or noticeable slow down in system performance can happen as a result of File System Filter Driver and Virtual Storage Driver interaction ? naturally, it?s not good.
In my opinion, this type of drivers is the hardest from the view of covering full set of tests, and the most unforeseeable in system crashes while driver is functioning.
4. Network Redirection Drivers Testing
Network Redirection Driver is a network file system which gives access to the resources of remote computer. In practice, such drivers are used for creation of network disks, and we will examine such drivers in this paragraph.
First of all, it?s necessary to select test data, so we will take:
•    Files and folders of small size (to 10?b);
•    Files and folders of large size(more than 600?b);
•    Folders containing some nested files and folders (one folder for one file);
•    Folders containing a great number of nested files and folders (nesting is equal to 5; the number of files (size to 1?) is more than 100 in each folder).
In this case main tests are divided into the followings groups:
Group #1 is "Verification of network disk displaying". After connecting network disk that is implemented on the base of Network Redirection Driver, this disk must be displayed in all of the file managers.
Group #2 is "Verification of functionality"
1.    Testing the standard operations (opening, change, hiding, creation, deleting and other) with files and folders on a network disk.
2.    Testing the operations of copying, saving files and folders to/from a network disk from/to a local disk. It?s necessary to pay special attention to all of applications included in MSOffice package, MindManager and also to verify saving project of MS Visial Studio from local space to a network disk and compiling this project.
3.    Testing the operations of copying when size of copied files is changed and also when an operation of copying/saving files is interrupted incorrectly.
4.    Testing software product on the different language versions of OS, for example under English and Korean OS, and performing tests from the first three points of Group #2. The driver must automatically pick up the language of the system and successfully perform all available operations with files and folders.
5.    Testing search function on a network disk.
6.    Checking the data integrity when moving them from a local disk to a network one and vice versa.
Group #3 is "Verification of data exchange speed"
1.    Testing speed on every set from the group of test data when downloading to Network Disk from Local Disk.
2.    Testing speed on every set from the group of test data when unloading from Network Disk to Local Disk.
At that, it is necessary to take into account the capabilities of data transfer over the local network and capabilities of network protocols both with data cashing and without it. If you can get an analogue product, then compare its speed with the speed of your product.
Group #4 is "Disconnect"
1.    Checking the reaction of the system to disconnecting the network cable with the network disk connected:
a.    during uploading of each set from the group of test data;
b.    during downloading of each set from the group of test data.
2.    Testing the reconnect of network disk after plugging connecting network cable to the computer.
Group #5 is "Users sessions"
1.    Testing network disk performance for different users in the terminal session of Windows Server2003.
2.    Testing network disk performance for different users with Switch option on Windows XP.
3.    Testing network disk performance for different users with Login switching on Windows Server2003.
5. Virtual Storage Drivers Testing
Virtual Storage Driver is virtual data storage (for example, it can use random-access memory or file). Usually it is used for implementation of virtual encrypted disks.
Main points when testing this type of drivers are:
1.    Standard operations (opening, change, hiding, creation, deleting and other) over files and folders on a virtual disk.
2.    Creation of image of maximum possible size; its formatting.
3.    Data safety when working with different encrypting algorithms.
4.    Driver speed (reading ? writing to/from a virtual disk).
5.    Place of images localization (USB memory, Network Disk, Local Disk) and ability to access it.
6.    Data integrity on repeated connection of image after incorrectly disabled access to image had happened.
6. USB Client Device Drivers Testing
USB Client Device Driver manages USB device, interacts with it by means of USB packages (URB), for example, for redirecting requests to another computer. The real USB devices are always involved in testing of such drivers; therefore the critical errors occur mostly during interaction between the driver that is tested and devices? drivers. For example, BSOD can happen on a computer with USB Client Device Driver installed when the following actions are performed:
a.    connecting new USB device;
b.    correct removing of USB device;
c.    incorrect removing of USB device;
d.    installing drivers for USB devices;
e.    working with USB device.
7. Conclusion
Remember that correctly chosen set of tests for the certain type of driver helps your to improve the quality of your product.

Thursday, January 14, 2010

Try Beta Testing !

What is a beta testing?
A Beta test is a testing done for a piece of computer product prior to commercial release in the market. Beta testing can be considered the last stage of testing, and normally can involve sending the product to beta test sites outside the company for real-world exposure. Normally, a free trial version of the product is allowed to be downloaded over the Internet. Beta test versions of software are distributed to a wide range of users to get the software tested in different combination of hardware and associated software.
 
What is in for a fresher or freelancer?
So what should we do as a fresher or a freelance software tester? Beta testing provides a platform for us to test some real world software. There are many companies which release beta version of their software before they ship it to the market for commercial selling.
 
By signing up as a beta tester and downloading a test version of the software, you can get a first hand preview of the software. It is an exciting experience to get the software free of cost before the world gets to see the product. If you can find few bugs or write some reviews (positive or negative) about the beta version of the software, most of the companies give a free licensed version of the product when they release in the market.
 
Benefits of beta testing to a fresher?
Also as a fresher, you can show this experience of testing a beta product. You can list down what all defects or bugs you have submitted to the company. There are few companies which I know who pay for finding bugs in there products. Your resume will shine if you can prove that you earned few dollars by finding bugs for this and that company. 
 
 
 
uTest.com

Sign Up with uTest.com and get paid for finding bugs. I am sure there are lots of other companies which pay for pointing out their defects.
 
 
Beta products from Microsoft

Microsoft also provides wide range of Beta software for testing. Sign up with them and start testing a free beta product today.
 
 
 
Here are some tips for running a Beta Test  
  • Take back up of your PC before you install a Beta version software. You never know when the software crashes.
  • Read the terms and conditions carefully. Find out which bugs have already been reported. You don’t want to waste time finding bugs which someone has already reported.
  • Get the specification or requirement document first. How do you test a product if you don’t know what it is supposed to do?
  • Create a network of Beta Testers. This will help you get informed of latest happenings around the world.

 

Wednesday, January 13, 2010

Software Testing Resume - How to write the best resume for software testing.

10 Best Guidelines for a Good Resume -
» Do not write the word 'Resume', 'CV' etc on the top of the resume. Instead write your name in bold letters. You may include your mobile number and email id for ready reference.
»Delete the career objective that you have copied from your friend's resume. Ask this to yourself – who does not want to work in a growth oriented company where he or she can utilize his or her skills to the fullest? Career object is just a waste of space and believe me, nobody reads that section.
»Include a two liner summary about your experience, skills, tools etc. so that the person reading your resume can know about your profile in 10 seconds.
»Remove all unnecessary information like father's name, hobbies, place of birth, schooling information etc. You will have enough time to give that information when you are selected.
»Structure the content of the resume based on your past experience such as skills, projects, education etc.
»Highlight your key skills and domain expertise. Talk about your USP and how you could add value to the organization that is recruiting you.
»The purpose of a resume is to generate enough interest in you to have a prospective employer contact you for an interview. Don’t fill the resume with too much information. Nobody will read a resume for more than 2-3 pages at the max.
»Use bullet points to convey information. Make information readily available to the recruiter. But be sure that whatever you have written in the resume, you will be able to explain it.
»Use a single font throughout the resume (Garamond, 12pt – my favorite). Do not use too much underline, bold and highlight in the resume.
»Get your resume reviewed by a friend or an expert. Take feedback and improve the resume. Use a good resume template suitable to your domain and update your resume frequently.

Tuesday, January 12, 2010

ISTQB Preparation Guide

ISTQB Preparation Guide


International Software Testing Qualification Board Exam Preparation Guide

The ISTQB was officially founded as an International Testing Qualifications Board in Edinburgh in November 2002 and it is responsible for the "ISTQB Certified Tester", which is an international qualification scheme. ISTQB Certification is available in two stages, Foundation Level and Advanced Level.

For details about ISTQB please visit www.istqb.org

Join ISTQB Exam Preparation Orkut Community. You will find lots of information there.


Remember - "Certification exams do not measure the quality of a tester. Until they do, they merely facilitate discriminatory hiring practices." - James Bach



» which book to read for ISTQB Certification ?

Foundations Of Software Testing ISTQB Certification

By -

Dorothy Graham
Erik van Veenendaal
Isabel Evans
Rex Black


» General Guidelines for Preparing ISTQB Exam

  • 40 Questions
  • 65% pass mark
  • 90 minutes
  • Multiple choice questions
  • Only one correct answer
  • No negative marking
  • Paper/Pen based exam. Darken the appropriate circle
  • Not online
  • All questions from syllabus
  • Read the syllabus very carefully
  • Question breakup
    • 50% K1 (remember, recall type)
    • 30% K2 (Compare, contrast type)
    • 20% K3 (Analyze, apply type. Numerical type as well)
    • See syllabus for details on K levels

» Syllabus Breakup for ISTQB Preparation Material

The principles of testing

Terminology; why testing is necessary; fundamental test process; psychology of testing; re-testing and regression testing; expected results; prioritization.

Testing throughout the life-cycle

Models for testing; economics of testing; high level test planning; acceptance testing; integration testing in the large; functional and non-functional system testing; integration testing in the small; component testing; maintenance testing.

Static testing

Reviews and the test process; types of review; static analysis.

Test design techniques
Dynamic testing techniques, Black and white-box testing techniques; error guessing, BVA etc.



Test management

Organization; configuration management; test estimation, monitoring and control; incident management; standards for testing.

Tool support for testing

Types of CAST tool (Computer-Aided Software Testing); tool selection and implementation.


»Join ISTQB Exam Preparation Orkut Community. You will lots of active discussions going on to clear your doubts.



» Sample Paper Download

Free Download 2500 ISTQB Sample Papers. Click on the set to download.

» Download Set 1 (Collection of 16 Sample Papers)

» Download Set 2 (Collection of 12 Sample Papers)


Chapter

Number of Questions Expected from each chapter

The principles of testing

7

Testing throughout the life-cycle

6

Static testing

3

Test design techniques

12

Test management

8

Tool support for testing

4

» Tips and Tricks

  • ISTQB Questions are simple but answers are confusing at times. More than one correct answers possible. Choose the one which is more correct or correct in more scenarios.
  • Read the questions very carefully. Sometimes you might miss important words. Solve ISTQB Sample Papers frequently.
  • Do not jump to answer quickly. Go through all options before selecting one.
  • Look out for words like ALL, EVERY, NEVER etc. These might help you choose correct answer. For example, ALL bugs should be fixed is incorrect statement but bugs should be fixed is more correct and might indicate right choice.
  • Download ISTQB dumps and read the complete ISTQB syllabus.
  • Check ISTQB exam dates for your country and prepare in advance.

» ISTQB Advanced Level

Exam Guidelines and ISTQB Advanced Level sample papers will be added soon. Keep visiting this page for updates.

» ISTQB Training Institute

Are you interested in taking coaching for ISTQB exam? Learn from the Best ISTQB training institute.