This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.openqa.selenium.By; | |
| import org.openqa.selenium.WebDriver; | |
| import org.openqa.selenium.WebElement; | |
| import org.openqa.selenium.firefox.FirefoxDriver; | |
| public class Selenium2Example { | |
| public static void main(String[] args) { | |
| for (int i = 0; i < 3; i++) { | |
| // Create a new instance of the Firefox driver |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| include("../../phploader/phploader/loader.php"); | |
| $loader = new YAHOO_util_Loader("3.3.0"); | |
| $loader->combine = true; | |
| $loader->filter = YUI_RAW; | |
| $loader->load("yui", | |
| "node", | |
| "overlay", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h2> tests using setAttribute() method </h2> | |
| <div> | |
| <input id="p" value="setAttribute() Test"> | |
| <button id="csa"> Clear value using setAttribute() method </button> | |
| <button id="sa"> Set the default value back using setAttribute method </button> | |
| </div> | |
| <h2> tests using set() method </h2> | |
| <div> | |
| <input id="pv" value="set() test"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h2> tests using setAttribute() method </h2> | |
| <div> | |
| <input id="p" value="setAttribute() Test"> | |
| <button id="csa"> Clear value using setAttribute() method </button> | |
| <button id="sa"> Set the default value back using setAttribute method </button> | |
| </div> | |
| <h2> tests using set() method </h2> | |
| <div> | |
| <input id="pv" value="set() test"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <script src="http://yui.yahooapis.com/3.3.0/build/yui/yui.js" charset="utf-8"></script> | |
| <style> | |
| .cell { | |
| display: inline-block; | |
| width: 150px; | |
| height: 500px; | |
| text-align: center; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Minified --> | |
| <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?3.2.0/build/cssreset/reset-min.css&3.2.0/build/cssfonts/fonts-min.css&3.2.0/build/cssbase/base-min.css"> | |
| <!-- Un-minified --> | |
| <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?3.2.0/build/cssreset/reset.css&3.2.0/build/cssfonts/fonts.css&3.2.0/build/cssbase/base.css"> |