Showing posts with label WEB APP. TESTING. Show all posts
Showing posts with label WEB APP. TESTING. Show all posts

WEB APPLICATION UNIT TESTING

Web Application UI Testing

  1. Testing for UI design errors
  2. Testing for UI implementation errors
  3. User interaction (input) and data presentation (output) testing issues
  4. Web application UI controls
  5. UI testing issues and considerations

unit testing of web applications

  1. Discover proven tips and techniques on how to handle the most common and vexing issues that affect Web testers and managers
  2. Review the most common technologies being used to build Web sites
  3. Learn about the test tools available for Web testing
  4. Save time – and money – by learning from the mistakes made by others
  5. Discover what’s different about testing Web and eBusiness applications

Web-Specific Solutions

While many of the traditional concepts of software testing still hold true, Web and eBusiness applications have a different risk profile to other, more mature environments. Gone are the days of measuring release cycles in months or years; instead, Web applications now have release cycles often measured in days or even hours!

A typical Web tester now has to deal with shorter release cycles, constantly changing technology, fewer mature testing tools, and an anticipated user base that may run into millions on the first day of a site’s launch.

Many testers and test managers are being asked to make the transition from testing traditional client/server, PC, and/or mainframe environments to testing rapidly changing Web sites.

Using the experiences of SQE’s own internal Web Testing Team and its consultants’ testing experience, SQE has developed a Web testing training course aimed at assisting those organizations who are testing Web sites that range in complexity from initial “BrochureWare” sites to those handling full blown eBusiness systems.

Within each topic area you will learn about the various types of tools available to take your test effort more efficient and effective.

Web Basics

Introduces the case study used during the course and covers the basic Internet concepts and terminology.

  1. The components that make up the Internet
  2. The basic architecture of the Internet
  3. Web site categories

Code Quality Assurance (Unit Testing)

Many of the defects/incidents detected during system/acceptance testing could have been caught during unit testing. What checks should be included in a unit testing test plan?

  1. How to automate HTML, CSS, and XML code validation
  2. Sample HTML, CSS, and XML validation tools and services
  3. Which image formats work for the Web? GIF, JPG, PNG, BMP, or TIFF
  4. What are embedded fonts, proportional Fonts, and cascading style sheets?
  5. How XML and XSL are typically implemented in B2M and B2C applications

Compatibility

With over 100 different browser versions and multiple operating systems, how can you test every client-side platform to ensure that a Web page is presented the way the Designer originally intended?

  1. Review examples of Web sites that appear differently depending on which browser is used.
  2. What are the possible client-side hardware and software combinations?
  3. How to determine the appropriate client-side configurations for testing
  4. What is installability and serviceability testing?

Navigation

Look at the various methods developers use to allow visitors to navigate a Web site. Learn which navigational tests can and can’t be automated.

  1. The different types of Links
  2. How should broken links (404’s) be handled
  3. What to check for when reviewing Bookmarks/Favorites
  4. What are the testing issues associated with framesets?
  5. Suggested test cases for internal search engines
  6. Several different techniques for mapping Web sites
  7. What Web site checking tools can (and cannot) do for you
  8. How to measure navigational efficiency
  9. Sample Web site

Client-Side Functionality

Unfortunately it's often not enough to simply get users to find you. Unless a Web site provides some sort of integration, it typically is not going to be "sticky" enough to attract users back. What should testers consider when testing an interactive Web Site?

  1. Checklists for testing tables, forms, client-side scripts (JavaScript and VBScript) DHTML, pop-ups, and streaming content.
  2. Explore issues testing client-side objects such as Java applets and ActiveX controls
  3. Sample scripting tools.

Server-Side Functionality

Having a defect-free front end is half the story. What and how do you test the processing that's taking place on the server side of your Web site?

  1. How can you test dynamic code such as Service Side Includes (SSI), Active Server Pages (ASP), and Java Server Pages (JSP)
  2. What does it take to maintain a session and what does it take to break one?
  3. Checklists for testing cookies and shopping carts
  4. Learn the meaning of the terms CGI, ODBC, JDBC, ADO, PDI, SOAP, and ICE
  5. What you should consider testing when your Web application interfaces to a legacy system
  6. Suggestions for testing server-side object environments such as COM/DCOM, COBRA/IIOP, or EJB/RMI
  7. What is collaboration testing and why might you need a test harness?
  8. Sample Java testing tools

Usability and Accessibility

