rubySelenium 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/rubyselenium-seed +25 -0
- data/documentation/output/css/style.css +36 -0
- data/documentation/output/documentation.html +197 -0
- data/documentation/output/files/rdoc/classes/Batch_Generator.html +274 -0
- data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000062.html +19 -0
- data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000063.html +26 -0
- data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000064.html +22 -0
- data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000065.html +20 -0
- data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000066.html +23 -0
- data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000067.html +18 -0
- data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000068.html +20 -0
- data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000069.html +18 -0
- data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000070.html +23 -0
- data/documentation/output/files/rdoc/classes/Batch_Generator.src/M000071.html +20 -0
- data/documentation/output/files/rdoc/classes/GenerateCommand.html +137 -0
- data/documentation/output/files/rdoc/classes/GenerateCommand.src/M000001.html +54 -0
- data/documentation/output/files/rdoc/classes/HTML_File_Generator.html +229 -0
- data/documentation/output/files/rdoc/classes/HTML_File_Generator.src/M000072.html +23 -0
- data/documentation/output/files/rdoc/classes/HTML_File_Generator.src/M000073.html +20 -0
- data/documentation/output/files/rdoc/classes/HTML_File_Generator.src/M000074.html +18 -0
- data/documentation/output/files/rdoc/classes/HTML_File_Generator.src/M000075.html +19 -0
- data/documentation/output/files/rdoc/classes/HTML_File_Generator.src/M000076.html +18 -0
- data/documentation/output/files/rdoc/classes/HTML_File_Generator.src/M000077.html +18 -0
- data/documentation/output/files/rdoc/classes/HTML_File_Generator.src/M000078.html +18 -0
- data/documentation/output/files/rdoc/classes/MissingConfigurationFile.html +111 -0
- data/documentation/output/files/rdoc/classes/MissingRubyTestFiles.html +111 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.html +1523 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000002.html +20 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000003.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000004.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000005.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000006.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000007.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000008.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000009.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000010.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000011.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000012.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000013.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000014.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000015.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000016.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000017.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000018.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000019.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000020.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000021.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000022.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000023.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000024.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000025.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000026.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000027.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000028.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000029.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000030.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000031.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000032.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000033.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000034.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000035.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000036.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000037.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000038.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000039.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000040.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000041.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000042.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000043.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000044.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000045.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000046.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000047.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000048.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000049.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000050.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000051.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000052.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000053.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000054.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000055.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000056.html +21 -0
- data/documentation/output/files/rdoc/classes/RubySelenium.src/M000057.html +20 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumConfig.html +182 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumConfig.src/M000093.html +22 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumConfig.src/M000094.html +27 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumConfig.src/M000095.html +25 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.html +334 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000079.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000080.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000081.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000082.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000083.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000084.html +18 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000085.html +21 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000086.html +21 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000087.html +21 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000088.html +21 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000089.html +21 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000090.html +21 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000091.html +21 -0
- data/documentation/output/files/rdoc/classes/RubySeleniumGenerator.src/M000092.html +21 -0
- data/documentation/output/files/rdoc/classes/String.html +137 -0
- data/documentation/output/files/rdoc/classes/String.src/M000096.html +20 -0
- data/documentation/output/files/rdoc/classes/Templates.html +184 -0
- data/documentation/output/files/rdoc/classes/Templates.src/M000058.html +20 -0
- data/documentation/output/files/rdoc/classes/Templates.src/M000059.html +18 -0
- data/documentation/output/files/rdoc/classes/Templates.src/M000060.html +18 -0
- data/documentation/output/files/rdoc/classes/Templates.src/M000061.html +18 -0
- data/documentation/output/files/rdoc/created.rid +1 -0
- data/documentation/output/files/rdoc/files/lib/RubySeleniumGenerator_rb.html +101 -0
- data/documentation/output/files/rdoc/files/lib/RubySelenium_rb.html +352 -0
- data/documentation/output/files/rdoc/fr_class_index.html +36 -0
- data/documentation/output/files/rdoc/fr_file_index.html +28 -0
- data/documentation/output/files/rdoc/fr_method_index.html +122 -0
- data/documentation/output/files/rdoc/index.html +24 -0
- data/documentation/output/files/rdoc/rdoc-style.css +208 -0
- data/documentation/output/images/background.jpg +0 -0
- data/documentation/output/images/blanklogo_noswirl.jpg +0 -0
- data/documentation/output/images/blanklogo_withswirl.jpg +0 -0
- data/documentation/output/images/left1.jpg +0 -0
- data/documentation/output/images/left1bg.jpg +0 -0
- data/documentation/output/images/mainbackground.jpg +0 -0
- data/documentation/output/images/menudivider.jpg +0 -0
- data/documentation/output/images/tempheadline.jpg +0 -0
- data/documentation/output/images/templogo.jpg +0 -0
- data/documentation/output/images/toplogobg.jpg +0 -0
- data/documentation/output/images/welcome.jpg +0 -0
- data/documentation/output/index.html +108 -0
- data/documentation/output/menu/my_menu.css +1 -0
- data/documentation/output/menu/my_menu.js +1 -0
- data/documentation/src/css/style.css +36 -0
- data/documentation/src/documentation.template.txt +51 -0
- data/documentation/src/files/rdoc/classes/Batch_Generator.html +274 -0
- data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000062.html +19 -0
- data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000063.html +26 -0
- data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000064.html +22 -0
- data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000065.html +20 -0
- data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000066.html +23 -0
- data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000067.html +18 -0
- data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000068.html +20 -0
- data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000069.html +18 -0
- data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000070.html +23 -0
- data/documentation/src/files/rdoc/classes/Batch_Generator.src/M000071.html +20 -0
- data/documentation/src/files/rdoc/classes/GenerateCommand.html +137 -0
- data/documentation/src/files/rdoc/classes/GenerateCommand.src/M000001.html +54 -0
- data/documentation/src/files/rdoc/classes/HTML_File_Generator.html +229 -0
- data/documentation/src/files/rdoc/classes/HTML_File_Generator.src/M000072.html +23 -0
- data/documentation/src/files/rdoc/classes/HTML_File_Generator.src/M000073.html +20 -0
- data/documentation/src/files/rdoc/classes/HTML_File_Generator.src/M000074.html +18 -0
- data/documentation/src/files/rdoc/classes/HTML_File_Generator.src/M000075.html +19 -0
- data/documentation/src/files/rdoc/classes/HTML_File_Generator.src/M000076.html +18 -0
- data/documentation/src/files/rdoc/classes/HTML_File_Generator.src/M000077.html +18 -0
- data/documentation/src/files/rdoc/classes/HTML_File_Generator.src/M000078.html +18 -0
- data/documentation/src/files/rdoc/classes/MissingConfigurationFile.html +111 -0
- data/documentation/src/files/rdoc/classes/MissingRubyTestFiles.html +111 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.html +1523 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000002.html +20 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000003.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000004.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000005.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000006.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000007.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000008.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000009.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000010.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000011.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000012.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000013.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000014.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000015.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000016.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000017.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000018.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000019.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000020.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000021.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000022.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000023.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000024.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000025.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000026.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000027.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000028.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000029.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000030.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000031.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000032.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000033.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000034.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000035.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000036.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000037.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000038.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000039.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000040.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000041.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000042.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000043.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000044.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000045.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000046.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000047.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000048.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000049.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000050.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000051.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000052.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000053.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000054.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000055.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000056.html +21 -0
- data/documentation/src/files/rdoc/classes/RubySelenium.src/M000057.html +20 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumConfig.html +182 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumConfig.src/M000093.html +22 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumConfig.src/M000094.html +27 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumConfig.src/M000095.html +25 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.html +334 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000079.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000080.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000081.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000082.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000083.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000084.html +18 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000085.html +21 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000086.html +21 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000087.html +21 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000088.html +21 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000089.html +21 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000090.html +21 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000091.html +21 -0
- data/documentation/src/files/rdoc/classes/RubySeleniumGenerator.src/M000092.html +21 -0
- data/documentation/src/files/rdoc/classes/String.html +137 -0
- data/documentation/src/files/rdoc/classes/String.src/M000096.html +20 -0
- data/documentation/src/files/rdoc/classes/Templates.html +184 -0
- data/documentation/src/files/rdoc/classes/Templates.src/M000058.html +20 -0
- data/documentation/src/files/rdoc/classes/Templates.src/M000059.html +18 -0
- data/documentation/src/files/rdoc/classes/Templates.src/M000060.html +18 -0
- data/documentation/src/files/rdoc/classes/Templates.src/M000061.html +18 -0
- data/documentation/src/files/rdoc/created.rid +1 -0
- data/documentation/src/files/rdoc/files/lib/RubySeleniumGenerator_rb.html +101 -0
- data/documentation/src/files/rdoc/files/lib/RubySelenium_rb.html +352 -0
- data/documentation/src/files/rdoc/fr_class_index.html +36 -0
- data/documentation/src/files/rdoc/fr_file_index.html +28 -0
- data/documentation/src/files/rdoc/fr_method_index.html +122 -0
- data/documentation/src/files/rdoc/index.html +24 -0
- data/documentation/src/files/rdoc/rdoc-style.css +208 -0
- data/documentation/src/images/background.jpg +0 -0
- data/documentation/src/images/blanklogo_noswirl.jpg +0 -0
- data/documentation/src/images/blanklogo_withswirl.jpg +0 -0
- data/documentation/src/images/left1.jpg +0 -0
- data/documentation/src/images/left1bg.jpg +0 -0
- data/documentation/src/images/mainbackground.jpg +0 -0
- data/documentation/src/images/menudivider.jpg +0 -0
- data/documentation/src/images/tempheadline.jpg +0 -0
- data/documentation/src/images/templogo.jpg +0 -0
- data/documentation/src/images/toplogobg.jpg +0 -0
- data/documentation/src/images/welcome.jpg +0 -0
- data/documentation/src/index.template.txt +50 -0
- data/documentation/src/keywords/documentation_user_guide_content.keyword.txt +134 -0
- data/documentation/src/keywords/generic_browser_title.keyword.txt +1 -0
- data/documentation/src/keywords/generic_published.keyword.rb +1 -0
- data/documentation/src/keywords/index_content.keyword.txt +51 -0
- data/documentation/src/menu/default_menu/default_menu.css +44 -0
- data/documentation/src/menu/default_menu/default_menu.html.txt +28 -0
- data/documentation/src/menu/default_menu/default_menu.js +19 -0
- data/documentation/src/menu/menu_config.txt +1 -0
- data/documentation/src/menu/my_menu/my_menu.html.txt +15 -0
- data/lib/RubySelenium.rb +1088 -0
- data/lib/RubySeleniumGenerator.rb +570 -0
- data/rubySelenium.gemspec +48 -0
- data/unittests/TODO.txt +10 -0
- data/unittests/all_tests.rb +5 -0
- data/unittests/rubySeleniumConfig.txt +41 -0
- data/unittests/test-structure/001_MyFirstTest.rb +15 -0
- data/unittests/test-structure/002_MySecondTest.rb +15 -0
- data/unittests/test-structure/003_MyThirdTest.rb +15 -0
- data/unittests/test-structure/execute_all_tests.rb +2 -0
- data/unittests/test-structure/generate_all_tests.rb +2 -0
- data/unittests/test-structure/rubySeleniumConfig.txt +41 -0
- data/unittests/test_batch_generator.rb +58 -0
- data/unittests/test_command_line_execution.rb +17 -0
- data/unittests/test_config_file.rb +28 -0
- data/unittests/test_html_file_creation.rb +93 -0
- data/unittests/test_selenium_core_api.rb +108 -0
- 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">"# 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"</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">"rubySeleniumConfig.txt"</span>, <span class="ruby-value str">"w"</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">"# 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(\"methods/user_data.csv\")\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(\"DirectInvestor\")\n#\ndef login(id)\n\nif id == \"DirectInvestor\"\nid = @DirectInvestor.crnNumber\nend\n\n@s.open(\"/someurl\")\n@s.open(\"javascript:var link=document.getElementById('logoutUser');if(link!=null){location.href=link.href;}else{location.hash='dummy';}\")\n@s.open(\"/wps/myportal\")\n@s.type(\"userID\",\"#\\{id\\}\")\n@s.type(\"password\",\"#\\{id\\}\")\n@s.clickAndWait(\"login\")\n@s.open(\"/someurl\")\n@s.verifyTextPresent(\"Log out\")\n@s.verifyTextPresent(\"Some Text\")\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) -> makes a string of 10 x's e.g. xxxxxxxxxx\n#\ndef length(num, char=\"x\")\narr = [] ; (1..num).to_a.each{|x| arr << char}\nreturn arr\nend\n\n# This methods returns todays date in the format required by the secure messaging\n#\n# example: t.timeNow -> returns e.g. 07-Jun-2005\n#\ndef timeNow\nTime.now.strftime(\"%d %b %Y\")\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 -> returns e.g. July 11, 2005 12:52\n#\ndef todaysDate\nTime.now.strftime(\"%B %d, %Y :\")\nend\n\nend\n"</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">"methods/seleniumMethods.rb"</span>,<span class="ruby-value str">"w"</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">"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(\"data.csv\")\n# loginId = d.data[0].LoginId --> line 1 of the csv file and column LoginId\n# pin = d.data[0].Pin --> 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(\",\")\nheader.each{|z| z.chomp!}\ndata = Struct.new(\"Data\", *header)\ncsv_data.shift\ndata_array = []\ncsv_data.each do |line|\nline.each{|z| line.chomp!}\ndata_array << data.new(*line.split(\",\"))\nend\nreturn data_array\nend\n\nend\n"</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">"methods/datahandler.rb"</span>,<span class="ruby-value str">"w"</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">"require 'RubySelenium'\n\n# FireFox or IE\nBatch_Generator.new.go\n"</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">"execute_all_tests.rb"</span>,<span class="ruby-value str">"w"</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">"require 'RubySelenium'\nBatch_Generator.new.create_all_test_files\n"</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">"generate_all_tests.rb"</span>,<span class="ruby-value str">"w"</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">"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"</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">"methods/user_data.csv"</span>,<span class="ruby-value str">"w"</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">"#!/usr/local/bin/ruby\nrequire 'webrick'\nrequire 'uri'\nrequire 'net/smtp'\ninclude WEBrick\n\n# set up variables\nTO_ADDRESS = \"some_email_address@somedomain.com\"\n\ns = HTTPServer.new( :Port => 2001 )\n\nclass ApplicationStatus < HTTPServlet::AbstractServlet\n\ndef do_GET(req,res)\nres.body = \"<html><body><p>Ruby Results WebServer is UP</p></body></html>\"\nend\nend\n\nclass SeleniumResults < HTTPServlet::AbstractServlet\n\ndef template_header(css_file)\nhtml =<<-EOF\n<html>\n<head>\n<title>Ruby Selenium Results</title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"#\\{css_file\\}\" />\n</head>\n<body>\n<div id=\"banner\">Selenium Results</div>\n<div id=\"author\">Kingsley Hendrickse (ThoughtWorks)</div>\nEOF\nhtml\nend\n\ndef tableOne(body)\ndecoded_body = URI.unescape(body.to_s).gsub(\"+\",\"\\\\s\")\nresultsArray = decoded_body.split(\"\\\\n\")\nresultStats = resultsArray[0].split(\"&\")\n\nresult = {\n\"result\" => resultStats[0].split(\"=\")[1],\n\"totalTime\" => resultStats[1].split(\"=\")[1],\n\"numberTestsPassed\" => resultStats[2].split(\"=\")[1],\n\"numberTestsFailed\" => resultStats[3].split(\"=\")[1],\n\"numberCommandsPassed\" => resultStats[4].split(\"=\")[1],\n\"numberCommandsFailed\" => resultStats[5].split(\"=\")[1],\n\"numberCommandsError\" => resultStats[6].split(\"=\")[1],\n\"testSuite\" => resultStats[7].split(\"=\")[1]\n}\n\nif result['testSuite'] == nil then result['testSuite'] = \"Local Run #\\{Time.now\\}\" ; @testSuite = \"Local_Run_#\\{Time.now.to_s.gsub(' ','_').gsub(':','_')\\}\" else @testSuite = result['testSuite'] end\nif result['result'] == \"passed\" then css_result = \"res_passed\" ; @status = \"Passed\" else css_result = \"res_failed\" ; @status = \"Failed\" end\n\ntable_1 = <<-EOF\n<table>\n<tr><td><div id=\"res_suite_title\">Results for Test Suite:</div></td><td><div id=\"res_suite_value\">#\\{result['testSuite']\\}</div></td></tr>\n<tr><td><div id=\"res_title\">Run Date</div></td><td><div id=\"res_value\">#\\{Time.now.to_s\\}</div></td></tr>\n<tr><td><div id=\"res_title\">Result Status</div></td><td><div id=\"#\\{css_result\\}\">#\\{result['result']\\}</div></td></tr>\n<tr><td><div id=\"res_title\">Total Time</div></td><td><div id=\"res_value\">#\\{result['totalTime']\\}</div></td></tr>\n<tr><td><div id=\"res_title\">Number of Tests Passed</div></td><td><div id=\"res_value_passed\">#\\{result['numberTestsPassed']\\}</div></td></tr>\n<tr><td><div id=\"res_title\">Number of Tests Failed</div></td><td><div id=\"res_value_failed\">#\\{result['numberTestsFailed']\\}</div></td></tr>\n<tr><td><div id=\"res_title\">Number of Commands Passed</div></td><td><div id=\"res_value_passed\">#\\{result['numberCommandsPassed']\\}</div></td></tr>\n<tr><td><div id=\"res_title\">Number of Commands Failed</div></td><td><div id=\"res_value_failed\">#\\{result['numberCommandsFailed']\\}</div></td></tr>\n<tr><td><div id=\"res_title\">Number of Command Errors</div></td><td><div id=\"res_value_failed\">#\\{result['numberCommandsError']\\}</div></td></tr>\n</table>\nEOF\nend\n\ndef tableTwo(body)\ndecoded_body = URI.unescape(body.to_s).gsub(\"+\",\"\\\\s\")\nresultsArray = decoded_body.split(\"\\\\n\")\nresultsArray.shift\nreturn resultsArray.to_s.gsub(/&testTable\\.\\d+=/, '<br><hr color=\"lightblue\" size=\"5\"><br>').gsub(/&suite=/, '<br><hr color=\"lightblue\" size=\"5\"><br>')\nend\n\ndef sendMail(to_address, subject, body)\nmsgstr = <<-EOF\nFrom: Selenium Automated Tests\nTo: #\\{TO_ADDRESS.split(\"@\")[0].gsub(\".\",\" \")\\} <#\\{TO_ADDRESS\\}>\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 =<<-EOF\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n<HTML><HEAD><TITLE>Selenium Automated Tests</TITLE>\n<style>\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</style>\n<META content=\"MSHTML 6.00.2800.1498\" name=GENERATOR></HEAD>\nEOF\nend\n\ndef do_GET(req,res)\nres.body = template_header(\"seleniumResults.css\")\nres.body << tableOne(req.body)\nres.body << \"<br>\"\nres.body << tableTwo(req.body)\nres.body << \"</body></html>\"\n\nf = File.new(\"../testResults/#\\{@testSuite\\}.html\", \"w\")\nf.puts template_header(\"../RubyWebService/css/seleniumResults.css\")\nf.puts tableOne(req.body)\nf.puts \"<br>\"\nf.puts tableTwo(req.body)\nf.puts \"</body></html>\"\nf.close\n\nif @testSuite =~ /Local_Run/ then puts \"No Mail sent as local run\" else\nsubject = \"Selenium Automated Test (#\\{@testSuite\\}) - #\\{@status\\}\"\nsendMail(TO_ADDRESS, subject, mail_header + tableOne(req.body).to_s + \"<BR>\" + tableTwo(req.body).to_s + \"</body></html>\")\nend\nend\n\n\n\nalias do_POST do_GET\nend\n\n\n# mount css\ns.mount_proc(\"/seleniumResults.css\") do |req, res|\nres.body = File.read(\"css/seleniumResults.css\")\nres['content-type'] = 'text/css'\nend\n\ns.mount(\"/status\", ApplicationStatus)\ns.mount(\"/seleniumResults\", SeleniumResults)\n\n\ntrap(\"INT\"){ s.shutdown }\ns.start\n"</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">"resultServer/webServer.rb"</span>,<span class="ruby-value str">"w"</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">"#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"</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">"resultServer/css/seleniumResults.css"</span>,<span class="ruby-value str">"w"</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>
|
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 = "&nbsp;")</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">"&nbsp;"</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">" "</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">"&nbsp;"</span> <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">value</span> <span class="ruby-operator">==</span> <span class="ruby-value str">"[empty]"</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">value</span> = <span class="ruby-value str">""</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">"[empty]"</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">target</span> = <span class="ruby-value str">""</span> <span class="ruby-keyword kw">end</span>
|
17
|
+
<span class="ruby-node">"<tr><td>#{self}</td><td>#{target}</td><td>#{value}</td></tr>"</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>
|
90
|
+
<a href="#M000061">selenium_test_runner</a>
|
91
|
+
<a href="#M000059">selenium_test_script</a>
|
92
|
+
<a href="#M000060">selenium_test_suite</a>
|
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 = "", script_content = "", test_suite_content = "")</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>
|