rubySelenium 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,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>new (Templates)</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 921</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">script_file_name</span> = <span class="ruby-value str">&quot;&quot;</span>, <span class="ruby-identifier">script_content</span> = <span class="ruby-value str">&quot;&quot;</span>, <span class="ruby-identifier">test_suite_content</span> = <span class="ruby-value str">&quot;&quot;</span>)
15
+ <span class="ruby-ivar">@script_file_name</span> = <span class="ruby-identifier">script_file_name</span>
16
+ <span class="ruby-ivar">@script_content</span> = <span class="ruby-identifier">script_content</span>
17
+ <span class="ruby-ivar">@test_suite_content</span> = <span class="ruby-identifier">test_suite_content</span>
18
+ <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
+ </html>
@@ -0,0 +1,18 @@
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>selenium_test_script (Templates)</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 927</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">selenium_test_script</span>
15
+ <span class="ruby-identifier">html</span> = <span class="ruby-value str">&quot;&lt;!DOCTYPE html PUBLIC \&quot;-//W3C//DTD HTML 4.01 Transitional//EN\&quot;&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;meta content=\&quot;text/html; charset=ISO-8859-1\&quot; http-equiv=\&quot;content-type\&quot;&gt;\n&lt;title&gt;\#{@script_file_name}&lt;/title&gt;\n&lt;/head&gt;\n&lt;body&gt;\n&lt;table cellpadding=\&quot;1\&quot; cellspacing=\&quot;1\&quot; border=\&quot;1\&quot;&gt;\n&lt;tbody&gt;\n&lt;tr&gt;\n&lt;td rowspan=\&quot;1\&quot; colspan=\&quot;3\&quot;&gt;\#{@script_file_name}&lt;br&gt;\n&lt;/td&gt;\n&lt;/tr&gt;\n\#{@script_content}\n&lt;/tbody&gt;\n&lt;/table&gt;\n&lt;/body&gt;\n&lt;/html&gt;&lt;table&gt;\n&lt;tr&gt;\n&lt;td&gt;&lt;b&gt;Selenium Id&lt;/b&gt;&lt;/td&gt;\n&lt;td id=\&quot;SeleniumKey\&quot;&gt;&lt;/td&gt;\n&lt;/tr&gt;\n&lt;/table&gt;\n&quot;</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,18 @@
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>selenium_test_suite (Templates)</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 956</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">selenium_test_suite</span>
15
+ <span class="ruby-identifier">html</span> = <span class="ruby-value str">&quot;&lt;html&gt;\n&lt;head&gt;\n&lt;meta content=\&quot;text/html; charset=ISO-8859-1\&quot; http-equiv=\&quot;content-type\&quot;&gt;\n&lt;title&gt;Portal Framework Functional Testing&lt;/title&gt;\n&lt;/head&gt;\n&lt;body&gt;\n&lt;table cellpadding=\&quot;1\&quot; cellspacing=\&quot;1\&quot; border=\&quot;1\&quot;&gt;\n&lt;tbody&gt;\n&lt;tr&gt;&lt;td&gt;&lt;b&gt;seleniumTestSuite&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;\n\#{@test_suite_content}\n&lt;/tbody&gt;\n&lt;/table&gt;\n&lt;/body&gt;\n&lt;/html&gt;\n&quot;</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,18 @@
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>selenium_test_runner (Templates)</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 976</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">selenium_test_runner</span>
15
+ <span class="ruby-identifier">html</span> = <span class="ruby-value str">&quot;&lt;!DOCTYPE HTML PUBLIC \&quot;-//W3C//DTD HTML 3.2 Final//EN\&quot;&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;meta content=\&quot;text/html; charset=ISO-8859-1\&quot; http-equiv=\&quot;content-type\&quot; /&gt;\n\n&lt;title&gt;Selenium Functional Test Runner&lt;/title&gt;\n&lt;script language=\&quot;JavaScript\&quot; type=\&quot;text/javascript\&quot; src=\&quot;../../../html-xpath/html-xpath-patched.js\&quot;&gt;&lt;/script&gt;\n&lt;script language=\&quot;JavaScript\&quot; type=\&quot;text/javascript\&quot; src=\&quot;../../../selenium-browserbot.js\&quot;&gt;&lt;/script&gt;\n&lt;script language=\&quot;JavaScript\&quot; type=\&quot;text/javascript\&quot; src=\&quot;../../../selenium-api.js\&quot;&gt;&lt;/script&gt;\n&lt;script language=\&quot;JavaScript\&quot; type=\&quot;text/javascript\&quot; src=\&quot;../../../selenium-commandhandlers.js\&quot;&gt;&lt;/script&gt;\n&lt;script language=\&quot;JavaScript\&quot; type=\&quot;text/javascript\&quot; src=\&quot;../../../selenium-executionloop.js\&quot;&gt;&lt;/script&gt;\n&lt;script language=\&quot;JavaScript\&quot; type=\&quot;text/javascript\&quot; src=\&quot;../../../selenium-fitrunner.js\&quot;&gt;&lt;/script&gt;\n&lt;script language=\&quot;JavaScript\&quot; type=\&quot;text/javascript\&quot; src=\&quot;../../../selenium-logging.js\&quot;&gt;&lt;/script&gt;\n&lt;script language=\&quot;JavaScript\&quot; type=\&quot;text/javascript\&quot; src=\&quot;../../../htmlutils.js\&quot;&gt;&lt;/script&gt;\n&lt;script language=\&quot;JavaScript\&quot; type=\&quot;text/javascript\&quot; src=\&quot;../../../selenium-domviewer.js\&quot;&gt;&lt;/script&gt;\n&lt;script language=\&quot;JavaScript\&quot; type=\&quot;text/javascript\&quot; src=\&quot;../../../xpath.js\&quot;&gt;&lt;/script&gt;\n&lt;script language=\&quot;JavaScript\&quot; type=\&quot;text/javascript\&quot; src=\&quot;../../../user-extensions.js\&quot;&gt;&lt;/script&gt;\n&lt;link rel=\&quot;stylesheet\&quot; type=\&quot;text/css\&quot; href=\&quot;../../../selenium.css\&quot; /&gt;\n&lt;/head&gt;\n\n&lt;body onload=\&quot;start();\&quot;&gt;\n\n&lt;table class=\&quot;layout\&quot;&gt;\n&lt;form action=\&quot;\&quot; name=\&quot;controlPanel\&quot;&gt;\n\n&lt;!-- Suite, Test, Control Panel --&gt;\n\n&lt;tr class=\&quot;selenium\&quot;&gt;\n&lt;td width=\&quot;25%\&quot; height=\&quot;30%\&quot; rowspan=\&quot;2\&quot;&gt;&lt;iframe name=\&quot;testSuiteFrame\&quot; id=\&quot;testSuiteFrame\&quot; src=\&quot;seleniumTestSuite.html\&quot;&gt;&lt;/iframe&gt;&lt;/td&gt;\n&lt;td width=\&quot;50%\&quot; height=\&quot;30%\&quot; rowspan=\&quot;2\&quot;&gt;&lt;iframe name=\&quot;testFrame\&quot; id=\&quot;testFrame\&quot;&gt;&lt;/iframe&gt;&lt;/td&gt;\n&lt;th width=\&quot;25%\&quot; height=\&quot;1\&quot; class=\&quot;header\&quot;&gt;\n&lt;h1&gt;&lt;a href=\&quot;http://selenium.thoughtworks.com\&quot; title=\&quot;The Selenium Project\&quot;&gt;Selenium&lt;/a&gt; TestRunner&lt;/h1&gt;\n&lt;/th&gt;\n&lt;/tr&gt;\n\n&lt;tr class=\&quot;selenium\&quot;&gt;\n&lt;td width=\&quot;25%\&quot; height=\&quot;30%\&quot; id=\&quot;controlPanel\&quot;&gt;\n\n&lt;table id=\&quot;controls\&quot;&gt;\n&lt;tr&gt;\n&lt;td&gt;\n&lt;b&gt;Run:&lt;/b&gt;\n&lt;button type=\&quot;button\&quot; id=\&quot;runTest\&quot; onclick=\&quot;runSingleTest();\&quot;&gt;&lt;em&gt;Selected&lt;/em&gt; Test&lt;/button&gt;\n&lt;button type=\&quot;button\&quot; id=\&quot;runSuite\&quot; onclick=\&quot;startTestSuite();\&quot;&gt;&lt;strong&gt;All&lt;/strong&gt; Tests&lt;/button&gt;\n&lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n&lt;td&gt;\n&lt;b&gt;Mode:&lt;/b&gt;\n&lt;label&gt;&lt;input id=\&quot;modeRun\&quot; type=\&quot;radio\&quot; name=\&quot;runMode\&quot; value=\&quot;0\&quot; checked=\&quot;checked\&quot;/&gt;Run&lt;/label&gt;\n&lt;label&gt;&lt;input id=\&quot;modeWalk\&quot; type=\&quot;radio\&quot; name=\&quot;runMode\&quot; value=\&quot;500\&quot; /&gt;Walk&lt;/label&gt;\n&lt;label&gt;&lt;input id=\&quot;modeStep\&quot; type=\&quot;radio\&quot; name=\&quot;runMode\&quot; value=\&quot;-1\&quot; /&gt;Step&lt;/label&gt;\n&lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n&lt;td&gt;\n&lt;button type=\&quot;button\&quot; id=\&quot;domViewer1\&quot; onclick=\&quot;newRoot=getIframeDocument(getElementById('myiframe'));window.open('../../domviewer.html');return false;\&quot;&gt;View DOM&lt;/button&gt;\n&lt;button type=\&quot;button\&quot; id=\&quot;continueTest\&quot; disabled=\&quot;disabled\&quot;&gt;Next/Continue&lt;/button&gt;\n&lt;/td&gt;\n&lt;/tr&gt;\n&lt;/table&gt;\n\n&lt;table id=\&quot;stats\&quot; align=\&quot;center\&quot;&gt;\n&lt;tr&gt;\n&lt;td colspan=\&quot;2\&quot; align=\&quot;right\&quot;&gt;Elapsed:&lt;/td&gt;\n&lt;td id=\&quot;elapsedTime\&quot; colspan=\&quot;2\&quot;&gt;00.00&lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n&lt;th colspan=\&quot;2\&quot;&gt;Tests&lt;/th&gt;\n&lt;th colspan=\&quot;2\&quot;&gt;Commands&lt;/th&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n&lt;td class=\&quot;count\&quot; id=\&quot;testRuns\&quot;&gt;0&lt;/td&gt;\n&lt;td&gt;run&lt;/td&gt;\n&lt;td class=\&quot;count\&quot; id=\&quot;commandPasses\&quot;&gt;0&lt;/td&gt;\n&lt;td&gt;passed&lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n&lt;td class=\&quot;count\&quot; id=\&quot;testFailures\&quot;&gt;0&lt;/td&gt;\n&lt;td&gt;failed&lt;/td&gt;\n&lt;td class=\&quot;count\&quot; id=\&quot;commandFailures\&quot;&gt;0&lt;/td&gt;\n&lt;td&gt;failed&lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n&lt;td colspan=\&quot;2\&quot;&gt;&lt;/td&gt;\n&lt;td class=\&quot;count\&quot; id=\&quot;commandErrors\&quot;&gt;0&lt;/td&gt;\n&lt;td&gt;incomplete&lt;/td&gt;\n&lt;/tr&gt;\n&lt;/table&gt;\n&lt;/td&gt;\n&lt;/tr&gt;\n\n&lt;!-- AUT --&gt;\n&lt;tr&gt;\n&lt;td colspan=\&quot;3\&quot; height=\&quot;70%\&quot;&gt;&lt;iframe name=\&quot;myiframe\&quot; id=\&quot;myiframe\&quot; src=\&quot;../../../TestRunner-splash.html\&quot;&gt;&lt;/iframe&gt;&lt;/td&gt;\n&lt;/tr&gt;\n&lt;/form&gt;\n&lt;/table&gt;\n\n&lt;div id=\&quot;logging-console\&quot;&gt;\n&lt;h1&gt;Javascript Log Console (&lt;a id=\&quot;closeLog\&quot; href=\&quot;javascript:LOG.hide()\&quot;&gt;Close&lt;/a&gt; &lt;a href=\&quot;javascript:LOG.clear();LOG.hide();\&quot;&gt;Clear&lt;/a&gt;)&lt;/h1&gt;\n&lt;ul id=\&quot;log-list\&quot;/&gt;\n&lt;/div&gt;\n&lt;script language=\&quot;javascript\&quot;&gt;\nLOG = new Logger(LEVEL_WARN);\nLOG.hide();\n&lt;/script&gt;\n&lt;/body&gt;\n&lt;/html&gt;\n&quot;</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1 @@
1
+ Wed Nov 09 15:36:44 GMT 2005
@@ -0,0 +1,101 @@
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>File: RubySeleniumGenerator.rb</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="fileHeader">
50
+ <h1>RubySeleniumGenerator.rb</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>lib/RubySeleniumGenerator.rb
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Wed Nov 09 15:36:44 GMT 2005</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+
72
+
73
+ </div>
74
+
75
+
76
+ </div>
77
+
78
+
79
+ <!-- if includes -->
80
+
81
+ <div id="section">
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+ <!-- if method_list -->
91
+
92
+
93
+ </div>
94
+
95
+
96
+ <div id="validator-badges">
97
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
98
+ </div>
99
+
100
+ </body>
101
+ </html>
@@ -0,0 +1,352 @@
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>File: RubySelenium.rb</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="fileHeader">
50
+ <h1>RubySelenium.rb</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>lib/RubySelenium.rb
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Wed Nov 09 15:36:44 GMT 2005</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+ <div id="description">
72
+ <p>
73
+ rubySelenium is a html generation tool for Selenium.
74
+ </p>
75
+ <p>
76
+ Selenium Reference
77
+ </p>
78
+ <hr size="10"></hr><p>
79
+ A command is what tells Selenium what to do. Selenium commands come in two
80
+ &#8216;flavors&#8217;, Actions and Assertions. Each command call is one
81
+ line in the test table of the form:
82
+ </p>
83
+ <p>
84
+ command target value
85
+ </p>
86
+ <p>
87
+ Actions are commands that generally manipulate the state of the
88
+ application. They do things like &quot;click this link&quot; and
89
+ &quot;select that option&quot;. If an Action fails, or has an error, the
90
+ execution of the current test is stopped.
91
+ </p>
92
+ <p>
93
+ Checks verify the state of the application conforms to what is expected.
94
+ Examples include &quot;make sure the page title is X&quot; and &quot;check
95
+ that this checkbox is checked&quot;. It is possible to tell Selenium to
96
+ stop the test when an Assertion fails, or to simply record the failure and
97
+ continue.
98
+ </p>
99
+ <p>
100
+ Element Locators tell Selenium which HTML element a command refers to. Many
101
+ commands require an Element Locator as the &quot;target&quot; attribute.
102
+ Examples of Element Locators include &quot;elementId&quot; and
103
+ &quot;document.forms[0].element&quot;. These are described more clearly in
104
+ the next section.
105
+ </p>
106
+ <p>
107
+ Element Locators
108
+ </p>
109
+ <hr size="10"></hr><p>
110
+ Element Locators allow Selenium to identify which HTML element a command
111
+ refers to. There are several forms of Element Locators.
112
+ </p>
113
+ <p>
114
+ id
115
+ </p>
116
+ <hr size="10"></hr><pre>
117
+ locates an element based on the id or name attribute of the element.
118
+ If an element with a matching id is found, it is chosen.
119
+
120
+ * id=TheElementId
121
+ </pre>
122
+ <p>
123
+ name
124
+ </p>
125
+ <hr size="10"></hr><pre>
126
+ locates an element based on the name attribute of the element. The first element with a matching name is chosen.
127
+
128
+ * name=TheElementName
129
+ </pre>
130
+ <p>
131
+ identifier
132
+ </p>
133
+ <hr size="10"></hr><pre>
134
+ locates an element based on the id or name attribute of the element. If an element with a matching id is found, it is chosen. Otherwise, the first element with a matching name is chosen.
135
+
136
+ * name=TheElementName
137
+ </pre>
138
+ <p>
139
+ dom
140
+ </p>
141
+ <hr size="10"></hr><pre>
142
+ finds an element using the built-in DOM traversal syntax of HTML. DOM Traversal locators must begin with &quot;document.&quot;.
143
+
144
+ * dom=document.forms['myForm'].myDropdown
145
+ * dom=document.images[56]
146
+ </pre>
147
+ <p>
148
+ xpath
149
+ </p>
150
+ <hr size="10"></hr><pre>
151
+ locates an element using a defined XPath expression. XPath locators must begin with &quot;//&quot;.
152
+
153
+ * xpath=//img[@alt='The image alt text']
154
+ * xpath=//table[@id='table1']//tr[4]/td[2]
155
+ </pre>
156
+ <p>
157
+ link
158
+ </p>
159
+ <hr size="10"></hr><pre>
160
+ finds a link with the specified text.
161
+
162
+ * link=The link text
163
+ </pre>
164
+ <p>
165
+ Without a locator prefix, a default set of locators will be used. The
166
+ default set of locators is:
167
+ </p>
168
+ <ol>
169
+ <li>identifier
170
+
171
+ </li>
172
+ <li>dom
173
+
174
+ </li>
175
+ <li>xpath
176
+
177
+ </li>
178
+ </ol>
179
+ <p>
180
+ Select Option Specifiers
181
+ </p>
182
+ <hr size="10"></hr><p>
183
+ Select Option Specifiers provide different ways of specifying options of an
184
+ HTML Select element (e.g. for selecting a specific option, or for asserting
185
+ that the selected option satisfies a specification). There are several
186
+ forms of Select Option Specifier.
187
+ </p>
188
+ <p>
189
+ label
190
+ </p>
191
+ <hr size="10"></hr><pre>
192
+ matches options based on their labels, i.e. the visible text. Does glob matching so that, for example, &quot;fo*r&quot; will match &lt;option&gt;foobar&lt;/option&gt;.
193
+
194
+ * label=TheLabel
195
+ </pre>
196
+ <p>
197
+ value
198
+ </p>
199
+ <hr size="10"></hr><pre>
200
+ matches options based on their values. Does glob matching so that, for example, &quot;fo*r&quot; will match &lt;option value=&quot;foobar&quot;&gt;Some option&lt;/option&gt;.
201
+
202
+ * value=TheValue
203
+ </pre>
204
+ <p>
205
+ id
206
+ </p>
207
+ <hr size="10"></hr><pre>
208
+ matches options based on their ids. Does glob matching so that, for example, &quot;opt*1&quot; will match &lt;option id=&quot;option1&quot; value=&quot;foobar&quot;&gt;Some option&lt;/option&gt;.
209
+
210
+ * id=option1
211
+ </pre>
212
+ <p>
213
+ index
214
+ </p>
215
+ <hr size="10"></hr><pre>
216
+ matches an option based on its index (offset from zero).
217
+
218
+ * index=2
219
+ </pre>
220
+ <p>
221
+ Without a prefix, the default is to only match on labels.
222
+ </p>
223
+ <p>
224
+ Selenium Actions
225
+ </p>
226
+ <hr size="10"></hr><p>
227
+ Actions tell Selenium to do something in the application. They generally
228
+ represent something a user would do.
229
+ </p>
230
+ <p>
231
+ Many Actions can be called with the &quot;AndWait&quot; suffix. This suffix
232
+ tells Selenium that the action will cause the browser to make a call to the
233
+ server, and that Selenium should wait for a new page to load.The exceptions
234
+ to this pattern are the &quot;open&quot; and &quot;click&quot; actions,
235
+ which will both wait for a page to load by default.
236
+ </p>
237
+ <p>
238
+ Selenium Checks
239
+ </p>
240
+ <hr size="10"></hr><p>
241
+ Checks are used to verify the state of the application. They can be used to
242
+ check the value of a form field, the presense of some text, or the URL of
243
+ the current page.
244
+ </p>
245
+ <p>
246
+ All Selenium Checks can be used in 2 modes, &quot;assert&quot; and
247
+ &quot;verify&quot;. These behave identically, except that when an
248
+ &quot;assert&quot; check fails, the test is aborted. When a
249
+ &quot;verify&quot; check fails, the test will continue execution. This
250
+ allows a single &quot;assert&quot; to ensure that the application is on the
251
+ correct page, followed by a bunch of &quot;verify&quot; checks to test form
252
+ field values, labels, etc.
253
+ </p>
254
+
255
+ </div>
256
+
257
+ <div id="requires-list">
258
+ <h3 class="section-bar">Required files</h3>
259
+
260
+ <div class="name-list">
261
+ optparse&nbsp;&nbsp;
262
+ ostruct&nbsp;&nbsp;
263
+ </div>
264
+ </div>
265
+
266
+ </div>
267
+
268
+
269
+ </div>
270
+
271
+
272
+ <!-- if includes -->
273
+
274
+ <div id="section">
275
+
276
+
277
+ <div id="constants-list">
278
+ <h3 class="section-bar">Constants</h3>
279
+
280
+ <div class="name-list">
281
+ <table summary="Constants">
282
+ <tr class="top-aligned-row context-row">
283
+ <td class="context-item-name">RUBY_SELENIUM_VERSION</td>
284
+ <td>=</td>
285
+ <td class="context-item-value">&quot;RubySelenium 0.0.7&quot;</td>
286
+ </tr>
287
+ <tr class="top-aligned-row context-row">
288
+ <td class="context-item-name">DEFAULT_CONFIG_FILE</td>
289
+ <td>=</td>
290
+ <td class="context-item-value">&quot;rubySeleniumConfig.txt&quot;</td>
291
+ </tr>
292
+ <tr class="top-aligned-row context-row">
293
+ <td class="context-item-name">DEFAULT_RUBY_TEST_LOCATION</td>
294
+ <td>=</td>
295
+ <td class="context-item-value">&quot;.&quot;</td>
296
+ </tr>
297
+ <tr class="top-aligned-row context-row">
298
+ <td class="context-item-name">GENERATE_LOCATION</td>
299
+ <td>=</td>
300
+ <td class="context-item-value">rubySeleniumConfig['GENERATE_LOCATION'].value</td>
301
+ </tr>
302
+ <tr class="top-aligned-row context-row">
303
+ <td class="context-item-name">LOGGING</td>
304
+ <td>=</td>
305
+ <td class="context-item-value">eval(rubySeleniumConfig['LOGGING'].value)</td>
306
+ </tr>
307
+ <tr class="top-aligned-row context-row">
308
+ <td class="context-item-name">GO_PATH</td>
309
+ <td>=</td>
310
+ <td class="context-item-value">rubySeleniumConfig['TEST_LOCATION'].value</td>
311
+ </tr>
312
+ <tr class="top-aligned-row context-row">
313
+ <td class="context-item-name">IE_PATH</td>
314
+ <td>=</td>
315
+ <td class="context-item-value">rubySeleniumConfig['IE_LOCATION'].value</td>
316
+ </tr>
317
+ <tr class="top-aligned-row context-row">
318
+ <td class="context-item-name">FF_PATH</td>
319
+ <td>=</td>
320
+ <td class="context-item-value">rubySeleniumConfig['FF_LOCATION'].value</td>
321
+ </tr>
322
+ <tr class="top-aligned-row context-row">
323
+ <td class="context-item-name">COMMAND_GENERATE_LOCATION</td>
324
+ <td>=</td>
325
+ <td class="context-item-value">command_line_options.html_generate_location</td>
326
+ </tr>
327
+ <tr class="top-aligned-row context-row">
328
+ <td class="context-item-name">WEBSERVICE_LOCATION</td>
329
+ <td>=</td>
330
+ <td class="context-item-value">command_line_options.webservice_location</td>
331
+ </tr>
332
+ </table>
333
+ </div>
334
+ </div>
335
+
336
+
337
+
338
+
339
+
340
+
341
+ <!-- if method_list -->
342
+
343
+
344
+ </div>
345
+
346
+
347
+ <div id="validator-badges">
348
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
349
+ </div>
350
+
351
+ </body>
352
+ </html>