With the competition often only one click away, usability has become a critical competitive for many Web sites. How do you decide if a Web site is sufficiently usable?

  1. Site level and Web page level usability guidelines
  2. What's the difference between globalization (G11n), internationalization (18n), and localization (L10n) testing?
  3. Learn what built-in support browsers provide for multiple languages
  4. Determine if a Web page is printer friendly
  5. Implementing a readability test for a Web site
  6. Checking for minimum monitor presentations (e.g. colors and pixels)
  7. How can you rate a Web site's "accessibility?"
  8. What are assurance seals?
  9. Sample usability testing tools

Post Implementation

After you go live, there is a continuous need to retest and monitor the production Web site. Unlike traditional development where a captive audience is assured, Web users typically have numerous options. How do you ensure that potential users find your Web site in the first place?

  1. Example maintenance testing activities that a tester needs to do
  2. Measuring Web site success
  3. What are search engines, directories, and spiders—and why should a tester care?
  4. Inspecting meta tags
  5. Sample site recognition tools

Strategies and Organization

Explore the typical problems faced by an organization hosting their first Web Site and learn how a master test plan can be used to tie together all their individual test plans.

  1. The Master Test Plan
  2. Issues associated with implementing an automated tool
  3. Structure of master and detailed test plans
  4. Test deliverables

RELATED POST

UNIT TESTING PART ONE

UNIT TESTING PART TWO

UNIT TESTING PART THREE

GUI TESTING

WINDOWS COMPLIANCE GUI TESTING PART ONE

WINDOWS COMPLIANCE GUI TESTING PART TWO

WINDOWS COMPLIANCE GUI TESTING PART THREE

WINDOWS COMPLIANCE GUI TESTING PART FOUR VALIDATION TESTING

WINDOWS COMPLIANCE GUI TESTING PART FIVE CONDITION TESTING

WINDOWS COMPLIANCE GUI TESTING PART SIX GENERAL CONDITION TESTING

CONDITION TESTING

TESTING CONDITIONS PART ONE

TESTING CONDITIONS PART TWO

TESTING CONDITIONS PART THREE

TESTING CONDITIONS PART FOUR

SPECIFIC FIELD TESTING

USABILITY TESTING

INTEGRATION TESTING

INTEGRATION TESTING PART ONE

INTEGRATION TESTING PART TWO

INTEGRATION TESTING PART THREE

INTEGRATION TESTING PART FOUR

INTEGRATION TESTING PART FIVE

INTEGRATION TEST STANDARDS

INTEGRATION TEST STANDARDS PART TWO


User Manual for web testing

Step-by-Step

Before starting to use the Test Priority Sheet you need to establish certain factors. You need to be familiar with the following:

  1. Complexity (architecture, components)

  2. Aim (purpose, target group)

There are two questions presented under each test area below. The first is to be answered under Complexity and the second under Aim.

Multiply the values on the same row with each other and put the product under Testing Need. Do this for all rows.

Result

Compare the values in the Testing Need column with each other. The higher the value, the higher the testing need. If several rows have the same value, higher priority should often be given the area with the higher Aim value.

Functionality

Links:

Are links present and to what extent?

  • Are links critical and how sensitive is the target group to bad links?

Forms:

  • Are forms present? To what extent and how advanced?

  • How critical are forms for the site and how sensitive are users to problems with forms?

Cookies:

  • Are cookies used and to what extent?

  • How critical are the use of cookies?

Web Indexing:

  • How advanced and extent is the use of techniques affecting search engine indexing?

  • How severe effects will problems with web indexing have?

Programming Language:

  • To what extent are different programming languages used?

  • How critical effects can problems with Programming Language have?

Dynamic Interface Components:

  • How extent and how advanced are the use of different technologies?

  • How critical are the functions of these components and will users notice failure of these and how will they react?

Databases:

  • How complex is the database architecture?

  • How critical are databases to the aim of the application and how will users respond to failure?

Usability

Navigation:

  • How complex is the structure of the site?

  • How severe effects will difficulty of navigation have?

Graphics:

  • How extent is the use of different graphical elements?

  • How critical is the use of graphics and how sensitive will users be to problems with graphics?

Content:

  • To what extent does the site contain complex and sensitive information?

  • How severe effects will errors in the content have?

General Appearance:

  • How advanced is the site layout?

  • How sensitive are users to poor appearance?

Server side Interface

Server Interface:

  • How complex is the architecture?

  • How critical information is dependant on communication between different servers?

External Interface:

  • How complex is the architecture?

  • How critical information is dependant on communication with external servers?

Client side Compatibility

Platform:

  • To what extent does the site contain features with possible platform compatibility problems?

  • To what extent may users differ in platforms and how critical effects will compatibility issues have?

Browsers:

  • To what extent does the site contain features with possible browser compatibility problems?

  • To what extent may users differ in browsers and how serious effects will compatibility issues have?

Settings:

  • To what extent does the site contain features sensitive to different settings?

  • To what extent may users differ in settings?

