Block 4 p5 Flashcards

1
Q

What is thr only way to ensure the web application is working

A

To test it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The types of testing

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Unit test and what should it cover

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is integration tests

A

verify that individual units work together (for typical web app testing functionality , usability, browser, compatibility, accessibility)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is usability tests and whay are the potential erros

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are functional tests

A

designed arround specific tasks, user registration , catalogue search and will highlight integration problems between the client and server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are system tests , what are its goal

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the three types of system tests

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what are aceptance tests

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the critic areas for client involvmemt

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Manual testing and Automated testing

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are some automation tools

A

Selenium and Watir to test local files
JMeter requires that the target files are hosted on a web browser

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Advantages and disadvantages of manual testing

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Advantages and Disadvantages of automatic testing

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are test environments

A

configuration of clients, servers, and network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

who is responsible of unit testingnand version control

A

developers

17
Q

what does isolating the network do

A

protects the test env from application and configuration errors and maximise the available bandwith

18
Q

Is the production env also a test env

A

No and it should never be used as one

19
Q

What is a test plan

A

document that sets out the objectives , respinsibilities and reporting methods related to testing

20
Q

What are the key sections of a test plan

A

Introduction: sumary about the web app

Obejctives: purpose of the tests to be conducted

Test methods: main ohases of testing, type of tests, how it will be conducted (automatoc, manual)

Responsibilitiea: details of the people and the tests theybare responsible of

Test env: resources required to test within tbe planned schedule

Error reporting: details aboug funct errors during testing

Schedule: planned testing acticity and risks that might delay

Appendices: references to other project documents

21
Q

When is preparation is started

A

as soon as the user req have been agreed