sapphire 0.6.7 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. data/lib/sapphire.rb +3 -2
  2. data/lib/sapphire/Adapters/Selenium/RubySeleniumWebDriver.rb +43 -27
  3. data/lib/sapphire/Configuration/AppConfig.rb +1 -1
  4. data/lib/sapphire/DSL.rb +6 -1
  5. data/lib/sapphire/DSL/Browser/ExecuteAgainstControl.rb +6 -20
  6. data/lib/sapphire/DSL/Browser/Fluff/Be.rb +10 -0
  7. data/lib/sapphire/DSL/Browser/Fluff/By.rb +2 -2
  8. data/lib/sapphire/DSL/Browser/Fluff/Have.rb +10 -0
  9. data/lib/sapphire/DSL/Browser/Fluff/To.rb +2 -2
  10. data/lib/sapphire/DSL/Browser/For.rb +9 -10
  11. data/lib/sapphire/DSL/Browser/Nouns/Browser.rb +2 -2
  12. data/lib/sapphire/DSL/Browser/Nouns/Day.rb +42 -24
  13. data/lib/sapphire/DSL/Browser/Nouns/Enter.rb +1 -1
  14. data/lib/sapphire/DSL/Browser/Nouns/Month.rb +42 -24
  15. data/lib/sapphire/DSL/Browser/Nouns/Popup.rb +2 -2
  16. data/lib/sapphire/DSL/Browser/Nouns/Second.rb +42 -0
  17. data/lib/sapphire/DSL/Browser/Should.rb +1 -46
  18. data/lib/sapphire/DSL/Browser/Verbs/Accept.rb +1 -2
  19. data/lib/sapphire/DSL/Browser/Verbs/Check.rb +0 -1
  20. data/lib/sapphire/DSL/Browser/Verbs/Click.rb +0 -1
  21. data/lib/sapphire/DSL/Browser/Verbs/Compare.rb +5 -5
  22. data/lib/sapphire/DSL/Browser/Verbs/Complete.rb +2 -2
  23. data/lib/sapphire/DSL/Browser/Verbs/Disable.rb +1 -1
  24. data/lib/sapphire/DSL/Browser/Verbs/Exists.rb +6 -11
  25. data/lib/sapphire/DSL/Browser/Verbs/{Close.rb → Exit.rb} +0 -0
  26. data/lib/sapphire/DSL/Browser/Verbs/Has.rb +9 -0
  27. data/lib/sapphire/DSL/Browser/Verbs/MouseOver.rb +0 -1
  28. data/lib/sapphire/DSL/Browser/Verbs/Navigate.rb +1 -2
  29. data/lib/sapphire/DSL/Browser/Verbs/On.rb +19 -0
  30. data/lib/sapphire/DSL/Browser/Verbs/Press.rb +1 -1
  31. data/lib/sapphire/DSL/Browser/Verbs/Reload.rb +1 -1
  32. data/lib/sapphire/DSL/Browser/Verbs/Remove.rb +22 -0
  33. data/lib/sapphire/DSL/Browser/Verbs/Set.rb +1 -1
  34. data/lib/sapphire/DSL/Browser/Verbs/Start.rb +14 -16
  35. data/lib/sapphire/DSL/Browser/Verbs/Uncheck.rb +0 -1
  36. data/lib/sapphire/DSL/Comparisons/CheckedComparison.rb +17 -0
  37. data/lib/sapphire/DSL/Comparisons/Comparison.rb +34 -0
  38. data/lib/sapphire/DSL/Comparisons/ContainsComparison.rb +17 -0
  39. data/lib/sapphire/DSL/Comparisons/DifferComparison.rb +17 -0
  40. data/lib/sapphire/DSL/Comparisons/EqualsComparison.rb +16 -0
  41. data/lib/sapphire/DSL/Comparisons/NotComparison.rb +21 -0
  42. data/lib/sapphire/DSL/Comparisons/SelectedComparison.rb +17 -0
  43. data/lib/sapphire/DSL/Comparisons/StartsWithComparison.rb +17 -0
  44. data/lib/sapphire/DSL/Comparisons/VisibleComparison.rb +17 -0
  45. data/lib/sapphire/DSL/Configuration/Use.rb +3 -0
  46. data/lib/sapphire/DSL/Data/GetPageField.rb +4 -8
  47. data/lib/sapphire/DSL/Evaluations/Evaluation.rb +46 -0
  48. data/lib/sapphire/DSL/Evaluations/FieldNotDefinedEvaluation.rb +21 -0
  49. data/lib/sapphire/DSL/Evaluations/FieldNotFoundEvaluation.rb +21 -0
  50. data/lib/sapphire/DSL/Evaluators/AltText.rb +17 -0
  51. data/lib/sapphire/DSL/Evaluators/Checked.rb +17 -0
  52. data/lib/sapphire/DSL/Evaluators/Contain.rb +10 -0
  53. data/lib/sapphire/DSL/Evaluators/Count.rb +9 -0
  54. data/lib/sapphire/DSL/Evaluators/Differ.rb +10 -0
  55. data/lib/sapphire/DSL/Evaluators/Evaluator.rb +22 -0
  56. data/lib/sapphire/DSL/Evaluators/Exist.rb +9 -0
  57. data/lib/sapphire/DSL/Evaluators/In.rb +10 -0
  58. data/lib/sapphire/DSL/Evaluators/Selected.rb +10 -0
  59. data/lib/sapphire/DSL/Evaluators/Show.rb +10 -0
  60. data/lib/sapphire/DSL/Evaluators/Source.rb +17 -0
  61. data/lib/sapphire/DSL/Evaluators/Transition.rb +10 -0
  62. data/lib/sapphire/DSL/Evaluators/Validate.rb +8 -0
  63. data/lib/sapphire/DSL/Events/Causes.rb +3 -0
  64. data/lib/sapphire/DSL/Events/Event.rb +19 -0
  65. data/lib/sapphire/DSL/Events/Expect.rb +19 -0
  66. data/lib/sapphire/DSL/Scenarios/then.rb +1 -1
  67. data/lib/sapphire/DSL/Scenarios/when.rb +1 -1
  68. data/lib/sapphire/DSL/TestPlans/FileHandler.rb +7 -2
  69. data/lib/sapphire/DSL/TestPlans/PathHandler.rb +2 -1
  70. data/lib/sapphire/DataAbstractions/NonQuery.rb +2 -1
  71. data/lib/sapphire/DataAbstractions/Query.rb +2 -1
  72. data/lib/sapphire/Extensions.rb +1 -0
  73. data/lib/sapphire/{DSL/Browser/Extensions → Extensions}/Class.rb +10 -0
  74. data/lib/sapphire/Extensions/Hash.rb +85 -0
  75. data/lib/sapphire/{DSL/Browser/Extensions → Extensions}/Numeric.rb +6 -6
  76. data/lib/sapphire/Extensions/Object.rb +9 -0
  77. data/lib/sapphire/{DSL/Browser/Extensions → Extensions}/String.rb +4 -0
  78. data/lib/sapphire/Extensions/Symbol.rb +105 -0
  79. data/lib/sapphire/Sessions/Parameter.rb +36 -0
  80. data/lib/sapphire/Sessions/Storage.rb +17 -0
  81. data/lib/sapphire/UI/Functions.rb +2 -1
  82. data/lib/sapphire/UI/ProcessBuilder.rb +174 -0
  83. data/lib/sapphire/Virtualization.rb +1 -1
  84. data/lib/sapphire/WebAbstractions/Browsers/Chrome.rb +22 -21
  85. data/lib/sapphire/WebAbstractions/Browsers/FireFox.rb +24 -22
  86. data/lib/sapphire/WebAbstractions/Browsers/InternetExplorer.rb +22 -21
  87. data/lib/sapphire/WebAbstractions/Controls/AlertBox.rb +21 -0
  88. data/lib/sapphire/WebAbstractions/Controls/Base/Control.rb +32 -14
  89. data/lib/sapphire/WebAbstractions/Controls/Base/Page.rb +74 -65
  90. data/lib/sapphire/WebAbstractions/Controls/CheckBox.rb +29 -28
  91. data/lib/sapphire/WebAbstractions/Controls/DropDown.rb +59 -26
  92. data/lib/sapphire/WebAbstractions/Controls/Image.rb +10 -0
  93. data/lib/sapphire/WebAbstractions/Controls/List.rb +45 -4
  94. data/lib/sapphire/WebAbstractions/Controls/RadioButton.rb +29 -18
  95. data/lib/sapphire/WebAbstractions/Controls/TextBox.rb +9 -8
  96. data/lib/sapphire/WebAbstractions/Controls/Title.rb +1 -1
  97. data/lib/sapphire/version.rb +1 -1
  98. metadata +55 -39
  99. data/lib/sapphire/Configuration/SapphireConfig.rb +0 -33
  100. data/lib/sapphire/DSL/Browser/Extensions/Hash.rb +0 -11
  101. data/lib/sapphire/DSL/Browser/Extensions/Symbol.rb +0 -37
  102. data/lib/sapphire/DSL/Browser/Not.rb +0 -39
  103. data/lib/sapphire/DSL/Browser/Nouns/AlertBox.rb +0 -15
  104. data/lib/sapphire/DSL/Browser/Verbs/Attempt.rb +0 -14
  105. data/lib/sapphire/DSL/Browser/Verbs/Contain.rb +0 -25
  106. data/lib/sapphire/DSL/Browser/Verbs/Count.rb +0 -24
  107. data/lib/sapphire/DSL/Browser/Verbs/Differ.rb +0 -19
  108. data/lib/sapphire/DSL/Browser/Verbs/Error.rb +0 -25
  109. data/lib/sapphire/DSL/Browser/Verbs/Hide.rb +0 -25
  110. data/lib/sapphire/DSL/Browser/Verbs/Show.rb +0 -25
  111. data/lib/sapphire/DSL/Browser/Verbs/Transition.rb +0 -25
  112. data/lib/sapphire/DSL/Data/Exist.rb +0 -26
  113. data/lib/sapphire/DSL/Data/Validate.rb +0 -25
  114. data/lib/sapphire/Strategies.rb +0 -2
  115. data/lib/sapphire/Strategies/ClassStrategy.rb +0 -13
  116. data/lib/sapphire/Strategies/ContainsEvaluation.rb +0 -16
  117. data/lib/sapphire/Strategies/ContainsNullModifier.rb +0 -34
  118. data/lib/sapphire/Strategies/DefaultStrategy.rb +0 -17
  119. data/lib/sapphire/Strategies/Evaluation.rb +0 -16
  120. data/lib/sapphire/Strategies/HashStrategy.rb +0 -72
  121. data/lib/sapphire/Strategies/NullModifier.rb +0 -34
  122. data/lib/sapphire/Strategies/Strategy.rb +0 -11
  123. data/lib/sapphire/Strategies/SymbolStrategy.rb +0 -59
  124. data/lib/sapphire/WebAbstractions/Controls/TableCell.rb +0 -10