Printers:

  • To what extent does the site contain information that requires printing capability?

  • To what extent may users differ in configuration and how frequently will they print?

Performance

Connection Speed:

  • To what extent are there features on the site sensitive to connection speed?

  • To what extent will users differ in connection speed and how sensitive will they be to bad performance?

Load:

  • Are there features on the site that are sensitive to high loads?

  • Will the presence of users reach high load levels?

Stress:

  • Are there features on the site that are sensitive to stress situations?

  • How likely is it that stress situations will occur and how severe effects may it cause?

Continuous use:

  • Are there features on the site that are sensitive to continuous use?

  • Will the site or feature be continuously used and what will be the effects of problems of the feature?

Security

General security:

  • How advanced is the security?

  • How critical is the security of the site?

RELATED POST

UNIT TESTING PART ONE

UNIT TESTING PART TWO

UNIT TESTING PART THREE

GUI TESTING

WINDOWS COMPLIANCE GUI TESTING PART ONE

WINDOWS COMPLIANCE GUI TESTING PART TWO

WINDOWS COMPLIANCE GUI TESTING PART THREE

WINDOWS COMPLIANCE GUI TESTING PART FOUR VALIDATION TESTING

WINDOWS COMPLIANCE GUI TESTING PART FIVE CONDITION TESTING

WINDOWS COMPLIANCE GUI TESTING PART SIX GENERAL CONDITION TESTING

CONDITION TESTING

TESTING CONDITIONS PART ONE

TESTING CONDITIONS PART TWO

TESTING CONDITIONS PART THREE

TESTING CONDITIONS PART FOUR

SPECIFIC FIELD TESTING

USABILITY TESTING

INTEGRATION TESTING

INTEGRATION TESTING PART ONE

INTEGRATION TESTING PART TWO

INTEGRATION TESTING PART THREE

INTEGRATION TESTING PART FOUR

INTEGRATION TESTING PART FIVE

INTEGRATION TEST STANDARDS

INTEGRATION TEST STANDARDS PART TWO


Performance test of a web page

Connection speed

Users may differ greatly in connection speed. They may be on a 28.8 modem or on a T3 connection. Users expect longer download times when retrieving demos or programs, but not when requesting a homepage. If the transaction response time is to long, user will leave the site. Other issues to consider are time-out on a page that request logins. If load time is to long, users may be thrown out due to time-out. Database problem may occur if the connection speed is two low, causing data loss.

Summary:

· Connection speed: 14.4, 28.8, 33.6, 56.6, ISDN, cable, DSL, T1, T3

· Time-out


Load

What is the estimated number of users per time period and how will it be divided over the period? Will there be peak loads and how will the system react? Can your site handle a large amount of users requesting a certain page? Load testing is done to measure the performance at a given load level to assure that the site work within requirements for performance. The load level may be a certain amount of users using your site at the same time or large amount of data transactions from user such as online ordering.

Summary:

· Many users requesting a certain page at the same time or using the site simultaneously

· Large amount of data from users

3. Stress

Stress testing is done in order to actually break a site or a certain feature to determine how the system reacts. Stress tests are designed to push and test system limitations and determine whether the system recovers gracefully from crashes. Hackers often stress systems by providing loads of wrong in-data until it crash and then gain access

to it during start-up. Typical areas to test are forms, logins or other information transaction components.

Summary:

· Performance of memory, CPU, file handling etc.

· Error in software, hardware, memory errors (leakage, overwrite or pointers)

1. Continuous use

Is the application or certain features going to be used only during certain periods of time or will it be used continuously 24 hours a day 7 days a week? Test that the application is able to perform during those conditions. Will downtime be allowed or is that out of the question? Verify that the application is able to meet the requirements and does not run out of memory or disk space.

Security:

Security is an area of immense extent, and would need extensive writing to be fairly covered. We will no more than point out the most central elements to test. First make sure that you have a correct directory setup. You don’t want users to be able to browse through directories on your server.

Logins are very common on today’s web sites, and they must be error free. Make sure to test both valid and invalid login names and passwords. Are they case sensitive? Is there a limit to how many tries that are allowed? Can it be bypassed by typing the URL to a page inside directly in the browser?

Is there a time-out limit within your site? What happens when it’s exceeded? Are users still able to navigate through the site?

Logfiles are a very important in order to maintain security at the site. Verify that relevant information is written to the logfiles and that the information is traceable.

When secure socket layers are used, verify that the encryption is done correctly and check the integrity of the information.

Scripting on the server often constitute security holes and are often used by hackers. Test that it isn’t possible to plant or edit scripts on the server without authorization.

related post

UNIT TESTING PART ONE

UNIT TESTING PART TWO

