Alert Message Rules
Posted On 05 January, 2009 at 10:23 AM by Rajeev Prabhakaran1. Should start with capital letter(In a standard format)
2. Error messages should be accessible for as many users as possible regardless of culture, age and impairment.
3. It should be easy to understand that an error has occurred.
4. It should be clear what the user has to do to correct the error.
5. It should be clear for the user where the error was found in the form.
6. It should be possible to be notified about errors before submitting the form, especially if it is a complex form that takes time to process on the server.
7. All errors should be displayed at the same time. No one wants to re-submit the form to find a new error.
8. Do not give any hint about any security event (For example Sign in of an application Incorrect error message -”Password is invalid” , Correct one- “Agent Name or Password is Invalid “)
Where to display these error messages ? Let’s see
- sure the user can see that an error has occurred. Error messages need to stand out from the rest of the layout. They should be placed at the top of the page if that is the area displayed after the form has been submitted with errors.
- An error icon if your layout makes it difficult to visually separate errors from the rest of the page
- Be consistent when you present errors (the user will expect errors to be displayed at the same location and with the same style on all pages)
- Update the page title to indicate that the user is on the same page but with errors (e.g. if the page title is “Registration” you could change it to “Registration - Error occurred”).
- Make sure the error message identifies the related field with the name as it is written in the label for that field
- Do not use complicated words
- Describe what the user should do to correct the error, especially if it could be difficult to understand
- Make it clear if there were more than one error so that the user can correct all errors at once
- Make sure all user agents can parse error details. Use a heading to identify the error area.
- Present each error as an item in a list. This makes it easy for the user to understand what has to be corrected. Also, screen reader users will find it easier to keep errors apart
- If you use software specific error id numbers do not hesitate to add them to the id-attribute of the list element. If you use automated functional tests (e.g. Rational Robot) it will be much easier for the test robot to parse and identify errors
- Provide an access key for the error message section. This is valuable if your form can generate many errors and enables the user to move back and forth between the error list and the form
- Make it possible to navigate from the error message to the related field. This makes it easier for users that navigate with the keyboard
It is better to use some client side validations in forms (like in .net applications)
Example
<——————————————————————————->
4 Errors were found while registration ,Please Correct these errors and Submit again
#Your user name must be between 6 and 30 characters long.
#Email is invalid
#Password is too short (minimum is 8 characters)
#Terms of Service must be accepted
<——————————————————————————>
Priority of Bug
Posted On 08 December, 2008 at 9:51 PM by Rajeev PrabhakaranImmediate Priority: The bug is of immediate priority if it blocks further testing and is very visible
At the earliest Priority: The bug must be fixed at the earliest before the product is released
Normal Priority: The bug should be fixed if time permits
Later Priority: The bug may be fixed, but can be released as it is
Severity of Bug
Posted On at 9:47 PM by Rajeev PrabhakaranCritical severity: The bug is of critical severity if it causes system crash, data loss or data corruption.
Major severity: The bug is of major severity if it causes operational errors, wrong results and loss of functionality.
Minor severity: The bug is of minor severity if it causes defect in user interface layout or spelling mistakes.
Black Box and Functional Testing
Posted On 07 December, 2008 at 10:07 PM by Rajeev PrabhakaranBlack Box Testing assumes that the tester does not know anything about the application that is going to be tested. The tester needs to understand what the program should do, and this is achieved through the business requirements and meeting and talking with users.
Functional testing: This type of tests will evaluate a specific operating condition using inputs and validating results. Functional tests are designed to test boundaries. A combination of correct and incorrect data should be used in this type of test.
Scalability and Performance Testing
Posted On at 2:15 PM by Rajeev PrabhakaranPerformance testing is designed to measure how quickly the program completes a given task. The primary objective is to determine whether the processing speed is acceptable in all parts of the program. If explicit requirements specify program performance, then performance test are often performed as acceptance tests.
As a rule, performance tests are easy to automate. This makes sense above all when you want to make a performance comparison of different system conditions while using the user interface. The capture and automatic replay of user actions during testing eliminates variations in response times.
This type of test should be designed to verify response and execution time. Bottlenecks in a system are generally found during this stage of testing.
System Testing Check List
Posted On 05 December, 2008 at 6:46 PM by Rajeev Prabhakaran- Run time behavior on various operating system or different hardware configurations.
- Install ability and configure ability on various systems
- Capacity limitation (maximum file size, number of records, maximum number of concurrent users, etc.)
- Behavior in response to problems in the programming environment (system crash, unavailable network, full hard-disk, printer not ready)
- Protection against unauthorized access to data and programs
Web Testing- Functional System Testing
Posted On at 6:44 PM by Rajeev PrabhakaranSystem tests check that the software functions properly from end-to-end. The components of the system include: A database, Web-enable application software modules, Web servers, Web-enabled application frameworks deploy Web browser software, TCP/IP networking routers, media servers to stream audio and video, and messaging services for email. A common mistake of test professionals is to believe that they are conducting system tests while they are actually testing a single component of the system. For example, checking that the Web server returns a page is not a system test if the page contains only a static HTML page
Web Testing- HTML Content Testing and Validation
Posted On at 6:40 PM by Rajeev PrabhakaranHTML content checking tests makes a request to a Web page, parses the response for HTTP hyperlinks, requests hyperlinks from their associated host, and if the links returned successful or exceptional conditions. The downside is that the hyperlinks in a Web-enabled application are dynamic and can change, depending on the user's actions. There is little way to know the context of the hyperlinks in a Web-enabled application. Just checking the links' validity is meaningless if not misleading. These tests were meant to test static Web sites, not Web-enabled application
Web Testing- Click-Stream Measurement Testing
Posted On at 6:38 PM by Rajeev PrabhakaranMakes a request for a set of Web pages and records statistics about the response; including total page views per hour, total hits per week, total user sessions per week, and derivatives of these numbers. The downside is that if your Web-enabled application takes twice as many pages as it should for a user to complete his or her goal; the click stream test makes it look as though your Web site is popular, while to the user your Web site is frustrating
Web Testing- Online Help Testing
Posted On at 6:34 PM by Rajeev PrabhakaranOnline help tests check the accuracy of help contents, correctness of features in the help system, and functionality of the help system
Web Testing- Click-Stream Testing
Posted On at 6:29 PM by Rajeev PrabhakaranClick stream Testing is to show which URLs the user clicked, The Web site's user activity by time period during the day, and other data otherwise found in the Web server logs. Popular choice for Click-Stream Testing statistics include Keynote Systems Internet weather report, Web Trends log analysis utility, and the Net Mechanic monitoring service.
Disadvantage: Click-Stream Testing statistics reveal almost nothing about the user's ability to achieve their goals using the Web site. For example, a Web site may show a million page views, but 35% of the page views may simply e pages with the message "Found no search results," With Click-Stream Testing, there's no way to tell when user reach their goals
Web Testing- Security Testing
Posted On at 6:27 PM by Rajeev PrabhakaranSecurity measures protect Web systems from both internal and external threats. E-commerce concerns and the growing popularity of Web-based applications have made security testing increasingly relevant. Security tests determine whether a company's security policies have been properly implemented; they evaluate the functionality of existing systems, not whether the security policies that have been implemented are appropriate
Primary task in security testing over web applications
- Application software
- Database
- Servers
- Client workstations
- Networks
Web Testing - External Beta Testing
Posted On at 6:25 PM by Rajeev PrabhakaranExternal beta testing offers developers their first glimpse at how users may actually interact with a program. Copies of the program or a test URL, sometimes accompanied with letter of instruction, are sent out to a group of volunteers who try out the program and respond to questions in the letter. Beta testing is black-box, real-world testing. Beta testing can be difficult to manage, and the feedback that it generates normally comes too late in the development process to contribute to improved usability and functionality. External beta-tester feedback may be reflected in a future releases.
Web Testing - User Interface Testing
Posted On at 6:23 PM by Rajeev PrabhakaranEasy of use, User Interface testing evaluates how intuitive a system is. Issues pertaining to navigation, usability, commands, and accessibility are considered. User interface functionality testing examines how well a UI operates to specifications
Areas Covered in User Interface Testing
- Usability
- Look and feel
- Navigation controls and navigation bar
- Instructional and technical information style
- Images
- Tables
- Navigation branching
- Accessibility
Install and uninstallation Testing Tips
Posted On at 6:21 PM by Rajeev PrabhakaranWeb system often requires both client-side and server-side installs. Testing of the installer checks that installed features function properly--including icons, support documentation, the README file, and registry keys. The test verifies that the correct directories are created and that the correct system files are copied to the appropriate directories. The test also confirms that various error conditions are detected and handled gracefully.
Testing of the uninstaller checks that the installed directories and files are appropriately removed, that configuration and system-related files are also appropriately removed or modified, and that the operating environment is recovered in its original state.
Compatibility and Configuration Testing
Posted On at 6:20 PM by Rajeev PrabhakaranPerform to check that an application functions properly across various hardware and software environments by using Compatibility and configuration testing. Often, the strategy is to run the functional acceptance simple tests or a subset of the task-oriented functional tests on a range of software and hardware configurations. Sometimes, another strategy is to create a specific test that takes into account the error risks associated with configuration differences. For example, you might design an extensive series of tests to check for browser compatibility issues. Software compatibility configurations include variances in OS versions, input/output (I/O) devices, extension, network software, concurrent applications, online services and firewalls. Hardware configurations include variances in manufacturers, CPU types, RAM, graphic display cards, video capture cards, sound cards, monitors, network cards, and connection types(e.g. T1, DSL, modem, etc.)
Exploratory Testing
Posted On at 6:19 PM by Rajeev PrabhakaranExploratory Testing do not involve a test plan, checklist, or assigned tasks. The strategy here is to use past testing experience to make educated guesses about places and functionality that may be problematic. Testing is then focused on those areas. Exploratory testing can be scheduled. It can also be reserved for unforeseen downtime that presents itself during the testing process
Real world User level Testing
Posted On at 6:19 PM by Rajeev PrabhakaranMissed errors by formal test cases are found by using this method of testing. These tests simulate the actions customers may take with a program
Forced Error Testing
Posted On at 6:18 PM by Rajeev PrabhakaranThe forced-error test (FET) consists of negative test cases that are designed to force a program into error conditions. A list of all error messages that the program issues should be generated. The list is used as a baseline for developing test cases. An attempt is made to generate each error message in the list. Obviously, test to validate error-handling schemes cannot be performed until all the handling and error message have been coded. However, FETs should be thought through as early as possible. Sometimes, the error messages are not available. The error cases can still be considered by walking through the program and deciding how the program might fail in a given user interfaces such as a dialog or in the course of executing a given task or printing a given report. Test cases should be created for each condition to determine what error message is generated.
Task Oriented Functional Testing
Posted On at 5:57 PM by Rajeev PrabhakaranThe task-oriented functional test (TOFT) consists of positive test cases that are designed to verify program features by checking the task that each feature performs against specifications, user guides, requirements, and design documents. Usually, features are organized into list or test matrix format. Each feature is tested for:
- The validity of the task it performs with supported data conditions under supported operating conditions.
- The integrity do the task's end result
- The feature's integrity when used in conjunction with related features
