| <?php |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); |
| $App = new App(); |
| $Nav = new Nav(); |
| $Menu = new Menu(); |
| include($App->getProjectCommon()); |
| $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/default/style.css"/>'); |
| $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="http://download.eclipse.org/technology/swtbot/docs/videos/beginners/SWTBotGettingStartedIn5Minutes/FlashTemplate.css"/>'); |
| |
| $pageTitle = "SWTBot – UI Testing for SWT and Eclipse"; |
| |
| # Add page-specific Nav bars here |
| # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3) |
| # $Nav->addNavSeparator("My Page Links", "downloads.php"); |
| # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3); |
| # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3); |
| |
| # Paste your HTML content between the ob_start/ob_end_clean markers! |
| ob_start(); |
| ?> |
| |
| <div id="bigbuttons"> |
| <h3>Primary Links</h3> |
| <ul> |
| <li><a id="buttonDownload" href="download.php" title="Download">Eclipse |
| Distribution, Update Site, Dropins</a></li> |
| <li><a id="buttonDocumentation" href="http://wiki.eclipse.org/SWTBot" |
| title="Documentation">Tutorials, Examples, Videos, Reference Documentation</a></li> |
| <li><a id="buttonSupport" href="midcolumn_example.php" title="Download">Bug |
| Tracker, Newsgroup, Professional Support</a></li> |
| <li><a id="buttonInvolved" href="http://wiki.eclipse.org/SWTBot/Contributing" title="Getting Involved">SVN, Git, |
| Workspace Setup, Wiki, Committers</a></li> |
| </ul> |
| </div> |
| |
| <div id="midcolumn"> |
| <h3>What is SWTBot?</h3> |
| |
| <div id="introText"> |
| <p class="left"> |
| SWTBot is an open-source Java based UI/functional testing tool for testing <a href="http://eclipse.org/swt">SWT</a> and <a href="http://eclipse.org">Eclipse</a> based applications. |
| </p> |
| <p class="right"> |
| SWTBot provides APIs that are simple to read and write. The APIs also hide the complexities involved with SWT and Eclipse. This makes it suitable for UI/functional testing by everyone, not just developers. SWTBot also provides its own set of assertions that are useful for SWT. You can also use your own assertion framework with SWTBot. |
| </p> |
| </div> |
| |
| <div id="screencast"> |
| <!-- |
| <script type="text/javascript" src="http://download.eclipse.org/technology/swtbot/docs/videos/beginners/SWTBotGettingStartedIn5Minutes/SWTBotForNovice_Screenshot.js"></script> |
| |
| <div id="flashcontent"> |
| <div id="cs_noexpressUpdate"> |
| <p>The Camtasia Studio video content presented here requires JavaScript to be enabled and the latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by <a href="http://www.macromedia.com/go/getflashplayer">downloading here</a>. </p> |
| </div> |
| </div> |
| <script type="text/javascript"> |
| // <![CDATA[ |
| var fo = new SWFObject( "http://download.eclipse.org/technology/swtbot/docs/videos/beginners/SWTBotGettingStartedIn5Minutes/SWTBotForNovice_Screenshot_controller.swf", "http://download.eclipse.org/technology/swtbot/docs/videos/beginners/SWTBotGettingStartedIn5Minutes/SWTBotForNovice_Screenshot_controller.swf", "640", "490", "7", "#FFFFFF", false, "best" ); |
| fo.addVariable( "csConfigFile", "http://download.eclipse.org/technology/swtbot/docs/videos/beginners/SWTBotGettingStartedIn5Minutes/SWTBotForNovice_Screenshot_config.xml" ); |
| fo.addVariable( "csColor" , "FFFFFF" ); |
| fo.addVariable( "csPreloader" , "http://download.eclipse.org/technology/swtbot/docs/videos/beginners/SWTBotGettingStartedIn5Minutes/SWTBotForNovice_Screenshot_preload.swf" ); |
| if( args.movie ) |
| { |
| fo.addVariable( "csFilesetBookmark", args.movie ); |
| } |
| fo.write("flashcontent"); |
| // ]]> |
| |
| </script> |
| --> |
| </div> |
| |
| <div id="feature_1"> |
| <h4> |
| Some cool feature |
| </h4> |
| <p> |
| MyProject has this really cool feature that you describe here in few words, just as a teaser. |
| </p> |
| </div> |
| |
| <div id="feature_2"> |
| <h4> |
| Easy to integrate into your build cycle |
| </h4> |
| <p> |
| SWTBot can record and playback tests and integrates with Eclipse, and also provides for <a href="advanced/ant-integration.html">ant tasks</a> so that you can run your builds from within CruiseControl or any other CI tool that you use. |
| </p> |
| </div> |
| |
| <div id="feature_3"> |
| <h4> |
| Another Feature |
| </h4> |
| <p> |
| When working with MyProject, great things happen, and one of them is described here. |
| </p> |
| </div> |
| |
| <div id="feature_4"> |
| <h4> |
| User Experience |
| </h4> |
| <p> |
| Experiment with style.css to create columns for text, just the way you want it. This section is a bit wider and can contain more words, even small logos or graphics to describe a neat feature in more detail. |
| </p> |
| </div> |
| |
| </div> |
| |
| <?php |
| $html = ob_get_contents(); |
| ob_end_clean(); |
| |
| # Generate the web page |
| $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); |
| ?> |