UNIT TESTING PART THREE

GUI TESTING

WINDOWS COMPLIANCE GUI TESTING PART ONE

WINDOWS COMPLIANCE GUI TESTING PART TWO

WINDOWS COMPLIANCE GUI TESTING PART THREE

WINDOWS COMPLIANCE GUI TESTING PART FOUR VALIDATION TESTING

WINDOWS COMPLIANCE GUI TESTING PART FIVE CONDITION TESTING

WINDOWS COMPLIANCE GUI TESTING PART SIX GENERAL CONDITION TESTING

CONDITION TESTING

TESTING CONDITIONS PART ONE

TESTING CONDITIONS PART TWO

TESTING CONDITIONS PART THREE

TESTING CONDITIONS PART FOUR

SPECIFIC FIELD TESTING

USABILITY TESTING

INTEGRATION TESTING

INTEGRATION TESTING PART ONE

INTEGRATION TESTING PART TWO

INTEGRATION TESTING PART THREE

INTEGRATION TESTING PART FOUR

INTEGRATION TESTING PART FIVE

INTEGRATION TEST STANDARDS

INTEGRATION TEST STANDARDS PART TWO

Server Side Interface testing

Due to the complex architecture of web systems, interface and compatibility issues may occur on several areas. The core components are web servers, application servers and database servers (and possibly mail servers). Web servers normally hosts HTML pages and other web services. Application severs typically contains objects such as programs, scripts, DLLs or third party products, that provide and extend functionality and effects for the web application.

Test the communication between the different servers by making transactions and view logfiles to verify the result. Depending on the configuration of the server side compatibility issues may occur depending on, for example, server hardware, server software or network connections. Database compatibility issues may occur depending on different database types (SQL, Oracle, Sybase etc.).

Issues to test:

  1. Verify that communication is done correctly, web server-application server, application server-database server and vice versa.
  2. Compatibility of server software, hardware, network connections
  3. Database compatibility (SQL, Oracle, Sybase etc.)

Client Side compatibility:

  1. Platform

There are several different operating systems that are being used on the market today, and depending on the configuration of the user system, compatibility issues may occur. Different applications may work fine under certain operating systems, but fail under another. The following are the most commonly used:

    • Windows (95, 98, 2000, NT)

  1. Unix (different sets)

  2. Macintosh

  3. Linux

  4. Browsers

The browser is the most central component on the client side of the web. Browsers come in different brands and versions and have different support for Java, JavaScript, ActiveX, plugins or different HTML specifications. ActiveX, for example, is a Microsoft product and therefore designed for Internet Explorer, while JavaScript is produced by Netscape and Java by Sun. This substantiates the fact that compatibility problems commonly occur. Frames and Cascading style sheets may display differently on different browsers, or not at all. Different browsers also have different settings for e.g. security or Java support.

  1. Internet Explorer (3.X 4.X, 5.X)
  2. Netscape Navigator (3.X, 4.X, 6.X)
  3. AOL
  4. Browser settings (security settings, graphics, Java etc.)
  5. Frames and Cascade Style sheets
  6. Applets, ActiveX controls, DHTML, client side scripting
  7. HTML specifications
  8. Graphics
  1. Settings, Preferences

Depending on settings and preferences of the client machine, web applications may behave differently. Try and vary the following:

  1. Screen resolution (check that text and graphic alignment still work, font are readable etc.)
  2. Colour depth (256, 16-bit, 32-bit)
  1. Printing

Despite the paperless society the web was to introduce, printing is done more than ever. Verify that pages are printable with considerations on:

  1. Text and image alignment
  2. Colours of text, foreground and background
  3. Scalability to fit paper size
  4. Tables and borders

related post

UNIT TESTING PART ONE

UNIT TESTING PART TWO

UNIT TESTING PART THREE

GUI TESTING

WINDOWS COMPLIANCE GUI TESTING PART ONE

WINDOWS COMPLIANCE GUI TESTING PART TWO

WINDOWS COMPLIANCE GUI TESTING PART THREE

WINDOWS COMPLIANCE GUI TESTING PART FOUR VALIDATION TESTING

WINDOWS COMPLIANCE GUI TESTING PART FIVE CONDITION TESTING

WINDOWS COMPLIANCE GUI TESTING PART SIX GENERAL CONDITION TESTING

CONDITION TESTING

TESTING CONDITIONS PART ONE

TESTING CONDITIONS PART TWO

TESTING CONDITIONS PART THREE

TESTING CONDITIONS PART FOUR

SPECIFIC FIELD TESTING

USABILITY TESTING

INTEGRATION TESTING

INTEGRATION TESTING PART ONE

INTEGRATION TESTING PART TWO