@@ -1,27 +1,60 @@
1
- module Sapphire
2
- module WebAbstractions
3
- class DropDown < Control
4
- def Selected= (value)
5
- Set(value)
6
- end
7
-
8
- def Selected
9
- text = self.Find
10
- text.value
11
- end
12
-
13
- def Text
14
- text = self.Find
15
- text.attribute("value")
16
- end
17
-
18
- def Set(value)
19
- text = self.Find
20
- options = text.find_elements(:tag_name, "option")
21
- selection = options.find{|o| o.text == value.to_s}
22
- raise "could not find the value " + value.to_s if selection.nil?
23
- selection.click
24
- end
25
- end
26
- end
1
+ module Sapphire
2
+ module WebAbstractions
3
+ class DropDown < Control
4
+ def Selected= (value)
5
+ Set(value)
6
+ end
7
+
8
+ def Selected
9
+ text = self.Find
10
+ text.value
11
+ end
12
+
13
+ def Text
14
+ text = self.Find
15
+ val = text.attribute("value")
16
+ options = text.find_elements(:tag_name, "option")
17
+ selection = options.find{|o| o.attribute("value") == val.to_s}
18
+ selection.text
19
+ end
20
+
21
+ def Set(value)
22
+ text = self.Find
23
+ options = text.find_elements(:tag_name, "option")
24
+ selection = options.find{|o| o.text == value.to_s}
25
+ raise "could not find the value " + value.to_s if selection.nil?
26
+ selection.click
27
+ end
28
+
29
+ def Contain(value)
30
+ ddl = self.Find
31
+ items = ddl.find_elements(:tag_name, "option")
32
+ items.each do |item|
33
+ if item.text == value
34
+ return Evaluation.new(item.text, value)
35
+ end
36
+ end
37
+
38
+ return Evaluation.new("Value not found in list", value)
39
+ end
40
+
41
+ def Count(value)
42
+ ddl = self.Find
43
+ items = ddl.find_elements(:tag_name, "option")
44
+ return Evaluation.new(items.count, value)
45
+ end
46
+
47
+ def Clear
48
+ @hash.each do |item|
49
+ if item.has_key? :default
50
+ self.Set(item[:default])
51
+ return
52
+ end
53
+ end
54
+
55
+ raise "no :default set for DropDown"
56
+ end
57
+
58
+ end
59
+ end
27
60
  end
