Đang chuẩn bị liên kết để tải về tài liệu:
Lecture Software engineering II: Chapter 19 - Dr. Muzafar Khan
Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG
Tải xuống
Chapter 19 - Testing web applications (cont). In this chapter, the following content will be discussed: Quality dimensions, testing strategy, content testing, database testing, user interface testing. | Testing Web Applications SEII-Lecture 19 Dr. Muzafar Khan Assistant Professor Department of Computer Science CIIT, Islamabad. 1 Recap Quality dimensions Content, function, structure, usability, navigability, performance, compatibility, interoperability, security Testing strategy Content testing Database testing User interface testing Testing interface mechanisms, usability tests, compatibility tests 2 Component-Level Testing [1/2] Function testing Errors related to WebApp functions Test cases are often derived from forms-level input Equivalence partitioning Input categories or classes Input form is assessed for particular class Test cases for each input class are derived and executed Other classes are held constant Example: postal code 3 Component-Level Testing [2/2] Boundary value analysis Forms data are tested for their boundaries Example: minimum and maximum delivery time Path testing Logical complexity of function Every independent path should be tested Forced error testing Purposely drive component into an error condition Errors related to error handling e.g. incorrect message and WebApp failure 4 Navigation Testing Visitor walks through a store Many pathways, stops, things to look and learn, activities, or decisions Every visitor has a set of objectives Navigation process can be unpredictable Objectives of navigation testing are to ensure Navigation mechanisms are functional Navigation semantic unit can be achieved 5 Testing Navigation Syntax [1/2] Navigation links Internal links External links Anchors within a specific web page Redirects In case of nonexistent URL / contents removed Appropriate message and redirection to other page Bookmarks Browser function Meaningful page title and creation 6 Testing Navigation Syntax [2/2] Frames and framesets Frame contains the content of page Frameset contains multiple frames Nesting of frames and framesets Testing for correct content, proper layout and sizing, download performance, and browser compatibility Site maps . | Testing Web Applications SEII-Lecture 19 Dr. Muzafar Khan Assistant Professor Department of Computer Science CIIT, Islamabad. 1 Recap Quality dimensions Content, function, structure, usability, navigability, performance, compatibility, interoperability, security Testing strategy Content testing Database testing User interface testing Testing interface mechanisms, usability tests, compatibility tests 2 Component-Level Testing [1/2] Function testing Errors related to WebApp functions Test cases are often derived from forms-level input Equivalence partitioning Input categories or classes Input form is assessed for particular class Test cases for each input class are derived and executed Other classes are held constant Example: postal code 3 Component-Level Testing [2/2] Boundary value analysis Forms data are tested for their boundaries Example: minimum and maximum delivery time Path testing Logical complexity of function Every independent path should be tested Forced error testing .