INTEGRATION TESTING PART THREE

INTEGRATION TESTING PART FOUR

INTEGRATION TESTING PART FIVE

INTEGRATION TEST STANDARDS

INTEGRATION TEST STANDARDS PART TWO

Usability and software test for web application

Navigation

Navigation describes the way users navigate within a page, between different user interface controls (buttons, boxes, lists, windows etc.), or between pages via e.g. links. To determine whether or not your page is easy to navigate through consider the following. Is the application’s navigation intuitive? Are the main features of the site accessible from the main page?

Do the site need a site map, search engine, or other navigational help. Be careful though that you don’t over do your site. They rarely take the time to learn about the sites structure, and it is therefore important to keep the navigational help as concise as possible.

Another important aspect of navigation is if the site is consistent in its conventions regarding page layout, navigation bars, menus, links etc. Make sure that users intuitively know that they are still within the site by keeping the page design uniform throughout the site.

As soon as the hierarchy of the site is determined, testing of how users navigate can commence.

Summary:

  1. Intuitive navigation
  2. Main features accessible from main page
  3. Site map or other navigational help
  4. Consistent conventions (navigation bars, menus, links etc.)
  1. Graphics

The graphics of a web site include images, animations, borders, colours, movie clips, fonts, backgrounds, buttons etc. Issues to check are:

  1. Make sure that the graphics serve a definite purpose and that images or animations don’t just clutter up the visual design and waste bandwidth
  2. Verify that fonts are consistent in style
  3. Suitable background colours combined with font- and foreground colour. Remember that a computer display exceptionally well presents contrasts apposed to printed paper
  4. Three-dimensional effects on buttons often gives useful cues
  5. When displaying large amount of images, consider using thumbnails. Check that the original picture appears when a thumbnail is clicked
  6. Size – quality of pictures, usage of compressed formats (JPG or GIF)
  7. Mouse-over effects
  1. Content

Content testing is done to verify the correctness, accuracy and relevancy of information presented on the site, or in a database, in forms of text, images or animations.

Correctness is whether the information is truthful or contains misinformation. For example wrong prices in a price list may cause financial problems or even induce legal issues.

The accuracy of the information is whether it is without grammatical or spelling errors. These kinds of verifications are often done in e.g. Word or other word processors.

Content testing should be done as early as possible, i.e. when the information is posted.

RELATED POST

UNIT TESTING PART ONE

UNIT TESTING PART TWO

UNIT TESTING PART THREE

GUI TESTING

WINDOWS COMPLIANCE GUI TESTING PART ONE

WINDOWS COMPLIANCE GUI TESTING PART TWO

WINDOWS COMPLIANCE GUI TESTING PART THREE

WINDOWS COMPLIANCE GUI TESTING PART FOUR VALIDATION TESTING

WINDOWS COMPLIANCE GUI TESTING PART FIVE CONDITION TESTING

WINDOWS COMPLIANCE GUI TESTING PART SIX GENERAL CONDITION TESTING

CONDITION TESTING

TESTING CONDITIONS PART ONE

TESTING CONDITIONS PART TWO

TESTING CONDITIONS PART THREE

TESTING CONDITIONS PART FOUR

SPECIFIC FIELD TESTING

USABILITY TESTING

INTEGRATION TESTING

INTEGRATION TESTING PART ONE

INTEGRATION TESTING PART TWO

INTEGRATION TESTING PART THREE

INTEGRATION TESTING PART FOUR

INTEGRATION TESTING PART FIVE

INTEGRATION TEST STANDARDS

INTEGRATION TEST STANDARDS PART TWO

Test Areas for web page software testing

Functionality testing:

  1. Links

Links are maybe the main feature on web sites. They constitute the mean of transport between pages and guide the user to certain addresses without the user knowing the actual address itself. Linkage testing is divided into three sub areas.

First - check that the link takes you to the page it said it would.

Second – That the link isn’t broken i.e. that the page you’re linking to exists.

Third – Ensure that you have no orphan pages at your site. An orphan page is a page that has no links to it, and may therefore only be reached if you know the correct URL. Remember that to reduce redundant testing, there is no need to test a link more than once to a specific page if it appears on several pages; it needs only to be tested once.

Link testing should be done during integration testing, when connections between pages subsist.

  1. Forms

Forms are used to submit information from the user to the host, which in turn gets processed and acted upon in some way. Testing the integrity of the submitting operation should be done in order to verify that the information hits the server in correct form. If default values are used, verify the correctness of the value.

If the forms are designed to only accept certain values this should also be tested for. For example, if only certain characters should be accepted, try to override this when testing. These controls can be done both on the client side as well as the server side, depending on how the application is designed, for example using scripting languages such as Jscript, JavaScript or VBScript. Check that invalid inputs are detected and handled.

