test-factory 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- test-factory (0.2.7)
4
+ test-factory (0.2.8)
5
5
  watir-webdriver (>= 0.6.2)
6
6
 
7
7
  GEM
data/chromedriver.log CHANGED
@@ -1,5 +1,5 @@
1
- [0.000][INFO]: ChromeDriver 19.0.1068.0 /opt/local/bin/chromedriver
2
- [0.268][FINE]: Initializing session with capabilities {
1
+ [0.008][INFO]: ChromeDriver 26.0.1383.0 /opt/local/bin/chromedriver
2
+ [0.216][FINE]: Initializing session with capabilities {
3
3
  "browserName": "chrome",
4
4
  "chrome.detach": true,
5
5
  "chromeOptions": {
@@ -14,5 +14,118 @@
14
14
  "version": ""
15
15
  }
16
16
 
17
- [0.269][INFO]: Using named testing interface
18
- [45.523][SEVERE]: Failed to initialize connection
17
+ [0.218][INFO]: Using named testing interface
18
+ [4.939][INFO]: Connected to Chrome successfully. Version: 27.0.1453.93
19
+ [4.943][FINE]: Command received (/session/1f9417409e0f9321d37fc7b61a0d9ef5)
20
+ [4.943][FINE]: Command finished (/session/1f9417409e0f9321d37fc7b61a0d9ef5) with response {
21
+ "sessionId": "1f9417409e0f9321d37fc7b61a0d9ef5",
22
+ "status": 0,
23
+ "value": {
24
+ "acceptSslCerts": false,
25
+ "applicationCacheEnabled": false,
26
+ "browserConnectionEnabled": false,
27
+ "browserName": "chrome",
28
+ "chrome.chromedriverVersion": "26.0.1383.0",
29
+ "cssSelectorsEnabled": true,
30
+ "databaseEnabled": false,
31
+ "handlesAlerts": true,
32
+ "javascriptEnabled": true,
33
+ "locationContextEnabled": false,
34
+ "nativeEvents": true,
35
+ "platform": "mac",
36
+ "rotatable": false,
37
+ "takesScreenshot": true,
38
+ "version": "27.0.1453.93",
39
+ "webStorageEnabled": true
40
+ }
41
+ }
42
+
43
+ [4.944][FINE]: Command received (/session/1f9417409e0f9321d37fc7b61a0d9ef5/url)
44
+ [4.944][FINER]: Waiting for all views to stop loading...
45
+ [4.944][FINER]: Done waiting for all views to stop loading
46
+ [5.012][FINER]: Waiting for all views to stop loading...
47
+ [5.012][FINER]: Done waiting for all views to stop loading
48
+ [5.012][FINE]: Command finished (/session/1f9417409e0f9321d37fc7b61a0d9ef5/url) with response {
49
+ "sessionId": "1f9417409e0f9321d37fc7b61a0d9ef5",
50
+ "status": 0,
51
+ "value": "about:blank"
52
+ }
53
+
54
+ [5.014][FINE]: Command received (/session/1f9417409e0f9321d37fc7b61a0d9ef5/title)
55
+ [5.014][FINER]: Waiting for all views to stop loading...
56
+ [5.014][FINER]: Done waiting for all views to stop loading
57
+ [5.017][FINER]: Waiting for all views to stop loading...
58
+ [5.017][FINER]: Done waiting for all views to stop loading
59
+ [5.017][FINE]: Command finished (/session/1f9417409e0f9321d37fc7b61a0d9ef5/title) with response {
60
+ "sessionId": "1f9417409e0f9321d37fc7b61a0d9ef5",
61
+ "status": 0,
62
+ "value": "about:blank"
63
+ }
64
+
65
+ [57.265][FINE]: Command received (/session/1f9417409e0f9321d37fc7b61a0d9ef5/window_handles)
66
+ [57.265][FINER]: Waiting for all views to stop loading...
67
+ [57.265][FINER]: Done waiting for all views to stop loading
68
+ [57.265][FINER]: Waiting for all views to stop loading...
69
+ [57.266][FINER]: Done waiting for all views to stop loading
70
+ [57.266][FINE]: Command finished (/session/1f9417409e0f9321d37fc7b61a0d9ef5/window_handles) with response {
71
+ "sessionId": "1f9417409e0f9321d37fc7b61a0d9ef5",
72
+ "status": 0,
73
+ "value": [ "f1-2", "f1-4" ]
74
+ }
75
+
76
+ [57.266][FINE]: Command received (/session/1f9417409e0f9321d37fc7b61a0d9ef5/window) with params {
77
+ "name": "f1-4"
78
+ }
79
+
80
+ [57.267][FINE]: Command finished (/session/1f9417409e0f9321d37fc7b61a0d9ef5/window) with response {
81
+ "sessionId": "1f9417409e0f9321d37fc7b61a0d9ef5",
82
+ "status": 0,
83
+ "value": {
84
+
85
+ }
86
+ }
87
+
88
+ [242.542][FINE]: Command received (/session/1f9417409e0f9321d37fc7b61a0d9ef5/frame) with params {
89
+ "id": null
90
+ }
91
+
92
+ [242.542][FINER]: Waiting for all views to stop loading...
93
+ [242.542][FINER]: Done waiting for all views to stop loading
94
+ [242.542][FINER]: Waiting for all views to stop loading...
95
+ [242.542][FINER]: Done waiting for all views to stop loading
96
+ [242.542][FINE]: Command finished (/session/1f9417409e0f9321d37fc7b61a0d9ef5/frame) with response {
97
+ "sessionId": "1f9417409e0f9321d37fc7b61a0d9ef5",
98
+ "status": 0,
99
+ "value": {
100
+
101
+ }
102
+ }
103
+
104
+ [242.544][FINE]: Command received (/session/1f9417409e0f9321d37fc7b61a0d9ef5/element) with params {
105
+ "using": "id",
106
+ "value": "tab-PersonnelDetailPeriod1-div"
107
+ }
108
+
109
+ [242.544][FINER]: Waiting for all views to stop loading...
110
+ [242.544][FINER]: Done waiting for all views to stop loading
111
+ [242.563][FINER]: Waiting for all views to stop loading...
112
+ [242.563][FINER]: Done waiting for all views to stop loading
113
+ [242.563][FINE]: Command finished (/session/1f9417409e0f9321d37fc7b61a0d9ef5/element) with response {
114
+ "sessionId": "1f9417409e0f9321d37fc7b61a0d9ef5",
115
+ "status": 0,
116
+ "value": {
117
+ "ELEMENT": ":wdc:1369172957736"
118
+ }
119
+ }
120
+
121
+ [242.566][FINE]: Command received (/session/1f9417409e0f9321d37fc7b61a0d9ef5/element/:wdc:1369172957736/name)
122
+ [242.566][FINER]: Waiting for all views to stop loading...
123
+ [242.566][FINER]: Done waiting for all views to stop loading
124
+ [242.570][FINER]: Waiting for all views to stop loading...
125
+ [242.570][FINER]: Done waiting for all views to stop loading
126
+ [242.570][FINE]: Command finished (/session/1f9417409e0f9321d37fc7b61a0d9ef5/element/:wdc:1369172957736/name) with response {
127
+ "sessionId": "1f9417409e0f9321d37fc7b61a0d9ef5",
128
+ "status": 0,
129
+ "value": "div"
130
+ }
131
+
@@ -105,5 +105,7 @@ class Numeric
105
105
  end
106
106
  int.reverse + dec
107
107
  end
108
+ alias_method :add_commas, :commas
109
+ alias_method :to_string_with_commas, :commas
108
110
 
109
- end # Numeric
111
+ end # Numeric
@@ -108,9 +108,7 @@ module Watir
108
108
 
109
109
  class CheckBox
110
110
  def fit(arg)
111
- unless arg==nil
112
- self.send(arg)
113
- end
111
+ self.send(arg) unless arg==nil
114
112
  end
115
113
  end
116
114
 
data/test-factory.gemspec CHANGED
@@ -1,13 +1,13 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'test-factory'
3
- s.version = '0.2.7'
3
+ s.version = '0.2.8'
4
4
  s.summary = %q{rSmart's framework for creating automated testing scripts}
5
5
  s.description = %q{This gem provides a set of modules and methods to help quickly and DRYly create a test automation framework using Ruby and Watir (or watir-webdriver).}
6
6
  s.files = Dir.glob("**/**/**")
7
7
  s.test_files = Dir.glob("test/*test_rb")
8
8
  s.authors = ["Abraham Heward"]
9
9
  s.email = %w{"aheward@rsmart.com"}
10
- s.homepage = 'https://github.com/rSmart'
10
+ s.homepage = 'https://github.com/rSmart/TestFactory'
11
11
  s.add_dependency 'watir-webdriver', '>= 0.6.2'
12
12
  s.required_ruby_version = '>= 1.9.2'
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-factory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-15 00:00:00.000000000 Z
12
+ date: 2013-06-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: watir-webdriver
@@ -48,7 +48,7 @@ files:
48
48
  - lib/test-factory.rb
49
49
  - README.md
50
50
  - test-factory.gemspec
51
- homepage: https://github.com/rSmart
51
+ homepage: https://github.com/rSmart/TestFactory
52
52
  licenses: []
53
53
  post_install_message:
54
54
  rdoc_options: []