@@ -1,7 +1,17 @@
1
1
  module Sapphire
2
2
  module WebAbstractions
3
3
  class Image < Control
4
+ def Source(value, comparator)
5
+ image = self.Find
6
+ evaluation = Evaluation.new(image.attribute("src"), value)
7
+ EqualsComparison.new(evaluation)
8
+ end
4
9
 
10
+ def AltText(value, comparator)
11
+ image = self.Find
12
+ evaluation = Evaluation.new(image.attribute("alt"), value)
13
+ EqualsComparison.new(evaluation)
14
+ end
5
15
  end
6
16
  end
7
17
  end
@@ -7,13 +7,43 @@ module Sapphire
7
7
  @retryAttempts = 0
8
8
  end
9
9
 
10
- def Equals(value)
10
+ def Equals(value, comparator)
11
11
  x = self.FindAll
12
12
  x.each do |item|
13
- if item.text == value
13
+ if comparator.Compare(item.text, value)
14
+ return EqualsComparison.new(Evaluation.new(item.text, value))
15
+ end
16
+ end
17
+ return EqualsComparison.new(Evaluation.new("Value not found in list", value))
18
+ end
19
+
20
+ def In(values, comparator)
21
+ x = self.FindAll
22
+ x.each do |item|
23
+ values.each do |value|
24
+ if comparator.Compare(item.text, value)
25
+ return Evaluation.new(item.text, value)
26
+ end
27
+ end
28
+ end
29
+
30
+ #if here then it couldnt make a match, build up the list of values
31
+ alltext = []
32
+ x.each do |item|
33
+ alltext << item.text
34
+ end
35
+
36
+ return Evaluation.new(values, alltext)
37
+ end
38
+
39
+ def Contain(value)
40
+ x = self.FindAll
41
+ x.each do |item|
42
+ if item.text.include? value
14
43
  return Evaluation.new(item.text, value)