Check the following:

  1. Information hits the server in correct form
  2. Acceptance of invalid input
  3. Handling of wrong input (both client an server side)
  4. Optional versus mandatory fields
  5. Input longer than field allows
  6. Radio buttons
  7. Default values
  1. Cookies

Cookies are often used to store information about the user and his actions on a particular site. When a user accesses a site that uses cookies, the web server sends information about the user and stores it on the client computer in form of a cookie. These can be used to create more dynamic and custom-made pages or by storing, for example, login info. If you have designed your site to use cookies, they need to be checked.

Verify that the information that is to be retrieved is there. If login information is stored in cookies check for correct encryption of these. Does it still function or will the user get notified of the current situation. How will temporary cookies be handled? What will happen when cookies expire? Depending on what cookies are used for, one should examine the possibilities for other solutions.

Summary:

  1. Encryption of e.g. login info
  2. Users denying or accepting
  3. Temporary and expired cookies

  1. Web Indexing

There are a number of different techniques and algorithms used by different search engines to search the Internet. Depending on how the site is designed using Meta tags, frames, HTML syntax, dynamically created pages, passwords or different languages, your site will be searchable in different ways.

Summary:

  1. Meta tags
  2. Frames
  3. HTML syntax
  4. Passwords
  5. Dynamically created pages
  1. Programming Language

Differences in web programming language versions or specifications can cause serious problems on both client or server side. For example, which HTML specification will be used (for example 3.2 or 4.0)? How strictly? When HTML is generated dynamically it is important to know how it is generated.

Summary:

  1. Language specifications
  2. Language syntax (HTML, C++, Java, Scripting languages, SQL etc.)
  1. Dynamic Interface Components

Web pages are not just presented in static HTML anymore. Demands for more dynamic features, custom made sites and high interactivity have made the Internet a more vivid place than before. Dynamic Interface Components reside and operate both on server

and client side of the web, depending on the application. The most important include Java applets, Java Servlets, ActiveX controls, JavaScript, VBScript, CGI, ASP, CSS and third-party plug-ins (QuickTime, ShockWave or RealPlayer). The issue here is to test and verify the function of the components, not compatibility issues. An example of what to test can be a Java applet constructing and displaying a chart of company statistics, where the information first have to be retrieved and then interpreted and displayed on the screen. Since server-side components don’t have user interface, event logging (logfiles) can be used to record events by applications on the server side in order to determine functionality.

Resources: Java Specific tools: JavaSpec and JavaStar.

Summary:

  1. Do client side components (applets, ActiveX controls, JavaScript, CSS etc.) function as intended (i.e. do the components perform the right tasks in a correct way)
  2. User disabling features (Java-applets, ActiveX, scripts etc.)
  3. Do server side components (ASP, Java-Servlets, server-side scripting etc.) function as intended (i.e. do the components perform the right tasks in a correct way)
  1. Databases

Databases play an important role in web application technology, housing the content that the web application manages, running queries and fulfilling user requests for data storage. The most commonly used type of database in web applications is the relational database and it’s managed by SQL to write, retrieve and editing of information.

In general, there are two types of errors that may occur, data integrity errors and output errors. Data integrity errors refer to missing or wrong data in tables and output errors are errors in writing, editing or reading operations in the tables. The issue is to test the functionality of the database, not the content and the focus here is therefore on output errors. Verify that queries, writing, retrieving or editing in the database is performed in a correct way.

Issues to test are:

  1. Creation of tables
  2. Indexing of data
  3. Writing and editing in tables (for example valid numbers or characters, input longer than field etc.)
  4. Reading from tables

RELATED POST

UNIT TESTING PART ONE

UNIT TESTING PART TWO

UNIT TESTING PART THREE

GUI TESTING

WINDOWS COMPLIANCE GUI TESTING PART ONE

WINDOWS COMPLIANCE GUI TESTING PART TWO

WINDOWS COMPLIANCE GUI TESTING PART THREE

WINDOWS COMPLIANCE GUI TESTING PART FOUR VALIDATION TESTING

WINDOWS COMPLIANCE GUI TESTING PART FIVE CONDITION TESTING

WINDOWS COMPLIANCE GUI TESTING PART SIX GENERAL CONDITION TESTING

CONDITION TESTING

TESTING CONDITIONS PART ONE

TESTING CONDITIONS PART TWO

TESTING CONDITIONS PART THREE

TESTING CONDITIONS PART FOUR

SPECIFIC FIELD TESTING

USABILITY TESTING

INTEGRATION TESTING

INTEGRATION TESTING PART ONE

INTEGRATION TESTING PART TWO

