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.
- 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,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">""</span>, <span class="ruby-identifier">script_content</span> = <span class="ruby-value str">""</span>, <span class="ruby-identifier">test_suite_content</span> = <span class="ruby-value str">""</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">"<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n<head>\n<meta content=\"text/html; charset=ISO-8859-1\" http-equiv=\"content-type\">\n<title>\#{@script_file_name}</title>\n</head>\n<body>\n<table cellpadding=\"1\" cellspacing=\"1\" border=\"1\">\n<tbody>\n<tr>\n<td rowspan=\"1\" colspan=\"3\">\#{@script_file_name}<br>\n</td>\n</tr>\n\#{@script_content}\n</tbody>\n</table>\n</body>\n</html><table>\n<tr>\n<td><b>Selenium Id</b></td>\n<td id=\"SeleniumKey\"></td>\n</tr>\n</table>\n"</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">"<html>\n<head>\n<meta content=\"text/html; charset=ISO-8859-1\" http-equiv=\"content-type\">\n<title>Portal Framework Functional Testing</title>\n</head>\n<body>\n<table cellpadding=\"1\" cellspacing=\"1\" border=\"1\">\n<tbody>\n<tr><td><b>seleniumTestSuite</b></td></tr>\n\#{@test_suite_content}\n</tbody>\n</table>\n</body>\n</html>\n"</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">"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\n<html>\n<head>\n<meta content=\"text/html; charset=ISO-8859-1\" http-equiv=\"content-type\" />\n\n<title>Selenium Functional Test Runner</title>\n<script language=\"JavaScript\" type=\"text/javascript\" src=\"../../../html-xpath/html-xpath-patched.js\"></script>\n<script language=\"JavaScript\" type=\"text/javascript\" src=\"../../../selenium-browserbot.js\"></script>\n<script language=\"JavaScript\" type=\"text/javascript\" src=\"../../../selenium-api.js\"></script>\n<script language=\"JavaScript\" type=\"text/javascript\" src=\"../../../selenium-commandhandlers.js\"></script>\n<script language=\"JavaScript\" type=\"text/javascript\" src=\"../../../selenium-executionloop.js\"></script>\n<script language=\"JavaScript\" type=\"text/javascript\" src=\"../../../selenium-fitrunner.js\"></script>\n<script language=\"JavaScript\" type=\"text/javascript\" src=\"../../../selenium-logging.js\"></script>\n<script language=\"JavaScript\" type=\"text/javascript\" src=\"../../../htmlutils.js\"></script>\n<script language=\"JavaScript\" type=\"text/javascript\" src=\"../../../selenium-domviewer.js\"></script>\n<script language=\"JavaScript\" type=\"text/javascript\" src=\"../../../xpath.js\"></script>\n<script language=\"JavaScript\" type=\"text/javascript\" src=\"../../../user-extensions.js\"></script>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../../../selenium.css\" />\n</head>\n\n<body onload=\"start();\">\n\n<table class=\"layout\">\n<form action=\"\" name=\"controlPanel\">\n\n<!-- Suite, Test, Control Panel -->\n\n<tr class=\"selenium\">\n<td width=\"25%\" height=\"30%\" rowspan=\"2\"><iframe name=\"testSuiteFrame\" id=\"testSuiteFrame\" src=\"seleniumTestSuite.html\"></iframe></td>\n<td width=\"50%\" height=\"30%\" rowspan=\"2\"><iframe name=\"testFrame\" id=\"testFrame\"></iframe></td>\n<th width=\"25%\" height=\"1\" class=\"header\">\n<h1><a href=\"http://selenium.thoughtworks.com\" title=\"The Selenium Project\">Selenium</a> TestRunner</h1>\n</th>\n</tr>\n\n<tr class=\"selenium\">\n<td width=\"25%\" height=\"30%\" id=\"controlPanel\">\n\n<table id=\"controls\">\n<tr>\n<td>\n<b>Run:</b>\n<button type=\"button\" id=\"runTest\" onclick=\"runSingleTest();\"><em>Selected</em> Test</button>\n<button type=\"button\" id=\"runSuite\" onclick=\"startTestSuite();\"><strong>All</strong> Tests</button>\n</td>\n</tr>\n<tr>\n<td>\n<b>Mode:</b>\n<label><input id=\"modeRun\" type=\"radio\" name=\"runMode\" value=\"0\" checked=\"checked\"/>Run</label>\n<label><input id=\"modeWalk\" type=\"radio\" name=\"runMode\" value=\"500\" />Walk</label>\n<label><input id=\"modeStep\" type=\"radio\" name=\"runMode\" value=\"-1\" />Step</label>\n</td>\n</tr>\n<tr>\n<td>\n<button type=\"button\" id=\"domViewer1\" onclick=\"newRoot=getIframeDocument(getElementById('myiframe'));window.open('../../domviewer.html');return false;\">View DOM</button>\n<button type=\"button\" id=\"continueTest\" disabled=\"disabled\">Next/Continue</button>\n</td>\n</tr>\n</table>\n\n<table id=\"stats\" align=\"center\">\n<tr>\n<td colspan=\"2\" align=\"right\">Elapsed:</td>\n<td id=\"elapsedTime\" colspan=\"2\">00.00</td>\n</tr>\n<tr>\n<th colspan=\"2\">Tests</th>\n<th colspan=\"2\">Commands</th>\n</tr>\n<tr>\n<td class=\"count\" id=\"testRuns\">0</td>\n<td>run</td>\n<td class=\"count\" id=\"commandPasses\">0</td>\n<td>passed</td>\n</tr>\n<tr>\n<td class=\"count\" id=\"testFailures\">0</td>\n<td>failed</td>\n<td class=\"count\" id=\"commandFailures\">0</td>\n<td>failed</td>\n</tr>\n<tr>\n<td colspan=\"2\"></td>\n<td class=\"count\" id=\"commandErrors\">0</td>\n<td>incomplete</td>\n</tr>\n</table>\n</td>\n</tr>\n\n<!-- AUT -->\n<tr>\n<td colspan=\"3\" height=\"70%\"><iframe name=\"myiframe\" id=\"myiframe\" src=\"../../../TestRunner-splash.html\"></iframe></td>\n</tr>\n</form>\n</table>\n\n<div id=\"logging-console\">\n<h1>Javascript Log Console (<a id=\"closeLog\" href=\"javascript:LOG.hide()\">Close</a> <a href=\"javascript:LOG.clear();LOG.hide();\">Clear</a>)</h1>\n<ul id=\"log-list\"/>\n</div>\n<script language=\"javascript\">\nLOG = new Logger(LEVEL_WARN);\nLOG.hide();\n</script>\n</body>\n</html>\n"</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
|
+
‘flavors’, 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 "click this link" and
|
|
89
|
+
"select that option". 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 "make sure the page title is X" and "check
|
|
95
|
+
that this checkbox is checked". 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 "target" attribute.
|
|
102
|
+
Examples of Element Locators include "elementId" and
|
|
103
|
+
"document.forms[0].element". 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 "document.".
|
|
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 "//".
|
|
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, "fo*r" will match <option>foobar</option>.
|
|
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, "fo*r" will match <option value="foobar">Some option</option>.
|
|
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, "opt*1" will match <option id="option1" value="foobar">Some option</option>.
|
|
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 "AndWait" 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 "open" and "click" 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, "assert" and
|
|
247
|
+
"verify". These behave identically, except that when an
|
|
248
|
+
"assert" check fails, the test is aborted. When a
|
|
249
|
+
"verify" check fails, the test will continue execution. This
|
|
250
|
+
allows a single "assert" to ensure that the application is on the
|
|
251
|
+
correct page, followed by a bunch of "verify" 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
|
|
262
|
+
ostruct
|
|
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">"RubySelenium 0.0.7"</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">"rubySeleniumConfig.txt"</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">"."</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>
|