15
44
  end
16
45
  end
46
+
17
47
  return Evaluation.new("Value not found in list", value)
18
48
  end
19
49
 
@@ -41,10 +71,21 @@ module Sapphire
41
71
  end
42
72
  end
43
73
 
44
- def Count
74
+ def Count(value)
45
75
  items = self.FindAll
46
- return items.count
76
+ return Evaluation.new(items.count, value)
77
+ end
78
+
79
+ def Text
80
+ values = []
81
+ x = self.FindAll
82
+ x.each do |item|
83
+ values << item.text
84
+ end
85
+
86
+ return values
47
87
  end
88
+
48
89
  end
49
90
  end
50
91
  end
@@ -1,18 +1,29 @@
1
- module Sapphire
2
- module WebAbstractions
3
- class RadioButton < Control
4
-
5
- def Text
6
- self.Find().text
7
- end
8
-
9
- def Check (value)
10
-
11
- radio = self.Find
12
- radio.click
13
-
14
- end
15
- end
16
- end
17
- end
18
-
1
+ module Sapphire
2
+ module WebAbstractions
3
+ class RadioButton < Control
4
+
5
+ def Text
6
+ self.Find().text
7
+ end
8
+
9
+ def Check (value)
10
+ radio = self.Find
11
+ radio.click
12
+ end
13
+
14
+ def Selected
15
+ radio = self.Find
16
+ val = radio.attribute("selected")
17
+ return val != nil
18
+ end
19
+
20
+ def Visible
21
+ radio = self.Find
22
+ x = radio.attribute("disabled")
23
+ return (x == "false")
24
+ end
25
+
26
+ end
27
+ end
28
+ end
29
+
@@ -3,28 +3,29 @@ module Sapphire
3
3
  class TextBox < Control