INTEGRATION TESTING PART THREE

INTEGRATION TESTING PART FOUR

INTEGRATION TESTING PART FIVE

INTEGRATION TEST STANDARDS

INTEGRATION TEST STANDARDS PART TWO

Handling the Factors of software testing

Consider a web application, any web application, but only one.

  1. To what extent does it depend on links, forms or cookies?

  2. Is the content valid according to the purpose of the site?

  3. Does the site contain features sensible to slow connection speeds?

  4. How will the target group react to long download times?

For Complexity, one must consider how the application is built, of what components, both hardware and software, and the architecture of the application. Purpose is what the application is meant to achieve and Target Group is, of course, for what group, or groups, your efforts are aimed.

Functionality

  • Is the feature present - To what extent and how advanced

  • How critical is the feature for the Aim of the site

Performance

  • Does the site contain features that demand specific performance and to what extent

  • How sensitive are users to the performance of the site

First, overall testing requirements may be established using the methodology on the application as a whole. For instance, the project leader and the test leader go through the Test Priority Sheet considering the established architecture and requirements of the application.

A second step is to view the points of integration and consider what requirements that can and should be verified at those points. Integration is usually done on several levels, such as integrating single units with each other as well as putting larger systems together by integrating subsystems consisting of previously integrated units.

Third, having used the Test Priority Sheet on unit level, the project leader and test leader are able to give valid advise to developers what to test on unit level as well, even before the coding has started.

Areas to test:

User interface

  1. Instructions

  2. Sitemap/nav.bar

  3. Content

  4. Colour/background

  5. Images

  6. Tables

  7. Wrap around

Functionality

  1. Links

  2. Forms

  3. Cookies

  4. Web Indexing

  5. Dynamic Interface Components

  6. Programming Language

  7. Databases

Interface testing

  1. Server interface

  2. External interface

  3. Error handling

Client side Compatibility

  1. Operating systems

  2. Browsers

  3. Video settings

  4. Modem/connection speed

  5. Printers

  6. Combinations

Performance

  1. Connection speed

  2. Load

  3. Stress

  4. Continuous use

Security

  1. Directory setup

  2. SSL

  3. Logins

  4. Logfiles

  5. Scripting languages

RELATED POST

UNIT TESTING PART ONE

UNIT TESTING PART TWO

UNIT TESTING PART THREE

GUI TESTING

WINDOWS COMPLIANCE GUI TESTING PART ONE

WINDOWS COMPLIANCE GUI TESTING PART TWO

WINDOWS COMPLIANCE GUI TESTING PART THREE

WINDOWS COMPLIANCE GUI TESTING PART FOUR VALIDATION TESTING

WINDOWS COMPLIANCE GUI TESTING PART FIVE CONDITION TESTING

WINDOWS COMPLIANCE GUI TESTING PART SIX GENERAL CONDITION TESTING

CONDITION TESTING

TESTING CONDITIONS PART ONE

TESTING CONDITIONS PART TWO

TESTING CONDITIONS PART THREE

TESTING CONDITIONS PART FOUR

SPECIFIC FIELD TESTING

USABILITY TESTING

INTEGRATION TESTING

INTEGRATION TESTING PART ONE

INTEGRATION TESTING PART TWO

INTEGRATION TESTING PART THREE

INTEGRATION TESTING PART FOUR

INTEGRATION TESTING PART FIVE

INTEGRATION TEST STANDARDS

INTEGRATION TEST STANDARDS PART TWO

Methodology for web software testing

The of estaprocess blishing a purposeful and easy to use methodology resulted in a matrix, where the rows consist of the areas to test and the columns of the factors to consider. The methodology employs the Risk-based approach presented in the end .Two of the factors established in, purpose and target group, are combined into to a new factor, Aim. Besides the testing need values, using the matrix, called Test Priority Sheet, gives you a good idea on the overall complexity of your application and the testing effort needed throughout the development.

Related Posts

UNIT TESTING PART ONE

UNIT TESTING PART TWO

UNIT TESTING PART THREE

GUI TESTING

WINDOWS COMPLIANCE GUI TESTING PART ONE

WINDOWS COMPLIANCE GUI TESTING PART TWO

WINDOWS COMPLIANCE GUI TESTING PART THREE

WINDOWS COMPLIANCE GUI TESTING PART FOUR VALIDATION TESTING

WINDOWS COMPLIANCE GUI TESTING PART FIVE CONDITION TESTING

WINDOWS COMPLIANCE GUI TESTING PART SIX GENERAL CONDITION TESTING

CONDITION TESTING

TESTING CONDITIONS PART ONE

TESTING CONDITIONS PART TWO

TESTING CONDITIONS PART THREE

