Thursday, 31 October 2013

How to Resolve Eclipse Error Log



An error has occurred. See log file D:\Eclipse\configuration\1336034442252.log

In some eclipse version not supported to jdk java. Version=1.7.0-ea Firstly u check the version of jdk ,& the version is 1.7 to set the class path new version i.e jdk1.6.0 or go my computer right click then advanced set environment variable option and open the window choose System variable java. edit select variable name=path value=C:\Program Files\Java\jdk1.6.0_02\bin ok open your eclipse .exe file

How to Test a Website



Web Testing checklist.
1)    Functionality
2)    Usability
3)    Interfaces
4)    Compatibility
5)    Performance
6)    Security



1.    Functionality Testing:
Test for – all the links in web pages, database connection, forms used in the web pages for submitting or getting information from user, Cookie testing.

Check all the links:
  • Test the outgoing links from all the pages from specific domain under test.
  • Test all internal links.
  • Test links jumping on the same pages.
  • Test links used to send the email to admin or other users from web pages.
  • Test to check if there are any orphan pages.
  • Lastly in link checking, check for broken links in all above-mentioned links.

Test forms in all pages:
Forms are the integral part of any web site. Forms are used to get information from users and to keep interaction with them. So what should be checked on these forms?
  • Check all the validations on each field (email Ids, User financial info validations)
  • Check for the default values of fields.
  • Check for wrong inputs to the fields in the forms.
  • Check Options to create, delete, view, or modify the forms.

Cookies testing:
Cookies are small files stored on user machine. These are basically used to maintain the session mainly login sessions.
  • Test the application by enabling or disabling the cookies in the browser options.
  • Test if the cookies are encrypted before writing to user machine. If you are testing the session cookies (i.e. cookies expire after the session ends) check for login sessions and user stats after session end.
  • Check effect on application security by deleting the cookies.

Validate your HTML/CSS:
If you are optimizing your site for Search engines then HTML/CSS validation is very important.
  • Mainly validate the site for HTML syntax errors.
  • Check if site is ‘crawlable’ to different search engines.

Database testing:
Data consistency is very important in web application.
  • Check for data integrity and errors while you edit, delete, modify the forms or do any DB related functionality.
  • Check if all the database queries are executing correctly, data is retrieved correctly and also updated correctly.

2.    Usability Testing:
  • Navigation:
    This means how the user surfs the web pages, different controls like buttons, boxes or how the user uses the links on the pages to surf different pages.
·         Ease of use:
Web site should be easy to use. Instructions should be provided clearly. Check if the provided instructions are correct means whether they satisfy purpose.
Like search option, sitemap, help files etc. Sitemap should be present with all the links in web sites with proper tree view of navigation. Check for all links on the sitemap.
“Search within the site” option will help users to find content pages they are looking for easily and quickly. These are all optional items and if present should be validated.
  • Main menu should be provided on each page. It should be consistent.
  • Content checking:
    Content should be logical and easy to understand.
    Check for spelling errors. Appropriate colours, fonts and frames.
Content should be meaningful. All the anchor text links should be working properly. Images should be placed properly with proper sizes.

3.    Interface Testing:
  • Web server and application server interface
  • Application server and Database server interface.
Check if all the interactions between these servers are executed properly. Errors are handled properly. If database or web server returns any error message for any query by application server then application server should catch and display these error messages appropriately to users.
Check what happens if user interrupts any transaction in-between.
Check what happens if connection to web server is reset in between.

4.    Compatibility Testing:
  • Browser compatibility.
Some applications are very dependent on browsers. Different browsers have different configurations and settings that your web page should be compatible with. Your web site coding should be cross browser platform compatible. If you are using java scripts or AJAX calls for UI functionality, performing security checks or validations, then put more focus on browser compatibility testing of your web application.
Test web application on different browsers like Internet explorer, Firefox, Netscape navigator, AOL, Safari, Opera browsers with different versions.
  • Operating system compatibility.
Some functionality in your web application is may not be compatible with all operating systems. All new technologies used in web development like graphics designs, interface calls like different API’s may not be available in all Operating Systems.
Test your web application on different operating systems like Windows, Unix, MAC, Linux, Solaris with different Operating System flavours.

  • Mobile browsing.
Mobile browsing is fast becoming one of the most demanded webpage requirements. Test your web pages on mobile browsers to flush out compatibility issues

  • Printing options.
If you are giving page-printing options, then make sure fonts, page alignment and page graphics are getting printed properly.
Pages should be fit to paper size or as per the size mentioned in printing option.


5.    Performance Testing:
Web applications should be capable of sustaining heavy load & Stress.
Load Testing:
Test application performance on different internet connection speed.
Test to verify that the system sustain in peak load times
Test to verify that the site can handle many simultaneous user requests
Test to verify that the site can handle large input data from users, Simultaneous connection to DB, heavy load on specific pages etc.

Stress testing:
Generally stress means stretching the system beyond its specification limits.
Web stress testing is performed to break the site by giving stress and checked how system reacts to stress and how system recovers from crashes.
Stress is generally given on input fields, login and sign up areas.
In web performance testing web site functionality on different operating systems, different hardware platforms is also checked for software, hardware memory leakage errors,

6.    Security Testing:
·         Test by pasting internal URL directly into browser address bar without login. Internal pages should not open.

·         If you are logged in using username and password and browsing internal pages, then try changing URL options directly. I.e. If you are checking some publisher site statistics with publisher site ID= 123. Try directly changing the URL site ID parameter to different site ID which is not related to logged-in user.
Access should be denied for this user to view others stats.
·         Try some invalid inputs in input fields like login username, password, input text boxes. Check the system reaction on all invalid inputs.
·         Web directories or files should not be accessible directly unless given download option.
·         Test the CAPTCHA for automates scripts logins.
·         Test if SSL is used for security measures. If used proper message should get displayed when user switches from non-secure http:// pages to secure https:// pages and vice versa.
·         All transactions, error messages, security breach attempts should get logged in log files somewhere on web server.