rubySelenium 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (286) hide show
  1. data/bin/rubyselenium-seed +25 -0
  2. data/documentation/output/css/style.css +36 -0
  3. data/documentation/output/documentation.html +197 -0
  4. data/documentation/output/files/rdoc/classes/Batch_Generator.html +274 -0
  5. data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000062.html +19 -0
  6. data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000063.html +26 -0
  7. data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000064.html +22 -0
  8. data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000065.html +20 -0
  9. data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000066.html +23 -0
  10. data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000067.html +18 -0
  11. data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000068.html +20 -0
  12. data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000069.html +18 -0
  13. data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000070.html +23 -0
  14. data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000071.html +20 -0
  15. data/documentation/output/files/rdoc/classes/GenerateCommand.html +137 -0
  16. data/documentation/output/files/rdoc/classes/GenerateCommand.src/M000001.html +54 -0
  17. data/documentation/output/files/rdoc/classes/HTML_File_Generator.html +229 -0
  18. data/documentation/output/files/rdoc/classes/HTML_File_Generator.src/M000072.html +23 -0
  19. data/documentation/output/files/rdoc/classes/HTML_File_Generator.src/M000073.html +20 -0
  20. data/documentation/output/files/rdoc/classes/HTML_File_Generator.src/M000074.html +18 -0
  21. data/documentation/output/files/rdoc/classes/HTML_File_Generator.src/M000075.html +19 -0
  22. data/documentation/output/files/rdoc/classes/HTML_File_Generator.src/M000076.html +18 -0
  23. data/documentation/output/files/rdoc/classes/HTML_File_Generator.src/M000077.html +18 -0
  24. data/documentation/output/files/rdoc/classes/HTML_File_Generator.src/M000078.html +18 -0
  25. data/documentation/output/files/rdoc/classes/MissingConfigurationFile.html +111 -0
  26. data/documentation/output/files/rdoc/classes/MissingRubyTestFiles.html +111 -0
  27. data/documentation/output/files/rdoc/classes/RubySelenium.html +1523 -0
  28. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000002.html +20 -0
  29. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000003.html +18 -0
  30. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000004.html +18 -0
  31. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000005.html +18 -0
  32. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000006.html +18 -0
  33. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000007.html +18 -0
  34. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000008.html +18 -0
  35. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000009.html +18 -0
  36. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000010.html +18 -0
  37. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000011.html +18 -0
  38. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000012.html +18 -0
  39. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000013.html +18 -0
  40. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000014.html +18 -0
  41. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000015.html +18 -0
  42. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000016.html +18 -0
  43. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000017.html +18 -0
  44. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000018.html +18 -0
  45. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000019.html +18 -0
  46. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000020.html +18 -0
  47. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000021.html +18 -0
  48. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000022.html +18 -0
  49. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000023.html +18 -0
  50. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000024.html +18 -0
  51. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000025.html +18 -0
  52. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000026.html +18 -0
  53. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000027.html +18 -0
  54. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000028.html +18 -0
  55. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000029.html +18 -0
  56. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000030.html +18 -0
  57. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000031.html +18 -0
  58. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000032.html +18 -0
  59. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000033.html +18 -0
  60. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000034.html +18 -0
  61. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000035.html +18 -0
  62. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000036.html +18 -0
  63. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000037.html +18 -0
  64. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000038.html +18 -0
  65. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000039.html +18 -0
  66. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000040.html +18 -0
  67. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000041.html +18 -0
  68. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000042.html +18 -0
  69. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000043.html +18 -0
  70. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000044.html +18 -0
  71. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000045.html +18 -0
  72. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000046.html +18 -0
  73. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000047.html +18 -0
  74. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000048.html +18 -0
  75. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000049.html +18 -0
  76. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000050.html +18 -0
  77. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000051.html +18 -0
  78. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000052.html +18 -0
  79. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000053.html +18 -0
  80. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000054.html +18 -0
  81. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000055.html +18 -0
  82. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000056.html +21 -0
  83. data/documentation/output/files/rdoc/classes/RubySelenium.src/M000057.html +20 -0
  84. data/documentation/output/files/rdoc/classes/RubySeleniumConfig.html +182 -0
  85. data/documentation/output/files/rdoc/classes/RubySeleniumConfig.src/M000093.html +22 -0
  86. data/documentation/output/files/rdoc/classes/RubySeleniumConfig.src/M000094.html +27 -0
  87. data/documentation/output/files/rdoc/classes/RubySeleniumConfig.src/M000095.html +25 -0
  88. data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.html +334 -0
  89. data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000079.html +18 -0
  90. data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000080.html +18 -0
  91. data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000081.html +18 -0
  92. data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000082.html +18 -0
  93. data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000083.html +18 -0
  94. data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000084.html +18 -0
  95. data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000085.html +21 -0
  96. data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000086.html +21 -0
  97. data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000087.html +21 -0
  98. data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000088.html +21 -0
  99. data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000089.html +21 -0
  100. data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000090.html +21 -0
  101. data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000091.html +21 -0
  102. data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000092.html +21 -0
  103. data/documentation/output/files/rdoc/classes/String.html +137 -0
  104. data/documentation/output/files/rdoc/classes/String.src/M000096.html +20 -0
  105. data/documentation/output/files/rdoc/classes/Templates.html +184 -0
  106. data/documentation/output/files/rdoc/classes/Templates.src/M000058.html +20 -0
  107. data/documentation/output/files/rdoc/classes/Templates.src/M000059.html +18 -0
  108. data/documentation/output/files/rdoc/classes/Templates.src/M000060.html +18 -0
  109. data/documentation/output/files/rdoc/classes/Templates.src/M000061.html +18 -0
  110. data/documentation/output/files/rdoc/created.rid +1 -0
  111. data/documentation/output/files/rdoc/files/lib/RubySeleniumGenerator_rb.html +101 -0
  112. data/documentation/output/files/rdoc/files/lib/RubySelenium_rb.html +352 -0
  113. data/documentation/output/files/rdoc/fr_class_index.html +36 -0
  114. data/documentation/output/files/rdoc/fr_file_index.html +28 -0
  115. data/documentation/output/files/rdoc/fr_method_index.html +122 -0
  116. data/documentation/output/files/rdoc/index.html +24 -0
  117. data/documentation/output/files/rdoc/rdoc-style.css +208 -0
  118. data/documentation/output/images/background.jpg +0 -0
  119. data/documentation/output/images/blanklogo_noswirl.jpg +0 -0
  120. data/documentation/output/images/blanklogo_withswirl.jpg +0 -0
  121. data/documentation/output/images/left1.jpg +0 -0
  122. data/documentation/output/images/left1bg.jpg +0 -0
  123. data/documentation/output/images/mainbackground.jpg +0 -0
  124. data/documentation/output/images/menudivider.jpg +0 -0
  125. data/documentation/output/images/tempheadline.jpg +0 -0
  126. data/documentation/output/images/templogo.jpg +0 -0
  127. data/documentation/output/images/toplogobg.jpg +0 -0
  128. data/documentation/output/images/welcome.jpg +0 -0
  129. data/documentation/output/index.html +108 -0
  130. data/documentation/output/menu/my_menu.css +1 -0
  131. data/documentation/output/menu/my_menu.js +1 -0
  132. data/documentation/src/css/style.css +36 -0
  133. data/documentation/src/documentation.template.txt +51 -0
  134. data/documentation/src/files/rdoc/classes/Batch_Generator.html +274 -0
  135. data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000062.html +19 -0
  136. data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000063.html +26 -0
  137. data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000064.html +22 -0
  138. data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000065.html +20 -0
  139. data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000066.html +23 -0
  140. data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000067.html +18 -0
  141. data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000068.html +20 -0
  142. data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000069.html +18 -0
  143. data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000070.html +23 -0
  144. data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000071.html +20 -0
  145. data/documentation/src/files/rdoc/classes/GenerateCommand.html +137 -0
  146. data/documentation/src/files/rdoc/classes/GenerateCommand.src/M000001.html +54 -0
  147. data/documentation/src/files/rdoc/classes/HTML_File_Generator.html +229 -0
  148. data/documentation/src/files/rdoc/classes/HTML_File_Generator.src/M000072.html +23 -0
  149. data/documentation/src/files/rdoc/classes/HTML_File_Generator.src/M000073.html +20 -0
  150. data/documentation/src/files/rdoc/classes/HTML_File_Generator.src/M000074.html +18 -0
  151. data/documentation/src/files/rdoc/classes/HTML_File_Generator.src/M000075.html +19 -0
  152. data/documentation/src/files/rdoc/classes/HTML_File_Generator.src/M000076.html +18 -0
  153. data/documentation/src/files/rdoc/classes/HTML_File_Generator.src/M000077.html +18 -0
  154. data/documentation/src/files/rdoc/classes/HTML_File_Generator.src/M000078.html +18 -0
  155. data/documentation/src/files/rdoc/classes/MissingConfigurationFile.html +111 -0
  156. data/documentation/src/files/rdoc/classes/MissingRubyTestFiles.html +111 -0
  157. data/documentation/src/files/rdoc/classes/RubySelenium.html +1523 -0
  158. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000002.html +20 -0
  159. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000003.html +18 -0
  160. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000004.html +18 -0
  161. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000005.html +18 -0
  162. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000006.html +18 -0
  163. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000007.html +18 -0
  164. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000008.html +18 -0
  165. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000009.html +18 -0
  166. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000010.html +18 -0
  167. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000011.html +18 -0
  168. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000012.html +18 -0
  169. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000013.html +18 -0
  170. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000014.html +18 -0
  171. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000015.html +18 -0
  172. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000016.html +18 -0
  173. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000017.html +18 -0
  174. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000018.html +18 -0
  175. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000019.html +18 -0
  176. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000020.html +18 -0
  177. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000021.html +18 -0
  178. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000022.html +18 -0
  179. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000023.html +18 -0
  180. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000024.html +18 -0
  181. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000025.html +18 -0
  182. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000026.html +18 -0
  183. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000027.html +18 -0
  184. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000028.html +18 -0
  185. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000029.html +18 -0
  186. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000030.html +18 -0
  187. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000031.html +18 -0
  188. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000032.html +18 -0
  189. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000033.html +18 -0
  190. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000034.html +18 -0
  191. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000035.html +18 -0
  192. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000036.html +18 -0
  193. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000037.html +18 -0
  194. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000038.html +18 -0
  195. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000039.html +18 -0
  196. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000040.html +18 -0
  197. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000041.html +18 -0
  198. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000042.html +18 -0
  199. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000043.html +18 -0
  200. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000044.html +18 -0
  201. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000045.html +18 -0
  202. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000046.html +18 -0
  203. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000047.html +18 -0
  204. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000048.html +18 -0
  205. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000049.html +18 -0
  206. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000050.html +18 -0
  207. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000051.html +18 -0
  208. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000052.html +18 -0
  209. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000053.html +18 -0
  210. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000054.html +18 -0
  211. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000055.html +18 -0
  212. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000056.html +21 -0
  213. data/documentation/src/files/rdoc/classes/RubySelenium.src/M000057.html +20 -0
  214. data/documentation/src/files/rdoc/classes/RubySeleniumConfig.html +182 -0
  215. data/documentation/src/files/rdoc/classes/RubySeleniumConfig.src/M000093.html +22 -0
  216. data/documentation/src/files/rdoc/classes/RubySeleniumConfig.src/M000094.html +27 -0
  217. data/documentation/src/files/rdoc/classes/RubySeleniumConfig.src/M000095.html +25 -0
  218. data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.html +334 -0
  219. data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000079.html +18 -0
  220. data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000080.html +18 -0
  221. data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000081.html +18 -0
  222. data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000082.html +18 -0
  223. data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000083.html +18 -0
  224. data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000084.html +18 -0
  225. data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000085.html +21 -0
  226. data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000086.html +21 -0
  227. data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000087.html +21 -0
  228. data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000088.html +21 -0
  229. data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000089.html +21 -0
  230. data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000090.html +21 -0
  231. data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000091.html +21 -0
  232. data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000092.html +21 -0
  233. data/documentation/src/files/rdoc/classes/String.html +137 -0
  234. data/documentation/src/files/rdoc/classes/String.src/M000096.html +20 -0
  235. data/documentation/src/files/rdoc/classes/Templates.html +184 -0
  236. data/documentation/src/files/rdoc/classes/Templates.src/M000058.html +20 -0
  237. data/documentation/src/files/rdoc/classes/Templates.src/M000059.html +18 -0
  238. data/documentation/src/files/rdoc/classes/Templates.src/M000060.html +18 -0
  239. data/documentation/src/files/rdoc/classes/Templates.src/M000061.html +18 -0
  240. data/documentation/src/files/rdoc/created.rid +1 -0
  241. data/documentation/src/files/rdoc/files/lib/RubySeleniumGenerator_rb.html +101 -0
  242. data/documentation/src/files/rdoc/files/lib/RubySelenium_rb.html +352 -0
  243. data/documentation/src/files/rdoc/fr_class_index.html +36 -0
  244. data/documentation/src/files/rdoc/fr_file_index.html +28 -0
  245. data/documentation/src/files/rdoc/fr_method_index.html +122 -0
  246. data/documentation/src/files/rdoc/index.html +24 -0
  247. data/documentation/src/files/rdoc/rdoc-style.css +208 -0
  248. data/documentation/src/images/background.jpg +0 -0
  249. data/documentation/src/images/blanklogo_noswirl.jpg +0 -0
  250. data/documentation/src/images/blanklogo_withswirl.jpg +0 -0
  251. data/documentation/src/images/left1.jpg +0 -0
  252. data/documentation/src/images/left1bg.jpg +0 -0
  253. data/documentation/src/images/mainbackground.jpg +0 -0
  254. data/documentation/src/images/menudivider.jpg +0 -0
  255. data/documentation/src/images/tempheadline.jpg +0 -0
  256. data/documentation/src/images/templogo.jpg +0 -0
  257. data/documentation/src/images/toplogobg.jpg +0 -0
  258. data/documentation/src/images/welcome.jpg +0 -0
  259. data/documentation/src/index.template.txt +50 -0
  260. data/documentation/src/keywords/documentation_user_guide_content.keyword.txt +134 -0
  261. data/documentation/src/keywords/generic_browser_title.keyword.txt +1 -0
  262. data/documentation/src/keywords/generic_published.keyword.rb +1 -0
  263. data/documentation/src/keywords/index_content.keyword.txt +51 -0
  264. data/documentation/src/menu/default_menu/default_menu.css +44 -0
  265. data/documentation/src/menu/default_menu/default_menu.html.txt +28 -0
  266. data/documentation/src/menu/default_menu/default_menu.js +19 -0
  267. data/documentation/src/menu/menu_config.txt +1 -0
  268. data/documentation/src/menu/my_menu/my_menu.html.txt +15 -0
  269. data/lib/RubySelenium.rb +1088 -0
  270. data/lib/RubySeleniumGenerator.rb +570 -0
  271. data/rubySelenium.gemspec +48 -0
  272. data/unittests/TODO.txt +10 -0
  273. data/unittests/all_tests.rb +5 -0
  274. data/unittests/rubySeleniumConfig.txt +41 -0
  275. data/unittests/test-structure/001_MyFirstTest.rb +15 -0
  276. data/unittests/test-structure/002_MySecondTest.rb +15 -0
  277. data/unittests/test-structure/003_MyThirdTest.rb +15 -0
  278. data/unittests/test-structure/execute_all_tests.rb +2 -0
  279. data/unittests/test-structure/generate_all_tests.rb +2 -0
  280. data/unittests/test-structure/rubySeleniumConfig.txt +41 -0
  281. data/unittests/test_batch_generator.rb +58 -0
  282. data/unittests/test_command_line_execution.rb +17 -0
  283. data/unittests/test_config_file.rb +28 -0
  284. data/unittests/test_html_file_creation.rb +93 -0
  285. data/unittests/test_selenium_core_api.rb +108 -0
  286. metadata +374 -0
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>make_rubySeleniumConfig (RubySeleniumGenerator)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/RubySeleniumGenerator.rb, line 27</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">make_rubySeleniumConfig</span>
15
+ <span class="ruby-identifier">data</span> = <span class="ruby-value str">&quot;# These configurations are only used when running locally on your machine\n# and don't apply for running on a remote server in automated test mode.\n\n# GENERATE_LOCATION\n# This sets the location that rubySelenium will generate the html.\n# set it with the full path to the folder you want the tests to be generated into.\n# e.g. C:/IBM/workspaces/SecureMessaging1/FunctionalTests/WebContent/tests/Ruby\n\nGENERATE_LOCATION = ./tests\n\n# TEST_LOCATION\n# This sets the location that rubySelenium should look for when running\n# the tests locally. It should point to the url of where the tests live on\n# your local server.\n#\n# e.g. if you navigate to\n# http://localhost:9081/Selenium/tests/Ruby/tests/seleniumTestRunner.html\n# to find your tests then you should set this property to\n# http://localhost:9081/Selenium/tests/Ruby\n\nTEST_LOCATION = http://localhost:9081/Selenium/tests/Ruby/tests\n\n# LOGGING\n# This turns the log output on or off when using the generate command.\n# When you run the generate command all the html is generated - this is\n# for use when hooked up to the remote cruisecontrol driven automation.\n# The logs show all the ruby code that is executed in order to create the html.\n#\n# set it to true or false to turn it on or off\n\nLOGGING = false\n\n# IE_LOCATION\n# This is the location of your Internet Explorer executable (iexplore.exe)\n\nIE_LOCATION = C:/Program Files/Internet Explorer/IEXPLORE.EXE\n\n# FF_LOCATION\n# This is the location of your Firefox executable (firefox.exe)\n\nFF_LOCATION = C:/Program Files/Mozilla Firefox/firefox.exe\n\n# LOCAL_TEST_RESULTS\n# After a test has run locally it will dump out the results to the testResults\n# directory. You can turn this on or off here by setting it to either true or false.\n\nLOCAL_TEST_RESULTS = false\n&quot;</span>
16
+ <span class="ruby-identifier">f</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-value str">&quot;rubySeleniumConfig.txt&quot;</span>, <span class="ruby-value str">&quot;w&quot;</span>)
17
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">puts</span> <span class="ruby-identifier">data</span>
18
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">close</span>
19
+ <span class="ruby-keyword kw">end</span></pre>
20
+ </body>
21
+ </html>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>make_seleniumMethods (RubySeleniumGenerator)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/RubySeleniumGenerator.rb, line 83</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">make_seleniumMethods</span>
15
+ <span class="ruby-identifier">data</span> = <span class="ruby-value str">&quot;# Selenium helper methods - Kingsley Hendrickse @ ThoughtWorks 2005\n#\n# This is a collection if useful user-defined functions that can be used when writing rubySelenium tests.\n\nrequire 'methods/datahandler'\n\nclass SeleniumMethods\n\n# Supply a selenium object when you instantiate this class\n# example:\n#\n# require 'methods/seleniumMethods'\n#\n# Create new SeleniumMethods and RubySelenium instances\n# t = SeleniumMethods.new(s = RubySelenium.new)\n#\ndef initialize(selenium)\n@s = selenium\n# Set up Data that can be used in the user-defined functions\nd = DataHandler.new(\&quot;methods/user_data.csv\&quot;)\n@DirectInvestor = d.data[0]\nend\n\n# The login function takes a type of client - there are currently 5 types of client defined\n#\n# 1. DirectInvestor\n# 2. DirectEnquirer\n# 3. BrokerLinkedEnquirer\n# 4. BrokerLinkedInvestor\n# 5. ShareNetwork\n#\n# The login function will then generate login commands using the appropriate data and it will also verify\n# that the client has logged in correctly\n#\n# example: t.login(\&quot;DirectInvestor\&quot;)\n#\ndef login(id)\n\nif id == \&quot;DirectInvestor\&quot;\nid = @DirectInvestor.crnNumber\nend\n\n@s.open(\&quot;/someurl\&quot;)\n@s.open(\&quot;javascript:var link=document.getElementById('logoutUser');if(link!=null){location.href=link.href;}else{location.hash='dummy';}\&quot;)\n@s.open(\&quot;/wps/myportal\&quot;)\n@s.type(\&quot;userID\&quot;,\&quot;#\\{id\\}\&quot;)\n@s.type(\&quot;password\&quot;,\&quot;#\\{id\\}\&quot;)\n@s.clickAndWait(\&quot;login\&quot;)\n@s.open(\&quot;/someurl\&quot;)\n@s.verifyTextPresent(\&quot;Log out\&quot;)\n@s.verifyTextPresent(\&quot;Some Text\&quot;)\nend\n\n# This method is for creating strings of the supplied length. It creates the specified number of characters as the letter x\n#\n# example: t.length(10) -&gt; makes a string of 10 x's e.g. xxxxxxxxxx\n#\ndef length(num, char=\&quot;x\&quot;)\narr = [] ; (1..num).to_a.each{|x| arr &lt;&lt; char}\nreturn arr\nend\n\n# This methods returns todays date in the format required by the secure messaging\n#\n# example: t.timeNow -&gt; returns e.g. 07-Jun-2005\n#\ndef timeNow\nTime.now.strftime(\&quot;%d %b %Y\&quot;)\nend\n\n# This methods returns todays date in the format required by account management header\n# It only checks the date as the server time is different from BST as 'they' don't use nntp for some bizarre reason.\n# Before you ask yes yes I did ask why not but there was not really much of an answer and I'm busy....\n#\n# example: t.todaysDate -&gt; returns e.g. July 11, 2005 12:52\n#\ndef todaysDate\nTime.now.strftime(\&quot;%B %d, %Y :\&quot;)\nend\n\nend\n&quot;</span>
16
+ <span class="ruby-identifier">f</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-value str">&quot;methods/seleniumMethods.rb&quot;</span>,<span class="ruby-value str">&quot;w&quot;</span>)
17
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">puts</span> <span class="ruby-identifier">data</span>
18
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">close</span>
19
+ <span class="ruby-keyword kw">end</span></pre>
20
+ </body>
21
+ </html>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>make_datahandler (RubySeleniumGenerator)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/RubySeleniumGenerator.rb, line 173</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">make_datahandler</span>
15
+ <span class="ruby-identifier">data</span> = <span class="ruby-value str">&quot;class DataHandler\n\n# This allows you to put data in a csv file and access it in your scripts for\n# a data driven approach.\n#\n# e.g.\n# require 'datahandler'\n# d = DataHandler.new(\&quot;data.csv\&quot;)\n# loginId = d.data[0].LoginId --&gt; line 1 of the csv file and column LoginId\n# pin = d.data[0].Pin --&gt; line 1 of the cvs file and column Pin\n#\ndef initialize(datafile)\n@datafile = datafile\nend\n\ndef data\ncsv_data = File.readlines(@datafile)\nheader = csv_data[0].split(\&quot;,\&quot;)\nheader.each{|z| z.chomp!}\ndata = Struct.new(\&quot;Data\&quot;, *header)\ncsv_data.shift\ndata_array = []\ncsv_data.each do |line|\nline.each{|z| line.chomp!}\ndata_array &lt;&lt; data.new(*line.split(\&quot;,\&quot;))\nend\nreturn data_array\nend\n\nend\n&quot;</span>
16
+ <span class="ruby-identifier">f</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-value str">&quot;methods/datahandler.rb&quot;</span>,<span class="ruby-value str">&quot;w&quot;</span>)
17
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">puts</span> <span class="ruby-identifier">data</span>
18
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">close</span>
19
+ <span class="ruby-keyword kw">end</span></pre>
20
+ </body>
21
+ </html>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>make_execute_all_tests (RubySeleniumGenerator)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/RubySeleniumGenerator.rb, line 212</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">make_execute_all_tests</span>
15
+ <span class="ruby-identifier">data</span> = <span class="ruby-value str">&quot;require 'RubySelenium'\n\n# FireFox or IE\nBatch_Generator.new.go\n&quot;</span>
16
+ <span class="ruby-identifier">f</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-value str">&quot;execute_all_tests.rb&quot;</span>,<span class="ruby-value str">&quot;w&quot;</span>)
17
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">puts</span> <span class="ruby-identifier">data</span>
18
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">close</span>
19
+ <span class="ruby-keyword kw">end</span></pre>
20
+ </body>
21
+ </html>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>make_generate_all_tests (RubySeleniumGenerator)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/RubySeleniumGenerator.rb, line 225</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">make_generate_all_tests</span>
15
+ <span class="ruby-identifier">data</span> = <span class="ruby-value str">&quot;require 'RubySelenium'\nBatch_Generator.new.create_all_test_files\n&quot;</span>
16
+ <span class="ruby-identifier">f</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-value str">&quot;generate_all_tests.rb&quot;</span>,<span class="ruby-value str">&quot;w&quot;</span>)
17
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">puts</span> <span class="ruby-identifier">data</span>
18
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">close</span>
19
+ <span class="ruby-keyword kw">end</span></pre>
20
+ </body>
21
+ </html>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>make_sample_user_data (RubySeleniumGenerator)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/RubySeleniumGenerator.rb, line 236</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">make_sample_user_data</span>
15
+ <span class="ruby-identifier">data</span> = <span class="ruby-value str">&quot;clientLogin,webInvestorId,queue,emailAddress,clientType,crnNumber,firstName,secondName,postCode,linked\nDirectInvestor,9999999,Retail,selenium_9999@test.com,Direct,8888888,David,Hopes,SW18 5LY,Yes\n&quot;</span>
16
+ <span class="ruby-identifier">f</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-value str">&quot;methods/user_data.csv&quot;</span>,<span class="ruby-value str">&quot;w&quot;</span>)
17
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">puts</span> <span class="ruby-identifier">data</span>
18
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">close</span>
19
+ <span class="ruby-keyword kw">end</span></pre>
20
+ </body>
21
+ </html>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>make_webserver (RubySeleniumGenerator)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/RubySeleniumGenerator.rb, line 247</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">make_webserver</span>
15
+ <span class="ruby-identifier">data</span> = <span class="ruby-value str">&quot;#!/usr/local/bin/ruby\nrequire 'webrick'\nrequire 'uri'\nrequire 'net/smtp'\ninclude WEBrick\n\n# set up variables\nTO_ADDRESS = \&quot;some_email_address@somedomain.com\&quot;\n\ns = HTTPServer.new( :Port =&gt; 2001 )\n\nclass ApplicationStatus &lt; HTTPServlet::AbstractServlet\n\ndef do_GET(req,res)\nres.body = \&quot;&lt;html&gt;&lt;body&gt;&lt;p&gt;Ruby Results WebServer is UP&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;\&quot;\nend\nend\n\nclass SeleniumResults &lt; HTTPServlet::AbstractServlet\n\ndef template_header(css_file)\nhtml =&lt;&lt;-EOF\n&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;Ruby Selenium Results&lt;/title&gt;\n&lt;link rel=\&quot;stylesheet\&quot; type=\&quot;text/css\&quot; href=\&quot;#\\{css_file\\}\&quot; /&gt;\n&lt;/head&gt;\n&lt;body&gt;\n&lt;div id=\&quot;banner\&quot;&gt;Selenium Results&lt;/div&gt;\n&lt;div id=\&quot;author\&quot;&gt;Kingsley Hendrickse (ThoughtWorks)&lt;/div&gt;\nEOF\nhtml\nend\n\ndef tableOne(body)\ndecoded_body = URI.unescape(body.to_s).gsub(\&quot;+\&quot;,\&quot;\\\\s\&quot;)\nresultsArray = decoded_body.split(\&quot;\\\\n\&quot;)\nresultStats = resultsArray[0].split(\&quot;&amp;\&quot;)\n\nresult = {\n\&quot;result\&quot; =&gt; resultStats[0].split(\&quot;=\&quot;)[1],\n\&quot;totalTime\&quot; =&gt; resultStats[1].split(\&quot;=\&quot;)[1],\n\&quot;numberTestsPassed\&quot; =&gt; resultStats[2].split(\&quot;=\&quot;)[1],\n\&quot;numberTestsFailed\&quot; =&gt; resultStats[3].split(\&quot;=\&quot;)[1],\n\&quot;numberCommandsPassed\&quot; =&gt; resultStats[4].split(\&quot;=\&quot;)[1],\n\&quot;numberCommandsFailed\&quot; =&gt; resultStats[5].split(\&quot;=\&quot;)[1],\n\&quot;numberCommandsError\&quot; =&gt; resultStats[6].split(\&quot;=\&quot;)[1],\n\&quot;testSuite\&quot; =&gt; resultStats[7].split(\&quot;=\&quot;)[1]\n}\n\nif result['testSuite'] == nil then result['testSuite'] = \&quot;Local Run #\\{Time.now\\}\&quot; ; @testSuite = \&quot;Local_Run_#\\{Time.now.to_s.gsub(' ','_').gsub(':','_')\\}\&quot; else @testSuite = result['testSuite'] end\nif result['result'] == \&quot;passed\&quot; then css_result = \&quot;res_passed\&quot; ; @status = \&quot;Passed\&quot; else css_result = \&quot;res_failed\&quot; ; @status = \&quot;Failed\&quot; end\n\ntable_1 = &lt;&lt;-EOF\n&lt;table&gt;\n&lt;tr&gt;&lt;td&gt;&lt;div id=\&quot;res_suite_title\&quot;&gt;Results for Test Suite:&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;div id=\&quot;res_suite_value\&quot;&gt;#\\{result['testSuite']\\}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tr&gt;&lt;td&gt;&lt;div id=\&quot;res_title\&quot;&gt;Run Date&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;div id=\&quot;res_value\&quot;&gt;#\\{Time.now.to_s\\}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tr&gt;&lt;td&gt;&lt;div id=\&quot;res_title\&quot;&gt;Result Status&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;div id=\&quot;#\\{css_result\\}\&quot;&gt;#\\{result['result']\\}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tr&gt;&lt;td&gt;&lt;div id=\&quot;res_title\&quot;&gt;Total Time&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;div id=\&quot;res_value\&quot;&gt;#\\{result['totalTime']\\}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tr&gt;&lt;td&gt;&lt;div id=\&quot;res_title\&quot;&gt;Number of Tests Passed&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;div id=\&quot;res_value_passed\&quot;&gt;#\\{result['numberTestsPassed']\\}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tr&gt;&lt;td&gt;&lt;div id=\&quot;res_title\&quot;&gt;Number of Tests Failed&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;div id=\&quot;res_value_failed\&quot;&gt;#\\{result['numberTestsFailed']\\}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tr&gt;&lt;td&gt;&lt;div id=\&quot;res_title\&quot;&gt;Number of Commands Passed&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;div id=\&quot;res_value_passed\&quot;&gt;#\\{result['numberCommandsPassed']\\}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tr&gt;&lt;td&gt;&lt;div id=\&quot;res_title\&quot;&gt;Number of Commands Failed&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;div id=\&quot;res_value_failed\&quot;&gt;#\\{result['numberCommandsFailed']\\}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tr&gt;&lt;td&gt;&lt;div id=\&quot;res_title\&quot;&gt;Number of Command Errors&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;div id=\&quot;res_value_failed\&quot;&gt;#\\{result['numberCommandsError']\\}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;/table&gt;\nEOF\nend\n\ndef tableTwo(body)\ndecoded_body = URI.unescape(body.to_s).gsub(\&quot;+\&quot;,\&quot;\\\\s\&quot;)\nresultsArray = decoded_body.split(\&quot;\\\\n\&quot;)\nresultsArray.shift\nreturn resultsArray.to_s.gsub(/&amp;testTable\\.\\d+=/, '&lt;br&gt;&lt;hr color=\&quot;lightblue\&quot; size=\&quot;5\&quot;&gt;&lt;br&gt;').gsub(/&amp;suite=/, '&lt;br&gt;&lt;hr color=\&quot;lightblue\&quot; size=\&quot;5\&quot;&gt;&lt;br&gt;')\nend\n\ndef sendMail(to_address, subject, body)\nmsgstr = &lt;&lt;-EOF\nFrom: Selenium Automated Tests\nTo: #\\{TO_ADDRESS.split(\&quot;@\&quot;)[0].gsub(\&quot;.\&quot;,\&quot; \&quot;)\\} &lt;#\\{TO_ADDRESS\\}&gt;\nSubject: #\\{subject\\}\nDate: #\\{Time.now\\}\nContent-Type: text/html\n#\\{body\\}\nEOF\n\nNet::SMTP.start('mail21.hld.uk.fid-intl.com', 25) do |smtp|\nsmtp.send_message msgstr, 'from@address', TO_ADDRESS\nend\nend\n\ndef mail_header\nhtml =&lt;&lt;-EOF\n&lt;!DOCTYPE HTML PUBLIC \&quot;-//W3C//DTD HTML 4.0 Transitional//EN\&quot;&gt;\n&lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;Selenium Automated Tests&lt;/TITLE&gt;\n&lt;style&gt;\n#res_suite_title\n{\nfont: bold 14px arial;\ntext-align: centre;\nbackground-color: lightblue;\npadding: 10px 10px 10px 10px;\n}\n\n#res_suite_value\n{\nfont: bold 12px arial;\ntext-align: centre;\nbackground-color: lightblue;\ncolor: black;\npadding: 10px 10px 10px 10px;\n}\n\n#res_title\n{\nfont: bold 12px arial;\ntext-align: center;\nbackground-color: lightgrey;\n}\n\n#res_value\n{\nfont: bold 12px arial;\ntext-align: center;\nbackground-color: beige;\ncolor: black;\n}\n\n#res_value_passed\n{\nfont: bold 12px arial;\ntext-align: center;\nbackground-color: beige;\ncolor: green;\n}\n\n#res_value_failed\n{\nfont: bold 12px arial;\ntext-align: center;\nbackground-color: beige;\ncolor: red;\n}\n\n#res_passed\n{\nfont: bold 12px arial;\ntext-align: center;\nbackground-color: #cfffcf;\ncolor: black;\n}\n\n#res_failed\n{\nfont: bold 12px arial;\ntext-align: center;\nbackground-color: red;\ncolor: black;\n}\n&lt;/style&gt;\n&lt;META content=\&quot;MSHTML 6.00.2800.1498\&quot; name=GENERATOR&gt;&lt;/HEAD&gt;\nEOF\nend\n\ndef do_GET(req,res)\nres.body = template_header(\&quot;seleniumResults.css\&quot;)\nres.body &lt;&lt; tableOne(req.body)\nres.body &lt;&lt; \&quot;&lt;br&gt;\&quot;\nres.body &lt;&lt; tableTwo(req.body)\nres.body &lt;&lt; \&quot;&lt;/body&gt;&lt;/html&gt;\&quot;\n\nf = File.new(\&quot;../testResults/#\\{@testSuite\\}.html\&quot;, \&quot;w\&quot;)\nf.puts template_header(\&quot;../RubyWebService/css/seleniumResults.css\&quot;)\nf.puts tableOne(req.body)\nf.puts \&quot;&lt;br&gt;\&quot;\nf.puts tableTwo(req.body)\nf.puts \&quot;&lt;/body&gt;&lt;/html&gt;\&quot;\nf.close\n\nif @testSuite =~ /Local_Run/ then puts \&quot;No Mail sent as local run\&quot; else\nsubject = \&quot;Selenium Automated Test (#\\{@testSuite\\}) - #\\{@status\\}\&quot;\nsendMail(TO_ADDRESS, subject, mail_header + tableOne(req.body).to_s + \&quot;&lt;BR&gt;\&quot; + tableTwo(req.body).to_s + \&quot;&lt;/body&gt;&lt;/html&gt;\&quot;)\nend\nend\n\n\n\nalias do_POST do_GET\nend\n\n\n# mount css\ns.mount_proc(\&quot;/seleniumResults.css\&quot;) do |req, res|\nres.body = File.read(\&quot;css/seleniumResults.css\&quot;)\nres['content-type'] = 'text/css'\nend\n\ns.mount(\&quot;/status\&quot;, ApplicationStatus)\ns.mount(\&quot;/seleniumResults\&quot;, SeleniumResults)\n\n\ntrap(\&quot;INT\&quot;){ s.shutdown }\ns.start\n&quot;</span>
16
+ <span class="ruby-identifier">f</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-value str">&quot;resultServer/webServer.rb&quot;</span>,<span class="ruby-value str">&quot;w&quot;</span>)
17
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">puts</span> <span class="ruby-identifier">data</span>
18
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">close</span>
19
+ <span class="ruby-keyword kw">end</span></pre>
20
+ </body>
21
+ </html>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>make_results_css (RubySeleniumGenerator)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/RubySeleniumGenerator.rb, line 458</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">make_results_css</span>
15
+ <span class="ruby-identifier">data</span> = <span class="ruby-value str">&quot;#banner\n{\nfont: bold 14px arial;\ntext-align: center;\nbackground-color: gray;\n}\n\n#nav\n{\nfont: bold 12px arial;\ntext-align: center;\nbackground-color: #D8BFD8;\nmargin-top: 10px;\nmargin-bottom: 10px;\n}\n\n#author\n{\nfont: bold 12px arial;\ntext-align: center;\nbackground-color: lightgrey;\nmargin-bottom: 10px;\n}\n\ntd.dataName\n{\nfont: bold 12px arial;\ntext-align: center;\nbackground-color: lightgrey;\nborder-color: black;\n}\n\ntd.dataValue\n{\nfont: 12px arial;\nbackground-color: beige;\nborder-color: black;\n}\n\np.text\n{\nfont: 13px arial;\n}\n\np.number_of_messages\n{\nfont: 12px arial;\n}\n\n#res_suite_title\n{\nfont: bold 14px arial;\ntext-align: centre;\nbackground-color: lightblue;\npadding: 10px 10px 10px 10px;\n}\n\n#res_suite_value\n{\nfont: bold 12px arial;\ntext-align: centre;\nbackground-color: lightblue;\ncolor: black;\npadding: 10px 10px 10px 10px;\n}\n\n#res_title\n{\nfont: bold 12px arial;\ntext-align: center;\nbackground-color: lightgrey;\n}\n\n#res_value\n{\nfont: bold 12px arial;\ntext-align: center;\nbackground-color: beige;\ncolor: black;\n}\n\n#res_value_passed\n{\nfont: bold 12px arial;\ntext-align: center;\nbackground-color: beige;\ncolor: green;\n}\n\n#res_value_failed\n{\nfont: bold 12px arial;\ntext-align: center;\nbackground-color: beige;\ncolor: red;\n}\n\n#res_passed\n{\nfont: bold 12px arial;\ntext-align: center;\nbackground-color: #cfffcf;\ncolor: black;\n}\n\n#res_failed\n{\nfont: bold 12px arial;\ntext-align: center;\nbackground-color: red;\ncolor: black;\n}\n&quot;</span>
16
+ <span class="ruby-identifier">f</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-value str">&quot;resultServer/css/seleniumResults.css&quot;</span>,<span class="ruby-value str">&quot;w&quot;</span>)
17
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">puts</span> <span class="ruby-identifier">data</span>
18
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">close</span>
19
+ <span class="ruby-keyword kw">end</span></pre>
20
+ </body>
21
+ </html>
@@ -0,0 +1,137 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: String</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">String</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/RubySelenium_rb.html">
59
+ lib/RubySelenium.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ Object
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+
81
+
82
+
83
+ </div>
84
+
85
+ <div id="method-list">
86
+ <h3 class="section-bar">Methods</h3>
87
+
88
+ <div class="name-list">
89
+ <a href="#M000096">_h</a>&nbsp;&nbsp;
90
+ </div>
91
+ </div>
92
+
93
+ </div>
94
+
95
+
96
+ <!-- if includes -->
97
+
98
+ <div id="section">
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ <!-- if method_list -->
108
+ <div id="methods">
109
+ <h3 class="section-bar">Public Instance methods</h3>
110
+
111
+ <div id="method-M000096" class="method-detail">
112
+ <a name="M000096"></a>
113
+
114
+ <div class="method-heading">
115
+ <a href="String.src/M000096.html" target="Code" class="method-signature"
116
+ onclick="popupCode('String.src/M000096.html');return false;">
117
+ <span class="method-name">_h</span><span class="method-args">(target,value = &quot;&amp;nbsp;&quot;)</span>
118
+ </a>
119
+ </div>
120
+
121
+ <div class="method-description">
122
+ </div>
123
+ </div>
124
+
125
+
126
+ </div>
127
+
128
+
129
+ </div>
130
+
131
+
132
+ <div id="validator-badges">
133
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
134
+ </div>
135
+
136
+ </body>
137
+ </html>
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>_h (String)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/RubySelenium.rb, line 152</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">_h</span>(<span class="ruby-identifier">target</span>,<span class="ruby-identifier">value</span> = <span class="ruby-value str">&quot;&amp;nbsp;&quot;</span>)
15
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span><span class="ruby-operator">==</span> <span class="ruby-value str">&quot; &quot;</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">value</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">true</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">value</span> = <span class="ruby-value str">&quot;&amp;nbsp;&quot;</span> <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">value</span> <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;[empty]&quot;</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">value</span> = <span class="ruby-value str">&quot;&quot;</span> <span class="ruby-keyword kw">end</span>
16
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">target</span> <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;[empty]&quot;</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">target</span> = <span class="ruby-value str">&quot;&quot;</span> <span class="ruby-keyword kw">end</span>
17
+ <span class="ruby-node">&quot;&lt;tr&gt;&lt;td&gt;#{self}&lt;/td&gt;&lt;td&gt;#{target}&lt;/td&gt;&lt;td&gt;#{value}&lt;/td&gt;&lt;/tr&gt;&quot;</span>
18
+ <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
+ </html>
@@ -0,0 +1,184 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Templates</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Templates</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/RubySelenium_rb.html">
59
+ lib/RubySelenium.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ Object
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+
81
+
82
+
83
+ </div>
84
+
85
+ <div id="method-list">
86
+ <h3 class="section-bar">Methods</h3>
87
+
88
+ <div class="name-list">
89
+ <a href="#M000058">new</a>&nbsp;&nbsp;
90
+ <a href="#M000061">selenium_test_runner</a>&nbsp;&nbsp;
91
+ <a href="#M000059">selenium_test_script</a>&nbsp;&nbsp;
92
+ <a href="#M000060">selenium_test_suite</a>&nbsp;&nbsp;
93
+ </div>
94
+ </div>
95
+
96
+ </div>
97
+
98
+
99
+ <!-- if includes -->
100
+
101
+ <div id="section">
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+ <!-- if method_list -->
111
+ <div id="methods">
112
+ <h3 class="section-bar">Public Class methods</h3>
113
+
114
+ <div id="method-M000058" class="method-detail">
115
+ <a name="M000058"></a>
116
+
117
+ <div class="method-heading">
118
+ <a href="Templates.src/M000058.html" target="Code" class="method-signature"
119
+ onclick="popupCode('Templates.src/M000058.html');return false;">
120
+ <span class="method-name">new</span><span class="method-args">(script_file_name = &quot;&quot;, script_content = &quot;&quot;, test_suite_content = &quot;&quot;)</span>
121
+ </a>
122
+ </div>
123
+
124
+ <div class="method-description">
125
+ </div>
126
+ </div>
127
+
128
+ <h3 class="section-bar">Public Instance methods</h3>
129
+
130
+ <div id="method-M000061" class="method-detail">
131
+ <a name="M000061"></a>
132
+
133
+ <div class="method-heading">
134
+ <a href="Templates.src/M000061.html" target="Code" class="method-signature"
135
+ onclick="popupCode('Templates.src/M000061.html');return false;">
136
+ <span class="method-name">selenium_test_runner</span><span class="method-args">()</span>
137
+ </a>
138
+ </div>
139
+
140
+ <div class="method-description">
141
+ </div>
142
+ </div>
143
+
144
+ <div id="method-M000059" class="method-detail">
145
+ <a name="M000059"></a>
146
+
147
+ <div class="method-heading">
148
+ <a href="Templates.src/M000059.html" target="Code" class="method-signature"
149
+ onclick="popupCode('Templates.src/M000059.html');return false;">
150
+ <span class="method-name">selenium_test_script</span><span class="method-args">()</span>
151
+ </a>
152
+ </div>
153
+
154
+ <div class="method-description">
155
+ </div>
156
+ </div>
157
+
158
+ <div id="method-M000060" class="method-detail">
159
+ <a name="M000060"></a>
160
+
161
+ <div class="method-heading">
162
+ <a href="Templates.src/M000060.html" target="Code" class="method-signature"
163
+ onclick="popupCode('Templates.src/M000060.html');return false;">
164
+ <span class="method-name">selenium_test_suite</span><span class="method-args">()</span>
165
+ </a>
166
+ </div>
167
+
168
+ <div class="method-description">
169
+ </div>
170
+ </div>
171
+
172
+
173
+ </div>
174
+
175
+
176
+ </div>
177
+
178
+
179
+ <div id="validator-badges">
180
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
181
+ </div>
182
+
183
+ </body>
184
+ </html>