WAAT 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +5 -5
- data/Gemfile +19 -19
- data/LICENSE.txt +13 -13
- data/README.rdoc +46 -41
- data/Rakefile +52 -52
- data/VERSION +1 -1
- data/WAAT.gemspec +95 -95
- data/features/WAAT-ruby.feature +18 -18
- data/features/step_definitions/WAAT-ruby_steps.rb +40 -40
- data/features/support/env.rb +42 -42
- data/features/support/hook.rb +34 -34
- data/lib/WAAT.rb +187 -187
- data/lib/WAAT/LICENSE.txt +13 -13
- data/lib/WAAT/docs/Jpcap_Install.html +130 -130
- data/lib/WAAT/docs/README +32 -32
- data/lib/WAAT/docs/README.rdoc +38 -38
- data/lib/WAAT/docs/WAAT Readme.html +2150 -2150
- data/lib/WAAT/lib/httpSniffer/Windows/JpcapSetup-0.7.exe +0 -0
- data/lib/WAAT/lib/httpSniffer/Windows/WinPcap_4_1_2.exe +0 -0
- data/lib/WAAT/resources/log4j.properties +20 -20
- data/lib/WAAT/sampledata/TestData.xml +85 -85
- data/lib/WAAT/samplescripts/com/thoughtworks/webanalyticsautomation/scriptrunner/SeleniumScriptRunner.java +49 -49
- data/lib/WAAT/samplescripts/com/thoughtworks/webanalyticsautomation/scriptrunner/WebDriverScriptRunner.java +67 -67
- data/sampledata/TestData.xml +65 -65
- metadata +16 -33
data/sampledata/TestData.xml
CHANGED
@@ -1,66 +1,66 @@
|
|
1
|
-
<!--
|
2
|
-
Sample Test Specification File
|
3
|
-
|
4
|
-
* Created by: Anand Bagmar
|
5
|
-
* Email: abagmar@gmail.com
|
6
|
-
* Date: Dec 29, 2010
|
7
|
-
* Time: 4:29:12 PM
|
8
|
-
*
|
9
|
-
* Copyright 2010 Anand Bagmar (abagmar@gmail.com). Distributed under the Apache 2.0 License
|
10
|
-
*
|
11
|
-
* http://essenceoftesting.blogspot.com/search/label/waat
|
12
|
-
* http://github.com/anandbagmar/WAAT-Ruby
|
13
|
-
* http://github.com/anandbagmar/WAAT
|
14
|
-
*
|
15
|
-
-->
|
16
|
-
|
17
|
-
<!--
|
18
|
-
README for TestData specification
|
19
|
-
|
20
|
-
Section:
|
21
|
-
A set of test data which includes the actionName for which
|
22
|
-
the provided list of tags needs to be verified.
|
23
|
-
|
24
|
-
actionName:
|
25
|
-
A (String) name representing the action done in the UI,
|
26
|
-
for which we want to do Web Analytics Testing.
|
27
|
-
|
28
|
-
numberOfEventsTriggered:
|
29
|
-
The number of events that "should" be triggered for the
|
30
|
-
actionName specified.
|
31
|
-
The (numerical) value provided for this attribute indicates
|
32
|
-
the number of requests sent to the Web Analytic system for
|
33
|
-
the action.
|
34
|
-
|
35
|
-
tagList:
|
36
|
-
A delimited set of tags that you want to verify from any of
|
37
|
-
the requests sent to analytics tool on the action performed.
|
38
|
-
The tags specified are order independent, and case-SENSITIVE.
|
39
|
-
|
40
|
-
NOTE: If you are using OmnitureDebugger, the tags are seen
|
41
|
-
differently based on the UI Testing Framework being used.
|
42
|
-
This is because of the difference in the way JavaScript is
|
43
|
-
executed and results being interpreted by the individual
|
44
|
-
UI framework.
|
45
|
-
|
46
|
-
See the examples below for:
|
47
|
-
> actionName: OpenUpcomingPage_OmnitureDebugger_Selenium
|
48
|
-
> actionName: OpenUpcomingPage_OmnitureDebugger_WebDriver
|
49
|
-
|
50
|
-
delimiter:
|
51
|
-
A separator used to distinguish between tags.
|
52
|
-
|| is the delimiter used in WAAT.
|
53
|
-
-->
|
54
|
-
|
55
|
-
<Sections>
|
56
|
-
<Section actionName="WAAT_Success_Test"
|
57
|
-
numberOfEventsTriggered="1"
|
58
|
-
tagList="view=profile||
|
59
|
-
parent=http://essenceoftesting.blogspot.com||"/>
|
60
|
-
|
61
|
-
<Section actionName="WAAT_Failure_Test"
|
62
|
-
numberOfEventsTriggered="1"
|
63
|
-
tagList="caller=http://essenceoftesting.blogspot.com/2011/01/my-article-on-future-of-test-automation.html||
|
64
|
-
container=friendconnect||
|
65
|
-
parent=http://essenceoftesting.blogspot.com/||"/>
|
1
|
+
<!--
|
2
|
+
Sample Test Specification File
|
3
|
+
|
4
|
+
* Created by: Anand Bagmar
|
5
|
+
* Email: abagmar@gmail.com
|
6
|
+
* Date: Dec 29, 2010
|
7
|
+
* Time: 4:29:12 PM
|
8
|
+
*
|
9
|
+
* Copyright 2010 Anand Bagmar (abagmar@gmail.com). Distributed under the Apache 2.0 License
|
10
|
+
*
|
11
|
+
* http://essenceoftesting.blogspot.com/search/label/waat
|
12
|
+
* http://github.com/anandbagmar/WAAT-Ruby
|
13
|
+
* http://github.com/anandbagmar/WAAT
|
14
|
+
*
|
15
|
+
-->
|
16
|
+
|
17
|
+
<!--
|
18
|
+
README for TestData specification
|
19
|
+
|
20
|
+
Section:
|
21
|
+
A set of test data which includes the actionName for which
|
22
|
+
the provided list of tags needs to be verified.
|
23
|
+
|
24
|
+
actionName:
|
25
|
+
A (String) name representing the action done in the UI,
|
26
|
+
for which we want to do Web Analytics Testing.
|
27
|
+
|
28
|
+
numberOfEventsTriggered:
|
29
|
+
The number of events that "should" be triggered for the
|
30
|
+
actionName specified.
|
31
|
+
The (numerical) value provided for this attribute indicates
|
32
|
+
the number of requests sent to the Web Analytic system for
|
33
|
+
the action.
|
34
|
+
|
35
|
+
tagList:
|
36
|
+
A delimited set of tags that you want to verify from any of
|
37
|
+
the requests sent to analytics tool on the action performed.
|
38
|
+
The tags specified are order independent, and case-SENSITIVE.
|
39
|
+
|
40
|
+
NOTE: If you are using OmnitureDebugger, the tags are seen
|
41
|
+
differently based on the UI Testing Framework being used.
|
42
|
+
This is because of the difference in the way JavaScript is
|
43
|
+
executed and results being interpreted by the individual
|
44
|
+
UI framework.
|
45
|
+
|
46
|
+
See the examples below for:
|
47
|
+
> actionName: OpenUpcomingPage_OmnitureDebugger_Selenium
|
48
|
+
> actionName: OpenUpcomingPage_OmnitureDebugger_WebDriver
|
49
|
+
|
50
|
+
delimiter:
|
51
|
+
A separator used to distinguish between tags.
|
52
|
+
|| is the delimiter used in WAAT.
|
53
|
+
-->
|
54
|
+
|
55
|
+
<Sections>
|
56
|
+
<Section actionName="WAAT_Success_Test"
|
57
|
+
numberOfEventsTriggered="1"
|
58
|
+
tagList="view=profile||
|
59
|
+
parent=http://essenceoftesting.blogspot.com||"/>
|
60
|
+
|
61
|
+
<Section actionName="WAAT_Failure_Test"
|
62
|
+
numberOfEventsTriggered="1"
|
63
|
+
tagList="caller=http://essenceoftesting.blogspot.com/2011/01/my-article-on-future-of-test-automation.html||
|
64
|
+
container=friendconnect||
|
65
|
+
parent=http://essenceoftesting.blogspot.com/||"/>
|
66
66
|
</Sections>
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: WAAT
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 7
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 1
|
8
7
|
- 4
|
9
|
-
-
|
10
|
-
version: 1.4.
|
8
|
+
- 1
|
9
|
+
version: 1.4.1
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Anand Bagmar
|
@@ -15,86 +14,74 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date:
|
17
|
+
date: 2012-09-25 00:00:00 +05:30
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
21
|
+
prerelease: false
|
22
22
|
type: :runtime
|
23
|
+
name: bundler
|
23
24
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
hash: 23
|
29
28
|
segments:
|
30
|
-
- 1
|
31
|
-
- 0
|
32
29
|
- 0
|
33
|
-
version:
|
34
|
-
prerelease: false
|
35
|
-
name: bundler
|
30
|
+
version: "0"
|
36
31
|
requirement: *id001
|
37
32
|
- !ruby/object:Gem::Dependency
|
33
|
+
prerelease: false
|
38
34
|
type: :development
|
35
|
+
name: selenium-webdriver
|
39
36
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
|
-
none: false
|
41
37
|
requirements:
|
42
38
|
- - ">="
|
43
39
|
- !ruby/object:Gem::Version
|
44
|
-
hash: 15
|
45
40
|
segments:
|
46
41
|
- 2
|
47
42
|
- 0
|
48
43
|
- 0
|
49
44
|
version: 2.0.0
|
50
|
-
prerelease: false
|
51
|
-
name: selenium-webdriver
|
52
45
|
requirement: *id002
|
53
46
|
- !ruby/object:Gem::Dependency
|
47
|
+
prerelease: false
|
54
48
|
type: :development
|
49
|
+
name: cucumber
|
55
50
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
56
|
-
none: false
|
57
51
|
requirements:
|
58
52
|
- - ">="
|
59
53
|
- !ruby/object:Gem::Version
|
60
|
-
hash: 3
|
61
54
|
segments:
|
62
55
|
- 0
|
63
56
|
version: "0"
|
64
|
-
prerelease: false
|
65
|
-
name: cucumber
|
66
57
|
requirement: *id003
|
67
58
|
- !ruby/object:Gem::Dependency
|
59
|
+
prerelease: false
|
68
60
|
type: :development
|
61
|
+
name: jeweler
|
69
62
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
70
|
-
none: false
|
71
63
|
requirements:
|
72
64
|
- - ~>
|
73
65
|
- !ruby/object:Gem::Version
|
74
|
-
hash: 7
|
75
66
|
segments:
|
76
67
|
- 1
|
77
68
|
- 6
|
78
69
|
- 4
|
79
70
|
version: 1.6.4
|
80
|
-
prerelease: false
|
81
|
-
name: jeweler
|
82
71
|
requirement: *id004
|
83
72
|
- !ruby/object:Gem::Dependency
|
73
|
+
prerelease: false
|
84
74
|
type: :development
|
75
|
+
name: ffi
|
85
76
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
86
|
-
none: false
|
87
77
|
requirements:
|
88
78
|
- - "="
|
89
79
|
- !ruby/object:Gem::Version
|
90
|
-
hash: 25
|
91
80
|
segments:
|
92
81
|
- 1
|
93
82
|
- 0
|
94
83
|
- 7
|
95
84
|
version: 1.0.7
|
96
|
-
prerelease: false
|
97
|
-
name: ffi
|
98
85
|
requirement: *id005
|
99
86
|
description: "An automated way of testing the Web Analytic tags reported to 'n' number of Web Analytic tools by your product. See here for more details: http://essenceoftesting.blogspot.com/search/label/waat"
|
100
87
|
email: abagmar@gmail.com
|
@@ -159,27 +146,23 @@ rdoc_options: []
|
|
159
146
|
require_paths:
|
160
147
|
- lib
|
161
148
|
required_ruby_version: !ruby/object:Gem::Requirement
|
162
|
-
none: false
|
163
149
|
requirements:
|
164
150
|
- - ">="
|
165
151
|
- !ruby/object:Gem::Version
|
166
|
-
hash: 3
|
167
152
|
segments:
|
168
153
|
- 0
|
169
154
|
version: "0"
|
170
155
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
171
|
-
none: false
|
172
156
|
requirements:
|
173
157
|
- - ">="
|
174
158
|
- !ruby/object:Gem::Version
|
175
|
-
hash: 3
|
176
159
|
segments:
|
177
160
|
- 0
|
178
161
|
version: "0"
|
179
162
|
requirements: []
|
180
163
|
|
181
164
|
rubyforge_project:
|
182
|
-
rubygems_version: 1.3.
|
165
|
+
rubygems_version: 1.3.6
|
183
166
|
signing_key:
|
184
167
|
specification_version: 3
|
185
168
|
summary: Web Analytics Automation Testing Framework
|