4
4
 
5
5
  def Text= (value)
6
- text = self.Find
7
- text.send_keys value
6
+ textBox = self.Find
7
+ textBox.send_keys value
8
8
  end
9
9
 
10
10
  def Text
11
- text = self.Find
12
- text.attribute("value")
11
+ textBox = self.Find
12
+ textBox.attribute("value")
13
13
  end
14
14
 
15
15
  def Set(value)
16
16
  if(value == "")
17
17
  self.Clear
18
18
  else
19
- text = self.Find
20
- text.send_keys value
19
+ textBox = self.Find
20
+ textBox.send_keys value
21
21
  end
22
22
  end
23
23
 
24
24
  def Clear
25
- text = self.Find
26
- text.clear
25
+ textBox = self.Find
26
+ textBox.clear
27
27
  end
28
+
28
29
  end
29
30
  end
30
31
  end
@@ -3,7 +3,7 @@ module Sapphire
3
3
  class Title < Control
4
4
 
5
5
  def Text
6
- $browser.title
6
+ $driver.browser.title
7
7
  end
8
8
 
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module Sapphire
2
- VERSION = "0.6.7"
2
+ VERSION = "0.7.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sapphire
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.7
4
+ version: 0.7.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-26 00:00:00.000000000Z
12
+ date: 2012-02-25 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: selenium-webdriver
16
- requirement: &10068828 !ruby/object:Gem::Requirement
16
+ requirement: &9901632 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *10068828
24
+ version_requirements: *9901632
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: colorize
27
- requirement: &10068576 !ruby/object:Gem::Requirement
27
+ requirement: &9901380 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *10068576
35
+ version_requirements: *9901380
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: Platform
38
- requirement: &10068324 !ruby/object:Gem::Requirement
38
+ requirement: &9901128 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *10068324
46
+ version_requirements: *9901128
47
47
  description: An automated web acceptance test framework for non-technical resources
48
48
  using selenium-wedriver.
49
49
  email:
@@ -58,7 +58,6 @@ files:
58
58
  - lib/sapphire/CommandLine.rb
59
59
  - lib/sapphire/Configuration/AppConfig.rb
60
60
  - lib/sapphire/Configuration/AttrMethods.rb
