Block 4 p5 Flashcards
What is thr only way to ensure the web application is working
To test it
The types of testing
Functionality testing: verify if the web pages are functional, check hyperlinks, data collection forms…
Usability testing: ensure that the application is easy to use
Accessibility testing: ensure the app is accessible to all users
interface testing : cooperation between app and database servers
Compatobility testing: working regardless of browser and os and hardware
performance testing: ability for servers to respond to jser demand
Sercurity testing: ensure app implements authentication and authorisation controls
Regression testing: software testing to uncover defects
What is Unit test and what should it cover
verify small execution of small pieces of code
Should cover :
XHTML validation
CSS validation
Forms
Internela hyperlinks
Client side obj and funct
Server side obj snd funct
Database queries
What is integration tests
verify that individual units work together (for typical web app testing functionality , usability, browser, compatibility, accessibility)
What is usability tests and whay are the potential erros
conducted to identify usability issues in ui and content areas
Some errors include
navigation errors : fail to locste fucntions , too many keystroke
Presentation errors : failure to locate important information on the page
Control usage problems : incorrect use of buttons, tabs, toolbars failure to enter data in correct field
What are functional tests
designed arround specific tasks, user registration , catalogue search and will highlight integration problems between the client and server
What are system tests , what are its goal
verify performance of the app in its final configuration and verify integration with otherbhardware or software systems - it is conductiled on a dedicated set of equipment
the goal of these tests is to establish:
that the system meet planned response times for a given load
sydtem remains stable under high load
(load js the number if simultaneous users accessing web apps)
What are the three types of system tests
load test: determine response time for a function
Stress test: assess performance of app when load exceedds the expexted usage - goal thay the system remains reliable
Capacity test: know the maximum number of users the app can support reliably
what are aceptance tests
final phase of testing in v model lifecycle
verify the web browser fulfild thr user requirements that were established , the client should perform the acceptance test
What are the critic areas for client involvmemt
function: app fulfils the functional requirements
Usability: confirm that end user can get information quickly and easily , onscreen instructions are understandable
Work flow: sequence of web pages of an application match the underlying process flow
HIGH risk functionality must be tezting but low risk ones can be skipped
Manual testing and Automated testing
knowing the best way to perform the tests can be as important as the tests themselves
Manual testing: flexibility of the human operator
Automating: create a program to process the web page extract all the tags request the resource and record the outcome
What are some automation tools
Selenium and Watir to test local files
JMeter requires that the target files are hosted on a web browser
Advantages and disadvantages of manual testing
Advantages
-basic function tests can be completed with just a browser ,
-operators can process multi language applications
-find a wide range of errors by thinking outside of the box
-Quick to initiate tests by making use of operators intelligence
Disadvantages:
-op may restrict tests to those specified
-Slow to exexute all possible paths
-inconsistent results from user input errors
-Difficult to test performance of the server because real users cant generate sufficient load
Advantages and Disadvantages of automatic testing
Advantages :
fast, repeatable
consistent result
can create high loads
extensive record keeping of test result
better management of complex test sets
Disadvantages:
Software licence
software instalation administration and maintenance
Time required to learn and test tools
Tests restricted to.whatever is contained in the program
What are test environments
configuration of clients, servers, and network