TESTING CONDITIONS PART FOUR

SPECIFIC FIELD TESTING

USABILITY TESTING

INTEGRATION TESTING

INTEGRATION TESTING PART ONE

INTEGRATION TESTING PART TWO

INTEGRATION TESTING PART THREE

INTEGRATION TESTING PART FOUR

INTEGRATION TESTING PART FIVE

INTEGRATION TEST STANDARDS

INTEGRATION TEST STANDARDS PART TWO

Test Approaches for web page testing

Test approaches, or test techniques used, will differ throughout the process. Depending on the stage of the test process, type of test etc. the scope and manner of test will change.

Walkthroughs and inspections

Not all test approaches, or techniques, are supposed to actually test an application. Walkthroughs and Inspections are techniques that are used to decrease the risk of future errors to occur. The purpose is to find problems and see what is missing. Walkthrough is a review process in which a designer leads one or more through a segment of design or code, he or she has written. Inspection is a formal evaluation technique involving detailed examination by a person or group other than the author to detect faults and problems .

White-box testing

White-Box testing (fig 2.3) focuses on finding faults in the code and architecture of the application. The code and architecture are known to the tester and the tests should be designed and executed in a manner that guarantees full coverage even though some areas are believed to be less important or less executed during actual running of the application.

Black-box testing

Black-Box testing ,on the other hand, may be done without knowing how things are done, but instead concentrating on what should be done. The approach is often used during functionality testing. Cases are based on specifications and requirements of the application or function to be tested. Valid and invalid inputs are tested and actual outcome is compared to expected outcome based on requirements.

The White-box approach is to an higher extent used early in the development and testing process, before there are any visible functions to test, while the Black-box approach is used later when functions are visible and can be tested.

Gray-box testing

To completely test a web application one needs to combine the two approaches; White-box and Black-box testing. The Gray-box testing approach takes into account all components making up a complete web application, including the environment on witch it resides. Gray-box testing is integral to web application testing because of the numerous components, both software and hardware, that make up the complete application.

Risk-based analysis

· Prioritize testing features that are necessary parts of the product.

· Prioritize testing features that affect the largest number of users.

· Prioritize testing features that are chosen frequently by users.

What these features are, differ from application to application and they are not always obvious. These purposes present different needs of prioritizing. A site for business transactions, for

instance an Internet banking service, has security requirements that must be fulfilled for us users to feel confident in the application, or we will not use it. A promotional site, on the other hand, has no apparent need of high security in that sense.

  • When we see an error on the client side, we are seeing the symptom of an error—not the error itself.

  • Errors may be environment-dependent and may not appear in different environments.

  • Errors may be in the code or in the configuration.

  • Errors may reside in any of several layers (Client/Server/Network).

  • Examining the two classes of operating environments—static versus dynamic—demands different approaches

Establishing the Need for Testing:

The goal was to achieve an easy to follow methodology with quantifiable measures, for any tester to follow when testing any type of web site or application.

Factors Affecting the Testing Need

Within the process of software development, the element of testing has become an area where more and more resources are being spent. But time is often short, creating a need to prioritize. To be able to do this prioritization, there is a need to identify the factors that constitute the foundation for what to test.

  • Static Web Sites

  • Static with Form-Based interactivity

  • Sites with Dynamic Data Access

  • Dynamically Generated Sites

  • Web-Based Software Applications

The categories are:

  • Internal: For instance an Intranet. Within the responsible company.

  • Public: Possible future customers.

related post

UNIT TESTING PART ONE

UNIT TESTING PART TWO

UNIT TESTING PART THREE

GUI TESTING

WINDOWS COMPLIANCE GUI TESTING PART ONE

WINDOWS COMPLIANCE GUI TESTING PART TWO

WINDOWS COMPLIANCE GUI TESTING PART THREE

WINDOWS COMPLIANCE GUI TESTING PART FOUR VALIDATION TESTING

WINDOWS COMPLIANCE GUI TESTING PART FIVE CONDITION TESTING

WINDOWS COMPLIANCE GUI TESTING PART SIX GENERAL CONDITION TESTING

CONDITION TESTING

TESTING CONDITIONS PART ONE

TESTING CONDITIONS PART TWO

TESTING CONDITIONS PART THREE

TESTING CONDITIONS PART FOUR

SPECIFIC FIELD TESTING

USABILITY TESTING

INTEGRATION TESTING

INTEGRATION TESTING PART ONE

INTEGRATION TESTING PART TWO

INTEGRATION TESTING PART THREE

INTEGRATION TESTING PART FOUR

INTEGRATION TESTING PART FIVE

INTEGRATION TEST STANDARDS

INTEGRATION TEST STANDARDS PART TWO