web-b ase a pplication t esting
DESCRIPTION
WEB-B ASE A PPLICATION T ESTING. Teacher: Lâm Quang Vũ Trần Duy Hoàng. Group : D. Group leader: D1:Phạm Bá Thuần0812504 D2:Liễu Quang Tín0812520 D3: D4: Hoàng Quốc Minh Trung 0912493 D5:Phạm Danh0912051. Content. Overview Web Application Testing Q&A. - PowerPoint PPT PresentationTRANSCRIPT
WEB-BASE APPLICATION TESTING
Group leader:D1:Pham Ba Thuân 0812504D2:Liêu Quang Tin 0812520D3:D4:Hoàng Quốc Minh Trung 0912493D5:Pham Danh 0912051
Group: D
Seminar Software Testing – Group D 1
Teacher: Lâm Quang Vu Trân Duy Hoàng
Content
I. OverviewII. Web Application TestingIII.Q&A
Seminar Software Testing – Group D 2
I. Overview
Web testing is the name given to software testing that focuses on web applications
Seminar Software Testing – Group D 3
What is web testing?
I. Overview
To solve address issues before the system is revealed to the public
To solve issues such as the security of the web application, the basic functionality of the site
To ready for large number of user and access with hight bandwidth
Seminar Software Testing – Group D 4
Why ?
I. Overview
Large varied user baseBusiness environmentLocalesTesting environmentsSecurityBrowsers CompabilityFirewallIntranet and Internet based ApplicationsNetwork Speed
Seminar Software Testing – Group D 5
Testing Challenges
II. Web Application Testing
Seminar Software Testing – Group D 6
1. Link checker
2. Cookies-Javscript Testing
3. Web Browser
4. Load Test And Stress Test
5. Web Service Testing
1. Link checker
Seminar Software Testing – Group D 7
A tool or online service that is used
to test and report on the validity of the hypertext
links on the pages in a Web site
What is link checker ?
1. Link checker
Seminar Software Testing – Group D 8
Link Checker Pro(30 day trial)LinkTiger(15 day trial)W3C Link Checker(Free)Google Webmaster Tools(Free)LinkChecker by 2bone(Free)REL Link Checker Lite(Free)WebLight(Free)....
Some link checkers tool:
1. Link checker
Seminar Software Testing – Group D 9
2. Cookies-Javscript Testing
A. Cookies TestingB. Session Timeout TestingC. JavaScript Testing
Seminar Software Testing – Group D 10
A. Cookies Testing
What is cookie ?
Cookies is small information stored in text file on user’s hard drive by web server.
This information is later used by web browser to retrieve information from that machine
Seminar Software Testing – Group D 11
A. Cookies Testing
Why we have to test cookie ?
To make sure that the cookies do not store confidential information.
To check the number of cookies used
Make sure that the application maintains its efficiency when switched off or Accept cookies
Seminar Software Testing – Group D 12
A. Cookies Testing
Why we have to test cookie ?
To check application response to the damaged cookies.
Make sure that cookies are stored and removed it to the pages on which it is expected and necessary.
Testing that cookies are working correctly in all browsers that will be used by application.
Seminar Software Testing – Group D 13
A. Cookies Testing
How to test cookie ?
Disabling Cookies.
Selective Rejecting Cookies.
Corrupting Cookies.
Cookies Encryption
Seminar Software Testing – Group D 14
A. Cookies Testing
Disabling Cookies ?
This is probably the easiest area of cookie testing.
Disable all cookies and attempt to use the site’s major features and functions.
With cookies disabled, our testing job is somewhat reduced.
Seminar Software Testing – Group D 15
A. Cookies Testing
Selective Rejecting Cookies ?
Start by deleting all cookies from our PC.
Analyze site cookie usage in advance and draw up a test plan.
Detailing what cookies to reject/accept for each function.
Seminar Software Testing – Group D 16
A. Cookies Testing
Corrupting Cookies ?
Altering the data in the persistent cookies.
Allow the cookie to be modified.
Selectively deleting cookies.
Seminar Software Testing – Group D 17
A. Cookies Testing
Cookies Encryption?
By using encryption of the cookie data.
Sensitive information like usernames and passwords should been encrypted before it is sent to our computer.
A case can certainly be made that certain types of sensitive data.
Seminar Software Testing – Group D 18
A. Cookies Testing
Test cases for cookie testing?
Check if the application is writing cookies properly or not.
Test to make sure that no personal or sensitive data is stored in the cookie. If it is there in cookies, it should be in encrypted format.
If the application under test is a public website, there should not be overuse of cookies.
Seminar Software Testing – Group D 19
A. Cookies Testing
Test cases for cookie testing?
Close all browsers, delete all previously written cookies and disable the cookies from our browser settings.
Set browser options to prompt whenever cookie is being stored/saved in your system.
Close all browsers windows and manually delete all cookies.
Seminar Software Testing – Group D 20
B. Session Timeout Testing
What is Session timeout ?
The time-out period assigned to the Session object for the application.
If the user does not refresh or request a page within the time-out period, the session ends.
Seminar Software Testing – Group D 21
B. Session Timeout Testing
How to test the Session timeout ?
1 - Login into specific web application. 2 - Sleep that script for timing of one User session 3 - Then perform some action on the page 4 - Observe the response of that action. 5 - Application should show alert. If it is not then
probably session is not ending properly
Seminar Software Testing – Group D 22
C. JavaScript Testing
What is JavaScript ?
JavaScript is an interpreted language.
A simple programming language. Client side programming language.
Directly embedded into HTML page
Seminar Software Testing – Group D 23
C. JavaScript Testing
Turn off JavaScript ?
Web page doesn’t operate or work abnormally.
Tested websites : Gmail, YouTube, VnExpress, Facebook, MediaFire
Seminar Software Testing – Group D 24
C. JavaScript Testing
GmailTurn off before loading.
Standard HTML:
Seminar Software Testing – Group D 25
C. JavaScript Testing
YOUTUBETurn off before loading.
Seminar Software Testing – Group D 26
C. JavaScript Testing
Other WebsitesVnExpress : unable to load dynamic images.Facebook : unable to use like and comment
functionsMediaFire :
• Loading before turning off :
• Turning off before loading : unable to load
Seminar Software Testing – Group D 27