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,570 @@
1
+ class RubySeleniumGenerator
2
+
3
+ def initialize(working_directory)
4
+ @working_directory = working_directory
5
+ end
6
+
7
+ def make_tests_directory
8
+ Dir.mkdir(@working_directory + "/tests")
9
+ end
10
+
11
+ def make_testResults_directory
12
+ Dir.mkdir(@working_directory + "/testResults")
13
+ end
14
+
15
+ def make_methods_directory
16
+ Dir.mkdir(@working_directory + "/methods")
17
+ end
18
+
19
+ def make_resultServer_directory
20
+ Dir.mkdir(@working_directory + "/resultServer")
21
+ end
22
+
23
+ def make_resultServer_css_directory
24
+ Dir.mkdir(@working_directory + "/resultServer/css")
25
+ end
26
+
27
+ def make_rubySeleniumConfig
28
+ data = <<-EOF
29
+ # These configurations are only used when running locally on your machine
30
+ # and don't apply for running on a remote server in automated test mode.
31
+
32
+ # GENERATE_LOCATION
33
+ # This sets the location that rubySelenium will generate the html.
34
+ # set it with the full path to the folder you want the tests to be generated into.
35
+ # e.g. C:/IBM/workspaces/SecureMessaging1/FunctionalTests/WebContent/tests/Ruby
36
+
37
+ GENERATE_LOCATION = ./tests
38
+
39
+ # TEST_LOCATION
40
+ # This sets the location that rubySelenium should look for when running
41
+ # the tests locally. It should point to the url of where the tests live on
42
+ # your local server.
43
+ #
44
+ # e.g. if you navigate to
45
+ # http://localhost:9081/Selenium/tests/Ruby/tests/seleniumTestRunner.html
46
+ # to find your tests then you should set this property to
47
+ # http://localhost:9081/Selenium/tests/Ruby
48
+
49
+ TEST_LOCATION = http://localhost:9081/Selenium/tests/Ruby/tests
50
+
51
+ # LOGGING
52
+ # This turns the log output on or off when using the generate command.
53
+ # When you run the generate command all the html is generated - this is
54
+ # for use when hooked up to the remote cruisecontrol driven automation.
55
+ # The logs show all the ruby code that is executed in order to create the html.
56
+ #
57
+ # set it to true or false to turn it on or off
58
+
59
+ LOGGING = false
60
+
61
+ # IE_LOCATION
62
+ # This is the location of your Internet Explorer executable (iexplore.exe)
63
+
64
+ IE_LOCATION = C:/Program Files/Internet Explorer/IEXPLORE.EXE
65
+
66
+ # FF_LOCATION
67
+ # This is the location of your Firefox executable (firefox.exe)
68
+
69
+ FF_LOCATION = C:/Program Files/Mozilla Firefox/firefox.exe
70
+
71
+ # LOCAL_TEST_RESULTS
72
+ # After a test has run locally it will dump out the results to the testResults
73
+ # directory. You can turn this on or off here by setting it to either true or false.
74
+
75
+ LOCAL_TEST_RESULTS = false
76
+ EOF
77
+ f = File.open("rubySeleniumConfig.txt", "w")
78
+ f.puts data
79
+ f.close
80
+ end
81
+
82
+ def make_seleniumMethods
83
+ data = <<-EOF
84
+ # Selenium helper methods - Kingsley Hendrickse @ ThoughtWorks 2005
85
+ #
86
+ # This is a collection if useful user-defined functions that can be used when writing rubySelenium tests.
87
+
88
+ require 'methods/datahandler'
89
+
90
+ class SeleniumMethods
91
+
92
+ # Supply a selenium object when you instantiate this class
93
+ # example:
94
+ #
95
+ # require 'methods/seleniumMethods'
96
+ #
97
+ # Create new SeleniumMethods and RubySelenium instances
98
+ # t = SeleniumMethods.new(s = RubySelenium.new)
99
+ #
100
+ def initialize(selenium)
101
+ @s = selenium
102
+ # Set up Data that can be used in the user-defined functions
103
+ d = DataHandler.new("methods/user_data.csv")
104
+ @DirectInvestor = d.data[0]
105
+ end
106
+
107
+ # The login function takes a type of client - there are currently 5 types of client defined
108
+ #
109
+ # 1. DirectInvestor
110
+ # 2. DirectEnquirer
111
+ # 3. BrokerLinkedEnquirer
112
+ # 4. BrokerLinkedInvestor
113
+ # 5. ShareNetwork
114
+ #
115
+ # The login function will then generate login commands using the appropriate data and it will also verify
116
+ # that the client has logged in correctly
117
+ #
118
+ # example: t.login("DirectInvestor")
119
+ #
120
+ def login(id)
121
+
122
+ if id == "DirectInvestor"
123
+ id = @DirectInvestor.crnNumber
124
+ end
125
+
126
+ @s.open("/someurl")
127
+ @s.open("javascript:var link=document.getElementById('logoutUser');if(link!=null){location.href=link.href;}else{location.hash='dummy';}")
128
+ @s.open("/wps/myportal")
129
+ @s.type("userID","#\{id\}")
130
+ @s.type("password","#\{id\}")
131
+ @s.clickAndWait("login")
132
+ @s.open("/someurl")
133
+ @s.verifyTextPresent("Log out")
134
+ @s.verifyTextPresent("Some Text")
135
+ end
136
+
137
+ # This method is for creating strings of the supplied length. It creates the specified number of characters as the letter x
138
+ #
139
+ # example: t.length(10) -> makes a string of 10 x's e.g. xxxxxxxxxx
140
+ #
141
+ def length(num, char="x")
142
+ arr = [] ; (1..num).to_a.each{|x| arr << char}
143
+ return arr
144
+ end
145
+
146
+ # This methods returns todays date in the format required by the secure messaging
147
+ #
148
+ # example: t.timeNow -> returns e.g. 07-Jun-2005
149
+ #
150
+ def timeNow
151
+ Time.now.strftime("%d %b %Y")
152
+ end
153
+
154
+ # This methods returns todays date in the format required by account management header
155
+ # It only checks the date as the server time is different from BST as 'they' don't use nntp for some bizarre reason.
156
+ # Before you ask yes yes I did ask why not but there was not really much of an answer and I'm busy....
157
+ #
158
+ # example: t.todaysDate -> returns e.g. July 11, 2005 12:52
159
+ #
160
+ def todaysDate
161
+ Time.now.strftime("%B %d, %Y :")
162
+ end
163
+
164
+ end
165
+ EOF
166
+ f = File.open("methods/seleniumMethods.rb","w")
167
+ f.puts data
168
+ f.close
169
+ end
170
+
171
+ def make_datahandler
172
+ data = <<-EOF
173
+ class DataHandler
174
+
175
+ # This allows you to put data in a csv file and access it in your scripts for
176
+ # a data driven approach.
177
+ #
178
+ # e.g.
179
+ # require 'datahandler'
180
+ # d = DataHandler.new("data.csv")
181
+ # loginId = d.data[0].LoginId --> line 1 of the csv file and column LoginId
182
+ # pin = d.data[0].Pin --> line 1 of the cvs file and column Pin
183
+ #
184
+ def initialize(datafile)
185
+ @datafile = datafile
186
+ end
187
+
188
+ def data
189
+ csv_data = File.readlines(@datafile)
190
+ header = csv_data[0].split(",")
191
+ header.each{|z| z.chomp!}
192
+ data = Struct.new("Data", *header)
193
+ csv_data.shift
194
+ data_array = []
195
+ csv_data.each do |line|
196
+ line.each{|z| line.chomp!}
197
+ data_array << data.new(*line.split(","))
198
+ end
199
+ return data_array
200
+ end
201
+
202
+ end
203
+ EOF
204
+ f = File.open("methods/datahandler.rb","w")
205
+ f.puts data
206
+ f.close
207
+ end
208
+
209
+ def make_execute_all_tests
210
+ data = <<-EOF
211
+ require 'RubySelenium'
212
+
213
+ # FireFox or IE
214
+ Batch_Generator.new.go
215
+ EOF
216
+ f = File.open("execute_all_tests.rb","w")
217
+ f.puts data
218
+ f.close
219
+ end
220
+
221
+ def make_generate_all_tests
222
+ data = <<-EOF
223
+ require 'RubySelenium'
224
+ Batch_Generator.new.create_all_test_files
225
+ EOF
226
+ f = File.open("generate_all_tests.rb","w")
227
+ f.puts data
228
+ f.close
229
+ end
230
+
231
+ def make_sample_user_data
232
+ data = <<-EOF
233
+ clientLogin,webInvestorId,queue,emailAddress,clientType,crnNumber,firstName,secondName,postCode,linked
234
+ DirectInvestor,9999999,Retail,selenium_9999@test.com,Direct,8888888,David,Hopes,SW18 5LY,Yes
235
+ EOF
236
+ f = File.open("methods/user_data.csv","w")
237
+ f.puts data
238
+ f.close
239
+ end
240
+
241
+ def make_webserver
242
+ data = <<-ENDOFFILE
243
+ #!/usr/local/bin/ruby
244
+ require 'webrick'
245
+ require 'uri'
246
+ require 'net/smtp'
247
+ include WEBrick
248
+
249
+ # set up variables
250
+ TO_ADDRESS = "some_email_address@somedomain.com"
251
+
252
+ s = HTTPServer.new( :Port => 2001 )
253
+
254
+ class ApplicationStatus < HTTPServlet::AbstractServlet
255
+
256
+ def do_GET(req,res)
257
+ res.body = "<html><body><p>Ruby Results WebServer is UP</p></body></html>"
258
+ end
259
+ end
260
+
261
+ class SeleniumResults < HTTPServlet::AbstractServlet
262
+
263
+ def template_header(css_file)
264
+ html =<<-EOF
265
+ <html>
266
+ <head>
267
+ <title>Ruby Selenium Results</title>
268
+ <link rel="stylesheet" type="text/css" href="#\{css_file\}" />
269
+ </head>
270
+ <body>
271
+ <div id="banner">Selenium Results</div>
272
+ <div id="author">Kingsley Hendrickse (ThoughtWorks)</div>
273
+ EOF
274
+ html
275
+ end
276
+
277
+ def tableOne(body)
278
+ decoded_body = URI.unescape(body.to_s).gsub("+","\\s")
279
+ resultsArray = decoded_body.split("\\n")
280
+ resultStats = resultsArray[0].split("&")
281
+
282
+ result = {
283
+ "result" => resultStats[0].split("=")[1],
284
+ "totalTime" => resultStats[1].split("=")[1],
285
+ "numberTestsPassed" => resultStats[2].split("=")[1],
286
+ "numberTestsFailed" => resultStats[3].split("=")[1],
287
+ "numberCommandsPassed" => resultStats[4].split("=")[1],
288
+ "numberCommandsFailed" => resultStats[5].split("=")[1],
289
+ "numberCommandsError" => resultStats[6].split("=")[1],
290
+ "testSuite" => resultStats[7].split("=")[1]
291
+ }
292
+
293
+ if result['testSuite'] == nil then result['testSuite'] = "Local Run #\{Time.now\}" ; @testSuite = "Local_Run_#\{Time.now.to_s.gsub(' ','_').gsub(':','_')\}" else @testSuite = result['testSuite'] end
294
+ if result['result'] == "passed" then css_result = "res_passed" ; @status = "Passed" else css_result = "res_failed" ; @status = "Failed" end
295
+
296
+ table_1 = <<-EOF
297
+ <table>
298
+ <tr><td><div id="res_suite_title">Results for Test Suite:</div></td><td><div id="res_suite_value">#\{result['testSuite']\}</div></td></tr>
299
+ <tr><td><div id="res_title">Run Date</div></td><td><div id="res_value">#\{Time.now.to_s\}</div></td></tr>
300
+ <tr><td><div id="res_title">Result Status</div></td><td><div id="#\{css_result\}">#\{result['result']\}</div></td></tr>
301
+ <tr><td><div id="res_title">Total Time</div></td><td><div id="res_value">#\{result['totalTime']\}</div></td></tr>
302
+ <tr><td><div id="res_title">Number of Tests Passed</div></td><td><div id="res_value_passed">#\{result['numberTestsPassed']\}</div></td></tr>
303
+ <tr><td><div id="res_title">Number of Tests Failed</div></td><td><div id="res_value_failed">#\{result['numberTestsFailed']\}</div></td></tr>
304
+ <tr><td><div id="res_title">Number of Commands Passed</div></td><td><div id="res_value_passed">#\{result['numberCommandsPassed']\}</div></td></tr>
305
+ <tr><td><div id="res_title">Number of Commands Failed</div></td><td><div id="res_value_failed">#\{result['numberCommandsFailed']\}</div></td></tr>
306
+ <tr><td><div id="res_title">Number of Command Errors</div></td><td><div id="res_value_failed">#\{result['numberCommandsError']\}</div></td></tr>
307
+ </table>
308
+ EOF
309
+ end
310
+
311
+ def tableTwo(body)
312
+ decoded_body = URI.unescape(body.to_s).gsub("+","\\s")
313
+ resultsArray = decoded_body.split("\\n")
314
+ resultsArray.shift
315
+ return resultsArray.to_s.gsub(/&testTable\.\d+=/, '<br><hr color="lightblue" size="5"><br>').gsub(/&suite=/, '<br><hr color="lightblue" size="5"><br>')
316
+ end
317
+
318
+ def sendMail(to_address, subject, body)
319
+ msgstr = <<-EOF
320
+ From: Selenium Automated Tests
321
+ To: #\{TO_ADDRESS.split("@")[0].gsub("."," ")\} <#\{TO_ADDRESS\}>
322
+ Subject: #\{subject\}
323
+ Date: #\{Time.now\}
324
+ Content-Type: text/html
325
+ #\{body\}
326
+ EOF
327
+
328
+ Net::SMTP.start('mail21.hld.uk.fid-intl.com', 25) do |smtp|
329
+ smtp.send_message msgstr, 'from@address', TO_ADDRESS
330
+ end
331
+ end
332
+
333
+ def mail_header
334
+ html =<<-EOF
335
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
336
+ <HTML><HEAD><TITLE>Selenium Automated Tests</TITLE>
337
+ <style>
338
+ #res_suite_title
339
+ {
340
+ font: bold 14px arial;
341
+ text-align: centre;
342
+ background-color: lightblue;
343
+ padding: 10px 10px 10px 10px;
344
+ }
345
+
346
+ #res_suite_value
347
+ {
348
+ font: bold 12px arial;
349
+ text-align: centre;
350
+ background-color: lightblue;
351
+ color: black;
352
+ padding: 10px 10px 10px 10px;
353
+ }
354
+
355
+ #res_title
356
+ {
357
+ font: bold 12px arial;
358
+ text-align: center;
359
+ background-color: lightgrey;
360
+ }
361
+
362
+ #res_value
363
+ {
364
+ font: bold 12px arial;
365
+ text-align: center;
366
+ background-color: beige;
367
+ color: black;
368
+ }
369
+
370
+ #res_value_passed
371
+ {
372
+ font: bold 12px arial;
373
+ text-align: center;
374
+ background-color: beige;
375
+ color: green;
376
+ }
377
+
378
+ #res_value_failed
379
+ {
380
+ font: bold 12px arial;
381
+ text-align: center;
382
+ background-color: beige;
383
+ color: red;
384
+ }
385
+
386
+ #res_passed
387
+ {
388
+ font: bold 12px arial;
389
+ text-align: center;
390
+ background-color: #cfffcf;
391
+ color: black;
392
+ }
393
+
394
+ #res_failed
395
+ {
396
+ font: bold 12px arial;
397
+ text-align: center;
398
+ background-color: red;
399
+ color: black;
400
+ }
401
+ </style>
402
+ <META content="MSHTML 6.00.2800.1498" name=GENERATOR></HEAD>
403
+ EOF
404
+ end
405
+
406
+ def do_GET(req,res)
407
+ res.body = template_header("seleniumResults.css")
408
+ res.body << tableOne(req.body)
409
+ res.body << "<br>"
410
+ res.body << tableTwo(req.body)
411
+ res.body << "</body></html>"
412
+
413
+ f = File.new("../testResults/#\{@testSuite\}.html", "w")
414
+ f.puts template_header("../RubyWebService/css/seleniumResults.css")
415
+ f.puts tableOne(req.body)
416
+ f.puts "<br>"
417
+ f.puts tableTwo(req.body)
418
+ f.puts "</body></html>"
419
+ f.close
420
+
421
+ if @testSuite =~ /Local_Run/ then puts "No Mail sent as local run" else
422
+ subject = "Selenium Automated Test (#\{@testSuite\}) - #\{@status\}"
423
+ sendMail(TO_ADDRESS, subject, mail_header + tableOne(req.body).to_s + "<BR>" + tableTwo(req.body).to_s + "</body></html>")
424
+ end
425
+ end
426
+
427
+
428
+
429
+ alias do_POST do_GET
430
+ end
431
+
432
+
433
+ # mount css
434
+ s.mount_proc("/seleniumResults.css") do |req, res|
435
+ res.body = File.read("css/seleniumResults.css")
436
+ res['content-type'] = 'text/css'
437
+ end
438
+
439
+ s.mount("/status", ApplicationStatus)
440
+ s.mount("/seleniumResults", SeleniumResults)
441
+
442
+
443
+ trap("INT"){ s.shutdown }
444
+ s.start
445
+ ENDOFFILE
446
+ f = File.open("resultServer/webServer.rb","w")
447
+ f.puts data
448
+ f.close
449
+ end
450
+
451
+ def make_results_css
452
+ data = <<-EOF
453
+ #banner
454
+ {
455
+ font: bold 14px arial;
456
+ text-align: center;
457
+ background-color: gray;
458
+ }
459
+
460
+ #nav
461
+ {
462
+ font: bold 12px arial;
463
+ text-align: center;
464
+ background-color: #D8BFD8;
465
+ margin-top: 10px;
466
+ margin-bottom: 10px;
467
+ }
468
+
469
+ #author
470
+ {
471
+ font: bold 12px arial;
472
+ text-align: center;
473
+ background-color: lightgrey;
474
+ margin-bottom: 10px;
475
+ }
476
+
477
+ td.dataName
478
+ {
479
+ font: bold 12px arial;
480
+ text-align: center;
481
+ background-color: lightgrey;
482
+ border-color: black;
483
+ }
484
+
485
+ td.dataValue
486
+ {
487
+ font: 12px arial;
488
+ background-color: beige;
489
+ border-color: black;
490
+ }
491
+
492
+ p.text
493
+ {
494
+ font: 13px arial;
495
+ }
496
+
497
+ p.number_of_messages
498
+ {
499
+ font: 12px arial;
500
+ }
501
+
502
+ #res_suite_title
503
+ {
504
+ font: bold 14px arial;
505
+ text-align: centre;
506
+ background-color: lightblue;
507
+ padding: 10px 10px 10px 10px;
508
+ }
509
+
510
+ #res_suite_value
511
+ {
512
+ font: bold 12px arial;
513
+ text-align: centre;
514
+ background-color: lightblue;
515
+ color: black;
516
+ padding: 10px 10px 10px 10px;
517
+ }
518
+
519
+ #res_title
520
+ {
521
+ font: bold 12px arial;
522
+ text-align: center;
523
+ background-color: lightgrey;
524
+ }
525
+
526
+ #res_value
527
+ {
528
+ font: bold 12px arial;
529
+ text-align: center;
530
+ background-color: beige;
531
+ color: black;
532
+ }
533
+
534
+ #res_value_passed
535
+ {
536
+ font: bold 12px arial;
537
+ text-align: center;
538
+ background-color: beige;
539
+ color: green;
540
+ }
541
+
542
+ #res_value_failed
543
+ {
544
+ font: bold 12px arial;
545
+ text-align: center;
546
+ background-color: beige;
547
+ color: red;
548
+ }
549
+
550
+ #res_passed
551
+ {
552
+ font: bold 12px arial;
553
+ text-align: center;
554
+ background-color: #cfffcf;
555
+ color: black;
556
+ }
557
+
558
+ #res_failed
559
+ {
560
+ font: bold 12px arial;
561
+ text-align: center;
562
+ background-color: red;
563
+ color: black;
564
+ }
565
+ EOF
566
+ f = File.open("resultServer/css/seleniumResults.css","w")
567
+ f.puts data
568
+ f.close
569
+ end
570
+ end