/WAAT

Web Analytics Automation Testing Framework

Primary LanguageJavaOtherNOASSERTION

WAAT

/**

* 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.

**/

What is Web Analytics

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)

What is WAAT?

{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

Latest version

Platforms supported

How to use WAAT-Ruby?

See the HttpSniffer or JSSniffer wiki page for step-by-step instructions on how to use WAAT-Ruby in your project.

Changes in v1.5.1

  • 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

Changes in v1.5.0

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.