61
- - lib/sapphire/Configuration/SapphireConfig.rb
62
61
  - lib/sapphire/Configuration.rb
63
62
  - lib/sapphire/Data.rb
64
63
  - lib/sapphire/DataAbstractions/Database.rb
@@ -66,60 +65,77 @@ files:
66
65
  - lib/sapphire/DataAbstractions/Query.rb
67
66
  - lib/sapphire/DSL/Browser/Create.rb
68
67
  - lib/sapphire/DSL/Browser/ExecuteAgainstControl.rb
69
- - lib/sapphire/DSL/Browser/Extensions/Class.rb
70
- - lib/sapphire/DSL/Browser/Extensions/Hash.rb
71
- - lib/sapphire/DSL/Browser/Extensions/Numeric.rb
72
- - lib/sapphire/DSL/Browser/Extensions/String.rb
73
- - lib/sapphire/DSL/Browser/Extensions/Symbol.rb
68
+ - lib/sapphire/DSL/Browser/Fluff/Be.rb
74
69
  - lib/sapphire/DSL/Browser/Fluff/By.rb
70
+ - lib/sapphire/DSL/Browser/Fluff/Have.rb
75
71
  - lib/sapphire/DSL/Browser/Fluff/To.rb
76
72
  - lib/sapphire/DSL/Browser/Fluff/With.rb
77
73
  - lib/sapphire/DSL/Browser/For.rb
78
- - lib/sapphire/DSL/Browser/Not.rb
79
- - lib/sapphire/DSL/Browser/Nouns/AlertBox.rb
80
74
  - lib/sapphire/DSL/Browser/Nouns/Browser.rb
81
75
  - lib/sapphire/DSL/Browser/Nouns/Day.rb
82
76
  - lib/sapphire/DSL/Browser/Nouns/Enter.rb
83
77
  - lib/sapphire/DSL/Browser/Nouns/Month.rb
84
78
  - lib/sapphire/DSL/Browser/Nouns/Popup.rb
79
+ - lib/sapphire/DSL/Browser/Nouns/Second.rb
85
80
  - lib/sapphire/DSL/Browser/Should.rb
86
81
  - lib/sapphire/DSL/Browser/Tracker.rb
87
82
  - lib/sapphire/DSL/Browser/Verbs/Accept.rb
88
- - lib/sapphire/DSL/Browser/Verbs/Attempt.rb
89
83
  - lib/sapphire/DSL/Browser/Verbs/Check.rb
90
84
  - lib/sapphire/DSL/Browser/Verbs/Clear.rb
91
85
  - lib/sapphire/DSL/Browser/Verbs/Click.rb
92
- - lib/sapphire/DSL/Browser/Verbs/Close.rb
93
86
  - lib/sapphire/DSL/Browser/Verbs/Compare.rb
94
87
  - lib/sapphire/DSL/Browser/Verbs/Complete.rb
95
- - lib/sapphire/DSL/Browser/Verbs/Contain.rb
96
- - lib/sapphire/DSL/Browser/Verbs/Count.rb
97
- - lib/sapphire/DSL/Browser/Verbs/Differ.rb
98
88
  - lib/sapphire/DSL/Browser/Verbs/Disable.rb
99
- - lib/sapphire/DSL/Browser/Verbs/Error.rb
100
89
  - lib/sapphire/DSL/Browser/Verbs/Exists.rb
101
- - lib/sapphire/DSL/Browser/Verbs/Hide.rb
90
+ - lib/sapphire/DSL/Browser/Verbs/Exit.rb
91
+ - lib/sapphire/DSL/Browser/Verbs/Has.rb
102
92
  - lib/sapphire/DSL/Browser/Verbs/MouseOver.rb
103
93
  - lib/sapphire/DSL/Browser/Verbs/Navigate.rb
94
+ - lib/sapphire/DSL/Browser/Verbs/On.rb
104
95
  - lib/sapphire/DSL/Browser/Verbs/Press.rb
