/**
* Created by: Anand Bagmar * Email: abagmar@gmail.com * * Copyright 2010 Anand Bagmar. Distributed under the Apache 2.0 License * * See LICENSE.txt for further details.
**/
Web Analytics is the measurement, collection, analysis and reporting of internet data for purposes of understanding and optimizing web usage. Web Analytics is not just a tool for measuring website traffic, but can also be used as a tool for business research and market research. Web Analytics applications can also help companies measure the results of traditional print advertising campaigns. It helps one to estimate how the traffic to the web site changed after the launch of a new advertising campaign.
Web Analytics provides data on the number of visitors, page views, etc. to gauge the traffic popularity trends which helps doing the market research. Official definition of Web Analytics from Wikipedia (en.wikipedia.org/wiki/Web_analytics)
{WAAT = Web Analytics Automation Testing.}[http://essenceoftesting.blogspot.com/search/label/waat]
See the {WAAT-Java wiki}[http://github.com/anandbagmar/WAAT/wiki] for answers to questions like what, why, how, and more.
For any other questions, comments, help, email Anand Bagmar @ abagmar@gmail.com
-
WAAT-Java v1.5.0 is available from the {WAAT-Java dist}[http://github.com/anandbagmar/WAAT/tree/master/dist] folder.
-
WAAT-Ruby v1.4.1 gem is available from http://rubygems.org
-
WAAT-Ruby v1.5.0 gem is available from https://github.com/anandbagmar/WAAT-ruby/downloads
-
{WAAT}[http://github.com/anandbagmar/WAAT] for Java.
-
{WAAT}[http://github.com/anandbagmar/WAAT-Ruby] for Ruby. The Ruby gem uses RJB (Ruby-Java-Bridge) to invoke APIs defined by WAAT-Java to enable Web Analytics Testing.
-
See {my blog}[http://essenceoftesting.blogspot.com/search/label/waat] for all activity around WAAT.
See the HttpSniffer or JSSniffer wiki page for step-by-step instructions on how to use WAAT-Ruby in your project.
-
Engine.isExpectedTagPresentInActualTagList in engine class is made public
-
Updated Engine to work without creating testData.xml file, and directly sending exceptedSectionList for tags
Added a new method Engine.verifyWebAnalyticsData(String actionName, ArrayList<Section> expectedSectionList, String[] urlPatterns, int minimumNumberOfPackets)
-
Added an empty constructor for Section.java to prevent marshalling error
-
Support Fragmented Packets
-
Updated Engine to support Pattern comparison, instead of String contains
Some APIs have changed between v1.4.0 and v1.5.0.
-
**To use JsSniffer plugin**:
- Set the WebAnalytic Tool: WebAnalyticTool webAnalyticTool = WebAnalyticTool.JS_SNIFFER; - - Initialize the WAAT engine using this: engine = getInstance(webAnalyticTool, inputFileType, keepLoadedFileInMemory, log4jPropertiesAbsoluteFilePath);
-
If you are using the JsSniffer plugin:
You do not need to call the following methods : - engine.enableWebAnalyticsTesting(); - engine.disableWebAnalyticsTesting();
-
The method engine.verifyWebAnalyticsData takes in different parameters for JSSniffer Vs HttpSniffer. Look at the respective wiki pages for detail info on how to use the same.