105
96
  - lib/sapphire/DSL/Browser/Verbs/Reload.rb
97
+ - lib/sapphire/DSL/Browser/Verbs/Remove.rb
106
98
  - lib/sapphire/DSL/Browser/Verbs/Set.rb
107
- - lib/sapphire/DSL/Browser/Verbs/Show.rb
108
99
  - lib/sapphire/DSL/Browser/Verbs/Start.rb
109
100
  - lib/sapphire/DSL/Browser/Verbs/Switch.rb
110
- - lib/sapphire/DSL/Browser/Verbs/Transition.rb
111
101
  - lib/sapphire/DSL/Browser/Verbs/Uncheck.rb
112
102
  - lib/sapphire/DSL/Browser/Verbs/Virtually.rb
113
103
  - lib/sapphire/DSL/Browser/Verbs/Wait.rb
104
+ - lib/sapphire/DSL/Comparisons/CheckedComparison.rb
105
+ - lib/sapphire/DSL/Comparisons/Comparison.rb
106
+ - lib/sapphire/DSL/Comparisons/ContainsComparison.rb
107
+ - lib/sapphire/DSL/Comparisons/DifferComparison.rb
108
+ - lib/sapphire/DSL/Comparisons/EqualsComparison.rb
109
+ - lib/sapphire/DSL/Comparisons/NotComparison.rb
110
+ - lib/sapphire/DSL/Comparisons/SelectedComparison.rb
111
+ - lib/sapphire/DSL/Comparisons/StartsWithComparison.rb
112
+ - lib/sapphire/DSL/Comparisons/VisibleComparison.rb
114
113
  - lib/sapphire/DSL/Configuration/ConfiguredBrowser.rb
115
114
  - lib/sapphire/DSL/Configuration/ConfiguredUser.rb
116
115
  - lib/sapphire/DSL/Configuration/Use.rb
117
- - lib/sapphire/DSL/Data/Exist.rb
118
116
  - lib/sapphire/DSL/Data/Find.rb
119
117
  - lib/sapphire/DSL/Data/GetPageField.rb
120
- - lib/sapphire/DSL/Data/Validate.rb
121
118
  - lib/sapphire/DSL/Data/Verify.rb
122
119
  - lib/sapphire/DSL/Data/Write.rb
120
+ - lib/sapphire/DSL/Evaluations/Evaluation.rb
121
+ - lib/sapphire/DSL/Evaluations/FieldNotDefinedEvaluation.rb
122
+ - lib/sapphire/DSL/Evaluations/FieldNotFoundEvaluation.rb
123
+ - lib/sapphire/DSL/Evaluators/AltText.rb
124
+ - lib/sapphire/DSL/Evaluators/Checked.rb
125
+ - lib/sapphire/DSL/Evaluators/Contain.rb
126
+ - lib/sapphire/DSL/Evaluators/Count.rb
127
+ - lib/sapphire/DSL/Evaluators/Differ.rb
128
+ - lib/sapphire/DSL/Evaluators/Evaluator.rb
129
+ - lib/sapphire/DSL/Evaluators/Exist.rb
130
+ - lib/sapphire/DSL/Evaluators/In.rb
131
+ - lib/sapphire/DSL/Evaluators/Selected.rb
132
+ - lib/sapphire/DSL/Evaluators/Show.rb
133
+ - lib/sapphire/DSL/Evaluators/Source.rb
134
+ - lib/sapphire/DSL/Evaluators/Transition.rb
135
+ - lib/sapphire/DSL/Evaluators/Validate.rb
136
+ - lib/sapphire/DSL/Events/Causes.rb
137
+ - lib/sapphire/DSL/Events/Event.rb
138
+ - lib/sapphire/DSL/Events/Expect.rb
123
139
  - lib/sapphire/DSL/Scenarios/and.rb
124
140
  - lib/sapphire/DSL/Scenarios/background.rb
125
141
  - lib/sapphire/DSL/Scenarios/dsl.rb
@@ -139,17 +155,16 @@ files:
139
155
  - lib/sapphire/DSL/TestPlans/Run.rb
140
156
  - lib/sapphire/DSL/TestPlans/TestPlan.rb
141
157
  - lib/sapphire/DSL.rb
158
+ - lib/sapphire/Extensions/Class.rb
159
+ - lib/sapphire/Extensions/Hash.rb
160
+ - lib/sapphire/Extensions/Numeric.rb
161
+ - lib/sapphire/Extensions/Object.rb
162
+ - lib/sapphire/Extensions/String.rb
163
+ - lib/sapphire/Extensions/Symbol.rb
164
+ - lib/sapphire/Extensions.rb
142
165
  - lib/sapphire/JobAbstractions/Job.rb
143
- - lib/sapphire/Strategies/ClassStrategy.rb
144
- - lib/sapphire/Strategies/ContainsEvaluation.rb
145
- - lib/sapphire/Strategies/ContainsNullModifier.rb
146
- - lib/sapphire/Strategies/DefaultStrategy.rb
147
- - lib/sapphire/Strategies/Evaluation.rb
148
- - lib/sapphire/Strategies/HashStrategy.rb
149
- - lib/sapphire/Strategies/NullModifier.rb
150
- - lib/sapphire/Strategies/Strategy.rb
151
- - lib/sapphire/Strategies/SymbolStrategy.rb
152
- - lib/sapphire/Strategies.rb
166
+ - lib/sapphire/Sessions/Parameter.rb
167
+ - lib/sapphire/Sessions/Storage.rb
153
168
  - lib/sapphire/TeamCity/TeamCityReporter.rb
154
169
  - lib/sapphire/TeamCity.rb
155
170
  - lib/sapphire/Testing/ConsoleReporter.rb
@@ -169,6 +184,7 @@ files:
169
184
  - lib/sapphire/Testing/TestRunnerAdapter.rb
170
185
  - lib/sapphire/Testing.rb
171
186
  - lib/sapphire/UI/Functions.rb
187
+ - lib/sapphire/UI/ProcessBuilder.rb
172
188
  - lib/sapphire/UI/VirtualUI.rb
173
189
  - lib/sapphire/version.rb
174
190
  - lib/sapphire/Virtualization.rb
@@ -176,6 +192,7 @@ files:
176
192
  - lib/sapphire/WebAbstractions/Browsers/Chrome.rb
177
193
  - lib/sapphire/WebAbstractions/Browsers/FireFox.rb
178
194
  - lib/sapphire/WebAbstractions/Browsers/InternetExplorer.rb
195
+ - lib/sapphire/WebAbstractions/Controls/AlertBox.rb
179
196
  - lib/sapphire/WebAbstractions/Controls/Base/Control.rb
180
197
  - lib/sapphire/WebAbstractions/Controls/Base/Page.rb
181
198
  - lib/sapphire/WebAbstractions/Controls/Button.rb
@@ -187,7 +204,6 @@ files:
187
204
  - lib/sapphire/WebAbstractions/Controls/Label.rb
188
205
  - lib/sapphire/WebAbstractions/Controls/List.rb
189
206
  - lib/sapphire/WebAbstractions/Controls/RadioButton.rb
190
- - lib/sapphire/WebAbstractions/Controls/TableCell.rb
191
207
  - lib/sapphire/WebAbstractions/Controls/TextBox.rb
192
208
  - lib/sapphire/WebAbstractions/Controls/Title.rb
193
209
  - lib/sapphire.rb
@@ -212,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
228
  version: '0'
213
229
  requirements: []
214
230
  rubyforge_project:
215
- rubygems_version: 1.8.5
231
+ rubygems_version: 1.7.2
216
232
  signing_key:
217
233
  specification_version: 3
218
234
  summary: An automated web acceptance test framework for non-technical resources