<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GUI Test Automation for Java/Swing Applications With Marathon and MarathonITEGUI Test Automation for Java/Swing Applications With Marathon and MarathonITE | Marathon</title>
	<atom:link href="http://marathontesting.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://marathontesting.com</link>
	<description>Marathon</description>
	<lastBuildDate>Wed, 24 Apr 2013 10:59:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>Released: Marathon and MarathonITE 3.3.2</title>
		<link>http://marathontesting.com/released-marathon-and-marathonite-3-3-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=released-marathon-and-marathonite-3-3-2</link>
		<comments>http://marathontesting.com/released-marathon-and-marathonite-3-3-2/#comments</comments>
		<pubDate>Wed, 24 Apr 2013 10:59:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Marathon Blog]]></category>

		<guid isPermaLink="false">http://marathontesting.com/?p=3292</guid>
		<description><![CDATA[<p>We released new versions of Marathon and MarathonITE. The major changes are:
1. Added a suite editor using which you can create new test suite files that can be executed in batch mode.
2. Fixed issues with MARATHON_HOME not being set properly in some cases.
3. Fixed issues pertaining to using plain JWindow objects.
4. Fixed recording and playback issues with file chooser and table header.
Detailed change log is available in the distributions.
</p><p>The post <a href="http://marathontesting.com/released-marathon-and-marathonite-3-3-2/">Released: Marathon and Marathon<i>ITE</i> 3.3.2</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>We released new versions of Marathon and Marathon<i>ITE</i>. The major changes are:</p>
<p>1. Added a suite editor using which you can create new test suite files that can be executed in batch mode.<br />
2. Fixed issues with MARATHON_HOME not being set properly in some cases.<br />
3. Fixed issues pertaining to using plain JWindow objects.<br />
4. Fixed recording and playback issues with file chooser and table header.</p>
<p>Detailed change log is available in the distributions.</p>
<p>The post <a href="http://marathontesting.com/released-marathon-and-marathonite-3-3-2/">Released: Marathon and Marathon<i>ITE</i> 3.3.2</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://marathontesting.com/released-marathon-and-marathonite-3-3-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Marathon and MarathonITE 3.2.9.2 release</title>
		<link>http://marathontesting.com/marathon-and-marathonite-3-2-9-2-release/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=marathon-and-marathonite-3-2-9-2-release</link>
		<comments>http://marathontesting.com/marathon-and-marathonite-3-2-9-2-release/#comments</comments>
		<pubDate>Mon, 11 Mar 2013 09:27:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Marathon Blog]]></category>

		<guid isPermaLink="false">http://marathontesting.com/?p=3283</guid>
		<description><![CDATA[<p>We released new versions of Marathon and MarathonITE &#8211; our Java/GUI testing product &#8211; last week. The major changes are:
1. adding support for creating reports in testlink XML format.
2. Support for native-lib directive for WebStartOffline launcher.
3. Upgrading jRuby to 1.7.2 and also couple of support libraries.
4. MComboBox and MTreeNode &#8211; stripping of HTML markup in the text.
5. Fixing handling of HeavyWeightWindow on Java7 (more on this later).
More detailed changelog can be read from the ChangeLog in the distribution.
Java7 and HeavyWeightWindow
Java/Swing uses HeavyWeightWindow objects internally to ...</p><p>The post <a href="http://marathontesting.com/marathon-and-marathonite-3-2-9-2-release/">Marathon and Marathon<i>ITE</i> 3.2.9.2 release</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>We released new versions of Marathon and Marathon<i>ITE</i> &#8211; our Java/GUI testing product &#8211; last week. The major changes are:</p>
<p>1. adding support for creating reports in testlink XML format.<br />
2. Support for native-lib directive for WebStartOffline launcher.<br />
3. Upgrading jRuby to 1.7.2 and also couple of support libraries.<br />
4. MComboBox and MTreeNode &#8211; stripping of HTML markup in the text.<br />
5. Fixing handling of HeavyWeightWindow on Java7 (more on this later).</p>
<p>More detailed changelog can be read from the ChangeLog in the distribution.</p>
<h3>Java7 and HeavyWeightWindow</h3>
<p>Java/Swing uses HeavyWeightWindow objects internally to display combo box lists, dropdown menus etc. Uptill Java6, the HeavyWeightWindow constructor was setting a name to these windows that start with &#8216;###&#8217; and Marathon ignores these windows by using the names. In Java7, a Window#Type enum is introduced. Window#getType returns a Window#Type enum that is either one of NORMAL, POPUP or UTILITY. And also Java7 doesn&#8217;t set the name for the window. Unfortunately, none of our testcases have a case where a HeavyWeightWindow is used for Menu/Combo popups &#8211; so we missed it. So if you find Marathon recording menu clicks with no title windows, upgrade to 3.2.9.2 and it should fix the problem for you.</p>
<p>The post <a href="http://marathontesting.com/marathon-and-marathonite-3-2-9-2-release/">Marathon and Marathon<i>ITE</i> 3.2.9.2 release</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://marathontesting.com/marathon-and-marathonite-3-2-9-2-release/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>MarathonITE 3.2.9 is released with object map sharing support</title>
		<link>http://marathontesting.com/marathonite-3-2-9-is-released-with-object-map-sharing-support/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=marathonite-3-2-9-is-released-with-object-map-sharing-support</link>
		<comments>http://marathontesting.com/marathonite-3-2-9-is-released-with-object-map-sharing-support/#comments</comments>
		<pubDate>Fri, 28 Dec 2012 11:32:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Marathon Blog]]></category>

		<guid isPermaLink="false">http://marathontesting.com/?p=3276</guid>
		<description><![CDATA[<p>We, at Jalian Systems, released a new version of MarathonITE (and Marathon) today. With this release, you can use MarathonITE in a team more comfortably by sharing the object map.
For using a shared object map, follow these steps.

Running omapserver (object map server)
    Create a Marathon project using enhanced objectmap lookup strategy (or use an existing project).
    In the project folder execute marathonite as follows:
    marathonite -omapserver 20101
    The 20101 is a port number, ...</p><p>The post <a href="http://marathontesting.com/marathonite-3-2-9-is-released-with-object-map-sharing-support/">Marathon<i>ITE</i> 3.2.9 is released with object map sharing support</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>We, at Jalian Systems, released a new version of Marathon<i>ITE</i> (and Marathon) today. With this release, you can use Marathon<i>ITE</i> in a team more comfortably by sharing the object map.</p>
<p>For using a shared object map, follow these steps.</p>
<ol>
<li>Running omapserver (object map server)<br />
    Create a Marathon project using enhanced objectmap lookup strategy (or use an existing project).<br />
    In the project folder execute marathonite as follows:</p>
<p>    marathonite -omapserver 20101</p>
<p>    The 20101 is a port number, you can give any other port number for the server.</li>
<li>MarathonITE client
<p>   Create a Marathon project and use remote objectmap as lookup strategy.<br />
   Give the IP address/hostname and the port number in the fields.</li>
<p>From now onwards, Marathon<i>ITE</i> uses the object map from the server. You can edit the shared object map from the server and the changes will be available to all the Marathon<i>ITE</i> instances using this server.</p>
<p>The post <a href="http://marathontesting.com/marathonite-3-2-9-is-released-with-object-map-sharing-support/">Marathon<i>ITE</i> 3.2.9 is released with object map sharing support</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://marathontesting.com/marathonite-3-2-9-is-released-with-object-map-sharing-support/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Step by Step: Using ObjectMap (enhanced) with test devlopment mode</title>
		<link>http://marathontesting.com/step-by-step-using-objectmap-enhanced-with-test-devlopment-mode/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=step-by-step-using-objectmap-enhanced-with-test-devlopment-mode</link>
		<comments>http://marathontesting.com/step-by-step-using-objectmap-enhanced-with-test-devlopment-mode/#comments</comments>
		<pubDate>Thu, 13 Dec 2012 11:41:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://marathontesting.com/?p=3269</guid>
		<description><![CDATA[<p><div style="margin:0;padding:0;border-bottom: 1px dotted grey;"><span style="color:#F97C00;font-size:120%;"><b>&#187;</b></span>&#160;<i>marathonite only</i></div>Marathon<i>ITE</i>, from version 3.2.8, adds support <i>Object Map (enhanced)</i> object lookup strategy as a replacement for the default object map strategy. Coupled with <i>Test Development Mode</i>, this object lookup strategy simplifies the process of creating stable and resilient objectmaps.
</p><p>The post <a href="http://marathontesting.com/step-by-step-using-objectmap-enhanced-with-test-devlopment-mode/">Step by Step: Using ObjectMap (enhanced) with test devlopment mode</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></description>
			<content:encoded><![CDATA[<div style="margin:0;padding:0;border-bottom: 1px dotted grey;"><span style="color:#F97C00;font-size:120%;"><b>&raquo;</b></span>&nbsp;<i>marathonite only</i></div>
<p>Using Marathon<i>ITE</i> you can choose a object lookup strategy that suits your project needs. If you decide to use Object Map as your lookup strategy, select &#8216;<i>Use Object Map (enhanced)</i>&#8216; instead of the standard &#8216;<i>Use Object Map</i>&#8216;.</p>
<p>The enhanced object map strategy can be used in two modes. When developing tests, use &#8216;Test Development Mode&#8217;. In this mode, whenever Marathon<i>ITE</i> is unable to choose a component due to conflict in the recognition properties it uses a fallback mechanism to choose a closest match. Marathon<i>ITE</i> also provides feedback as to why the recognition failed &#8211; using which you can update the object map.</p>
<p>When you want to run the tests in production environment, disable the &#8216;Test Development Mode&#8217;. Marathon<i>ITE</i> uses strict matching for the component recognition.</p>
<h4>Steps</h4>
<p><a href='#start-marathonite'>Step One: <b>Start Marathon<i>ITE</i>.</b></a><br/><a href='#configure-project-tab'>Step Two: <b>Configure <i>Project</i> tab.</b></a><br/><a href='#select-test-development-mode'>Step Three: <b>Select Test Development Mode.</b></a><br/><a href='#configure-application-tab'>Step Four: <b>Configure <i>Application</i> tab.</b></a><br/><a href='#select-the-enhanced-object-map-lookup-strategy'>Step Five: <b>Select the Enhanced Object Map Lookup Strategy.</b></a><br/><a href='#select-a-scripting-language'>Step Six: <b>Select a Scripting Language.</b></a><br/><a href='#save-the-project-settings'>Step Seven: <b>Save the Project Settings.</b></a><br/><a href='#check-for-a-log-messages'>Step Eight: <b>Check for a Log Messages.</b></a><br/><a href='#check-for-the-description-and-suggestion'>Step Nine: <b>Check for the Description and Suggestion.</b></a><br/><a href='#select-the-object-map-editor'>Step Ten: <b>Select the Object Map Editor.</b></a><br/><a href='#modify-the-object-map-entry-for-the-component'>Step Eleven: <b>Modify the Object Map entry for the Component.</b></a><br/><a href='#create-a-new-fixtureif-needed'>Step Twelve: <b>Create a New Fixture(If needed).</b></a><br/><a href='#select-a-object-lookup-strategy'>Step Thirteen: <b>Select a object lookup strategy.</b></a><br/>
<div class="list_grid">
<ol>
<li><a name='start-marathonite'><br />
<h3>Step One: <span>Start Marathon<i>ITE</i>.</span></h3>
<p></a>Launch Marathon<i>ITE</i>. You can either use the batch file or executable to launch Marathon<i>ITE</i>.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/using_objectmap(enhanced)_with_test_devlopment_mode/1.png"  width="530px" alt="Start Marathon&lt;i&gt;ITE&lt;/i&gt;."  /></span></div>
<p>Marathon<i>ITE</i> displays <b>Select Directory</b> dialog. You can either select a project to work with from this dialog or create a new project. The <i>Project Directory</i> combo box displays the most recently used projects. If this is the first time you are launching Marathon<i>ITE</i>, the <i>Project Directory</i> combo box will be empty.
</li>
<p><br class='clear' /></p>
<li><a name='configure-project-tab'><br />
<h3>Step Two: <span>Configure <i>Project</i> tab.</span></h3>
<p></a>In the <b>Select Directory</b> dialog click on <i>New</i> button.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/using_objectmap(enhanced)_with_test_devlopment_mode/2.png"  width="530px" alt="Configure &lt;i&gt;Project&lt;/i&gt; tab."  /></span></div>
<p>Marathon<i>ITE</i> opens the <b>Configure</b> dialog. The project configuration dialog is split across multiple tabs. In this article, we will be using only the <b>Project</b>, <b>Application</b> and <b>Language</b> tabs. Check the user guide for using the other tabs.</p>
<p>When the <b>Configure</b> dialog is opened, the <b>Project</b> tab is selected. Give a name to your project in the <b>Name</b> field. Click on the <b>Browse</b> button and select a directory to create the project. If the given directory does not exist, Marathon<i>ITE</i> creates the directory when you save the project. </p>
<p>Optionally you can type some information as description of the project in the <b>Description</b> text field.</p>
<p>Some java applications uses <i>Command</i> key on Mac OSX and <i>Control</i> key on other platforms. You can select <i>Use platform specific&#8230;</i> option to make Marathon<i>ITE</i> use a different command key while playing the tests. Note that the recording still records Command/Control keys. This option effects only playing the scripts.
</li>
<p><br class='clear' /></p>
<li><a name='select-test-development-mode'><br />
<h3>Step Three: <span>Select Test Development Mode.</span></h3>
<p></a>Under <b>Project</b> tab click on the <i>Use test development mode</i> check box.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/using_objectmap(enhanced)_with_test_devlopment_mode/3.png"  width="530px" alt="Select Test Development Mode."  /></span></div>
<p>When <i>Enhanced Object Map Strategy</i> is used with the test development mode it provides a fallback mechanisms to handle the Marathon<i>ITE</i> object recognition in a unique way. Otherwise Marathon<i>ITE</i> through an Exception when component recognition properties are matched.</p>
</li>
<p><br class='clear' /></p>
<li><a name='configure-application-tab'><br />
<h3>Step Four: <span>Configure <i>Application</i> tab.</span></h3>
<p></a>Click on the <b>Application</b> tab and select any <i>Application Launcher</i>  from <i>Launcher</i> drop down.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/using_objectmap(enhanced)_with_test_devlopment_mode/4.png"  width="530px" alt="Configure &lt;i&gt;Application&lt;/i&gt; tab."  /></span></div>
<p>Marathon<i>ITE</i> provides more ways to launch Java applications. Select Application Launcher as per your application is bundled – either an executable, applet or webstart etc.</p>
<p>With <i>Command Line Launcher</i>, Click on the <b>Browse&#8230;</b> button to select the batch script of your application. You can select a working directory by clicking <b>Browse&#8230;</b> button attached to the working directory field.</p>
<p>The <i>Command Line</i> field should contain the full path to the batch/executable file and any parameters that need to be passed to it while launching from a shell prompt.
</li>
<p><br class='clear' /></p>
<li><a name='select-the-enhanced-object-map-lookup-strategy'><br />
<h3>Step Five: <span>Select the Enhanced Object Map Lookup Strategy.</span></h3>
<p></a>Click on the <b>Object Lookup</b> tab. Select the <i>Use ObjectMap (enhanced)</i> from <b>Object lookup strategy</b> ComboBox.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/using_objectmap(enhanced)_with_test_devlopment_mode/5.png"  width="530px" alt="Select the Enhanced Object Map Lookup Strategy."  /></span></div>
<p>The enhanced object map strategy includes fallback mechanisms when a component could not be found in the object map. When this option is selected, MarathonITE uses intelligent match algorithms to find a closest match for a component. The fallback mechanisms are used only in the test development mode.
</li>
<p><br class='clear' /></p>
<li><a name='select-a-scripting-language'><br />
<h3>Step Six: <span>Select a Scripting Language.</span></h3>
<p></a>Click on the <b>Language</b> tab. Select the <i>Script</i> drop down list to choose a language that is to be used for recording test scripts.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/using_objectmap(enhanced)_with_test_devlopment_mode/6.png"  width="530px" alt="Select a Scripting Language."  /></span></div>
<p>For each scripting language supported by Marathon<i>ITE</i> you will see an entry in the &#8216;Script&#8217; combo box. Marathon<i>ITE</i> extends the standard script models to provide additional functions. If you are using Marathon<i>ITE</i> select an entry that ends with for Marathon<i>ITE</i>.
</li>
<p><br class='clear' /></p>
<li><a name='save-the-project-settings'><br />
<h3>Step Seven: <span>Save the Project Settings.</span></h3>
<p></a>Click on <b>Save</b> button to save the project. The newly created project is selected in the <b>Project Directory</b> combo box. Click on <b>Select</b> button to open the Marathon<i>ITE</i> Main window.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/using_objectmap(enhanced)_with_test_devlopment_mode/7.png"  width="530px" alt="Save the Project Settings."  /></span></div>
<p>By selecting &#8216;<i>default.rb</i>&#8216; a script file we can see that a selected Object lookup strategy is <i>ObjectMap (enhanced)</i> lookup strategy.
</li>
<p><br class='clear' /></p>
<li><a name='check-for-a-log-messages'><br />
<h3>Step Eight: <span>Check for a Log Messages.</span></h3>
<p></a>Start recording the Test case by selecting <i>Start recording button</i> from the task bar. Once the recording is done click on the <b>Record &#038; Playback Log</b> tab in the bottom pane.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/using_objectmap(enhanced)_with_test_devlopment_mode/8.png"  width="530px" alt="Check for a Log Messages."  /></span></div>
<p><b>Record &#038; Playback Log</b> tab shows the warnings occurred due to matched recognition properties of a components or no components matched during Recording &#038; Playing the Test case.
</li>
<p><br class='clear' /></p>
<li><a name='check-for-the-description-and-suggestion'><br />
<h3>Step Nine: <span>Check for the Description and Suggestion.</span></h3>
<p></a>Select the message in the <b>Record &#038; Playback Log</b> tab. Click on the <i>Show message</i> icon to see the description even <i>Double clicking</i> on a row displays the complete message in a window.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/using_objectmap(enhanced)_with_test_devlopment_mode/9.png"  width="530px" alt="Check for the Description and Suggestion."  /></span></div>
<p>The problem is there are two components that are equally good and Marathon<i>ITE</i> is unable to identify one. Marathon<i>ITE</i> searches for a closest match and update the object map, to make a unique recognition.</p>
</li>
<p><br class='clear' /></p>
<li><a name='select-the-object-map-editor'><br />
<h3>Step Ten: <span>Select the Object Map Editor.</span></h3>
<p></a>Click on the <i>Modify the recognition properties for objects</i> on the toolbar or select «Object Map» → «Edit Object Map» from the menu or press <i>Control+Shift+O</i> to open Object Map Editor.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/using_objectmap(enhanced)_with_test_devlopment_mode/10.png"  width="530px" alt="Select the Object Map Editor."  /></span></div>
<p>you can see the Object Map updated with a closest match.
</li>
<p><br class='clear' /></p>
<li><a name='modify-the-object-map-entry-for-the-component'><br />
<h3>Step Eleven: <span>Modify the Object Map entry for the Component.</span></h3>
<p></a>Click on the desired component in the left pane to edit its properties. Select the matched recognition property in the top part of the right pane and click on the <i>Remove</i> button.</p>
<p>Once the matched recognition property is removed click on <i>Add</i> button to add a closest Recognition Property to the selected component.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/using_objectmap(enhanced)_with_test_devlopment_mode/11.png"  width="530px" alt="Modify the Object Map entry for the Component."  /></span></div>
<p>Finally click on the <i>Ok</i> button.</p>
<p>You need to provide some unique recognition properties for the components for Marathon<i>ITE</i> to work properly.
</li>
<p><br class='clear' /></p>
<li><a name='create-a-new-fixtureif-needed'><br />
<h3>Step Twelve: <span>Create a New Fixture(If needed).</span></h3>
<p></a>Object lookup strategies are related to a Fixture so even though with the default Fixture <i>default.rb</i> with <i>ObjectMapNamingStrategy</i> Marathon<i>ITE</i> allows you to create a multiple Fixtures with different Object lookup strategies.</p>
<p>Select «File» → «New» → «New Fixture»  from the menu bar.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/using_objectmap(enhanced)_with_test_devlopment_mode/12.png"  width="530px" alt="Create a New Fixture(If needed)."  /></span></div>
<p>Marathon<i>ITE</i> opens the Create New Fixture dialog.</p>
<p>Give a name to your Fixture in the Name field.</p>
<p>Optionally you can type some information as description about the Fixture in the Description text field.
</li>
<p><br class='clear' /></p>
<li><a name='select-a-object-lookup-strategy'><br />
<h3>Step Thirteen: <span>Select a object lookup strategy.</span></h3>
<p></a>Click on the Object <b>Lookup tab</b>. Select the Lookup strategy from <i>Object lookup strategy</i> ComboBox.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/using_objectmap(enhanced)_with_test_devlopment_mode/13.png"  width="530px" alt="Select a object lookup strategy."  /></span></div>
<p>Click on the <b>OK</b> button. Marathon<i>ITE</i> creates a new Fixture and opens it in the editor. The Fixture with a newly selected Object lookup strategy is saved under <i>Fixture</i> folder under project directory.
</li>
<p><br class='clear' />
</ol>
</div>
<p>The post <a href="http://marathontesting.com/step-by-step-using-objectmap-enhanced-with-test-devlopment-mode/">Step by Step: Using ObjectMap (enhanced) with test devlopment mode</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://marathontesting.com/step-by-step-using-objectmap-enhanced-with-test-devlopment-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Step by Step: Selecting Object Lookup Strategies</title>
		<link>http://marathontesting.com/step-by-step-selecting-object-lookup-strategies/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=step-by-step-selecting-object-lookup-strategies</link>
		<comments>http://marathontesting.com/step-by-step-selecting-object-lookup-strategies/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 09:04:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://marathontesting.com/?p=3154</guid>
		<description><![CDATA[<p><div style="margin:0;padding:0;border-bottom: 1px dotted grey;"><span style="color:#F97C00;font-size:120%;"><b>&#187;</b></span>&#160;<i>marathonite only</i></div>Marathon<i>ITE</i> supports pluggable Object lookup strategies. Depending on your need, you can select the appropriate strategy that is suitable for your project.
</p><p>The post <a href="http://marathontesting.com/step-by-step-selecting-object-lookup-strategies/">Step by Step: Selecting Object Lookup Strategies</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></description>
			<content:encoded><![CDATA[<div style="margin:0;padding:0;border-bottom: 1px dotted grey;"><span style="color:#F97C00;font-size:120%;"><b>&raquo;</b></span>&nbsp;<i>marathonite only</i></div>
<p> Marathon<i>ITE</i> provides multiple mechanisms of object recognition. Marathon<i>ITE</i> object naming and recognition is handled by a pluggable interface. MarathonITE ships with two strategies <b>Use Object Map</b> and <b>Create names using properties</b>. Later versions of Marathon<i>ITE</i> shall support other strategies as well.</p>
<h4>Steps</h4>
<p><a href='#start-marathonite'>Step One: <b>Start Marathon<i>ITE</i>.</b></a><br/><a href='#configure-project-tab'>Step Two: <b>Configure <i>Project</i> tab.</b></a><br/><a href='#configure-application-tab'>Step Three: <b>Configure <i>Application</i> tab.</b></a><br/><a href='#select-a-object-lookup-strategy'>Step Four: <b>Select a object lookup strategy.</b></a><br/><a href='#select-a-scripting-language'>Step Five: <b>Select a Scripting Language.</b></a><br/><a href='#save-the-project-settings'>Step Six: <b>Save the Project Settings.</b></a><br/><a href='#create-a-new-fixtureif-needed'>Step Seven: <b>Create a New Fixture(If needed).</b></a><br/><a href='#select-a-object-lookup-strategy'>Step Eight: <b>Select a object lookup strategy.</b></a><br/>
<div class="list_grid">
<ol>
<li><a name='start-marathonite'><br />
<h3>Step One: <span>Start Marathon<i>ITE</i>.</span></h3>
<p></a>Launch Marathon<i>ITE</i>. You can either use the batch file or executable to launch Marathon<i>ITE</i>.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/selecting_object_lookup_strategies/1.png"  width="530px" alt="Start Marathon&lt;i&gt;ITE&lt;/i&gt;."  /></span></div>
<p>Marathon<i>ITE</i> displays <b>Select Directory</b> dialog. You can either select a project to work with from this dialog or create a new project. The <i>Project Directory</i> combo box displays the most recently used projects. If this is the first time you are launching Marathon<i>ITE</i>, the <i>Project Directory</i> combo box will be empty.
</li>
<p><br class='clear' /></p>
<li><a name='configure-project-tab'><br />
<h3>Step Two: <span>Configure <i>Project</i> tab.</span></h3>
<p></a>In the <b>Select Directory</b> dialog click on <i>New</i> button.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/selecting_object_lookup_strategies/2.png"  width="530px" alt="Configure &lt;i&gt;Project&lt;/i&gt; tab."  /></span></div>
<p>Marathon<i>ITE</i> opens the <b>Configure</b> dialog. The project configuration dialog is split across multiple tabs. In this article, we will be using only the <b>Project</b>, <b>Application</b> and <b>Language</b> tabs. Check the user guide for using the other tabs.</p>
<p>When the <b>Configure</b> dialog is opened, the <b>Project</b> tab is selected. Give a name to your project in the <b>Name</b> field. Click on the <b>Browse</b> button and select a directory to create the project. If the given directory does not exist, Marathon<i>ITE</i> creates the directory when you save the project. </p>
<p>Optionally you can type some information as description of the project in the <b>Description</b> text field.</p>
<p>Some java applications uses <i>Command</i> key on Mac OSX and <i>Control</i> key on other platforms. You can select <i>Use platform specific&#8230;</i> option to make Marathon<i>ITE</i> use a different command key while playing the tests. Note that the recording still records Command/Control keys. This option effects only playing the scripts.
</li>
<p><br class='clear' /></p>
<li><a name='configure-application-tab'><br />
<h3>Step Three: <span>Configure <i>Application</i> tab.</span></h3>
<p></a>Click on the <b>Application</b> tab and select any <i>Application Launcher</i>  from <i>Launcher</i> drop down.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/selecting_object_lookup_strategies/3.png"  width="530px" alt="Configure &lt;i&gt;Application&lt;/i&gt; tab."  /></span></div>
<p>Marathon<i>ITE</i> provides more ways to launch Java applications. Select Application Launcher as per your application is bundled – either an executable, applet or webstart etc.</p>
<p>With <i>Command Line Launcher</i>, Click on the <b>Browse&#8230;</b> button to select the batch script of your application. You can select a working directory by clicking <b>Browse&#8230;</b> button attached to the working directory field.</p>
<p>The <i>Command Line</i> field should contain the full path to the batch/executable file and any parameters that need to be passed to it while launching from a shell prompt.
</li>
<p><br class='clear' /></p>
<li><a name='select-a-object-lookup-strategy'><br />
<h3>Step Four: <span>Select a object lookup strategy.</span></h3>
<p></a>Click on the <b>Object Lookup</b> tab. Select the <i>Lookup strategy</i> from <b>Object lookup strategy</b> ComboBox.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/selecting_object_lookup_strategies/4.png"  width="530px" alt="Select a object lookup strategy."  /></span></div>
<p><i>Create Names using Object Properties</i> uses unique properties of each object to identify the component and to name it. This strategy is useful when source code can be modified to set unique properties to components using <code>Component#setName</code> or <i>labeledBy</i> properties.</p>
<p><i>Using Object Map</i> provides more flexibility to change the name of a component or its recognition properties.
</li>
<p><br class='clear' /></p>
<li><a name='select-a-scripting-language'><br />
<h3>Step Five: <span>Select a Scripting Language.</span></h3>
<p></a>Click on the <b>Language</b> tab. Select the <i>Script</i> drop down list to choose a language that is to be used for recording test scripts.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/selecting_object_lookup_strategies/5.png"  width="530px" alt="Select a Scripting Language."  /></span></div>
<p>For each scripting language supported by Marathon<i>ITE</i> you will see an entry in the &#8216;Script&#8217; combo box. Marathon<i>ITE</i> extends the standard script models to provide additional functions. If you are using Marathon<i>ITE</i> select an entry that ends with for Marathon<i>ITE</i>.
</li>
<p><br class='clear' /></p>
<li><a name='save-the-project-settings'><br />
<h3>Step Six: <span>Save the Project Settings.</span></h3>
<p></a>Click on <b>Save</b> button to save the project. The newly created project is selected in the <b>Project Directory</b> combo box. Click on <b>Select</b> button to open the Marathon<i>ITE</i> Main window.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/selecting_object_lookup_strategies/6.png"  width="530px" alt="Save the Project Settings."  /></span></div>
<p>By selecting &#8216;<i>default.rb</i>&#8216; a script file we can see that a selected Object lookup strategy is <i>ObjectMapNamingStrategy</i>.
</li>
<p><br class='clear' /></p>
<li><a name='create-a-new-fixtureif-needed'><br />
<h3>Step Seven: <span>Create a New Fixture(If needed).</span></h3>
<p></a>Object lookup strategies are related to a Fixture so even though with the default Fixture <i>default.rb</i> with <i>ObjectMapNamingStrategy</i> Marathon<i>ITE</i> allows you to create a multiple Fixtures with different Object lookup strategies.</p>
<p>Select «File» → «New» → «New Fixture»  from the menu bar.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/selecting_object_lookup_strategies/7.png"  width="530px" alt="Create a New Fixture(If needed)."  /></span></div>
<p>Marathon<i>ITE</i> opens the Create New Fixture dialog.</p>
<p>Give a name to your Fixture in the Name field.</p>
<p>Optionally you can type some information as description about the Fixture in the Description text field.
</li>
<p><br class='clear' /></p>
<li><a name='select-a-object-lookup-strategy'><br />
<h3>Step Eight: <span>Select a object lookup strategy.</span></h3>
<p></a>Click on the Object <b>Lookup tab</b>. Select the Lookup strategy from <i>Object lookup strategy</i> ComboBox.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/selecting_object_lookup_strategies/8.png"  width="530px" alt="Select a object lookup strategy."  /></span></div>
<p>Click on the <b>OK</b> button. Marathon<i>ITE</i> creates a new Fixture and opens it in the editor. The Fixture with a newly selected Object lookup strategy is saved under <i>Fixture</i> folder under project directory.
</li>
<p><br class='clear' />
</ol>
</div>
<p>The post <a href="http://marathontesting.com/step-by-step-selecting-object-lookup-strategies/">Step by Step: Selecting Object Lookup Strategies</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://marathontesting.com/step-by-step-selecting-object-lookup-strategies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Step by Step: Creating a Project with Web Start Offline Launcher</title>
		<link>http://marathontesting.com/step-by-step-creating-a-project-with-web-start-offline-launcher/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=step-by-step-creating-a-project-with-web-start-offline-launcher</link>
		<comments>http://marathontesting.com/step-by-step-creating-a-project-with-web-start-offline-launcher/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 05:54:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://marathontesting.com/?p=3151</guid>
		<description><![CDATA[<p><div style="margin:0;padding:0;border-bottom: 1px dotted grey;"><span style="color:#F97C00;font-size:120%;"><b>&#187;</b></span>&#160;<i>marathonite only</i></div>Marathon<i>ITE</i> Webstart Offline Launcher speeds up launching of webstart applications by downloading the required JAR files from the remote server to the local machine.
</p><p>The post <a href="http://marathontesting.com/step-by-step-creating-a-project-with-web-start-offline-launcher/">Step by Step: Creating a Project with Web Start Offline Launcher</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></description>
			<content:encoded><![CDATA[<div style="margin: 0; padding: 0; border-bottom: 1px dotted grey;"><span style="color: #f97c00; font-size: 120%;"><strong>»</strong></span> <em>marathonite only</em></div>
<p>Java Web Start is a mechanism for program delivery through a standard Web server. You start a webstart enabled Java application by using a JNLP file – a XML file that contains information needed to start the application. Due to the network traffic involved, launching a webstart application consumes time which might not be suitable for running tests. Marathon<i>ITE</i> includes a offline launcher for webstart applications. When used, Marathon<em>ITE</em> downloads all the jar files supporting your application into a cache folder. During testing of your application, Marathon<em>ITE</em> will use these downloaded jar files instead of connecting to the remote server.</p>
<p>Here are the steps to follow for creating a Marathon<em>ITE</em> project using the Webstart Offline launcher.</p>
<h4>Steps</h4>
<p><a href='#start-marathonite'>Step One: <b>Start Marathon<em>ITE</em>.</b></a><br/><a href='#configure-project-tab'>Step Two: <b>Configure <em>Project</em> tab.</b></a><br/><a href='#configure-application-tab'>Step Three: <b>Configure <em>Application</em> tab.</b></a><br/><a href='#select-a-object-lookup-strategy'>Step Four: <b>Select a object lookup strategy.</b></a><br/><a href='#select-a-scripting-language'>Step Five: <b>Select a Scripting Language.</b></a><br/><a href='#save-the-project-settings'>Step Six: <b>Save the Project Settings.</b></a><br/>
<div class="list_grid">
<ol>
<li><a name='start-marathonite'><br />
<h3>Step One: <span>Start Marathon<em>ITE</em>.</span></h3>
<p></a>Launch Marathon<em>ITE</em>. You can either use the batch file or executable to launch Marathon<em>ITE</em>.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/webstartoffline-launcher/1.png"  width="530px" alt="Start Marathon&lt;em&gt;ITE&lt;/em&gt;."  /></span></div>
<p>Marathon<em>ITE</em> displays <strong>Select Directory</strong> dialog. You can either select a project to work with from this dialog or create a new project. The <em>Project Directory</em> combo box displays the most recently used projects. If this is the first time you are launching Marathon<em>ITE</em>, the <em>Project Directory</em> combo box will be empty.
</li>
<p><br class='clear' /></p>
<li><a name='configure-project-tab'><br />
<h3>Step Two: <span>Configure <em>Project</em> tab.</span></h3>
<p></a>In the <strong>Select Directory</strong> dialog click on <em>New</em> button.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/webstartoffline-launcher/2.png"  width="530px" alt="Configure &lt;em&gt;Project&lt;/em&gt; tab."  /></span></div>
<p>Marathon<em>ITE</em> opens the <strong>Configure</strong> dialog. The project configuration dialog is split across multiple tabs. In this article, we will be using only the <strong>Project</strong>, <strong>Application</strong> and <strong>Language</strong> tabs. Check the user guide for using the other tabs.</p>
<p>When the <strong>Configure</strong> dialog is opened, the <strong>Project</strong> tab is selected. Give a name to your project in the <strong>Name</strong> field. Click on the <strong>Browse</strong> button and select a directory to create the project. If the given directory does not exist, Marathon<em>ITE</em> creates the directory when you save the project.</p>
<p>Optionally you can type some information as description of the project in the <strong>Description</strong> text field.</p>
<p>Some java applications uses <em>Command</em> key on Mac OSX and <em>Control</em> key on other platforms. You can select <em>Use platform specific&#8230;</em> option to make Marathon<em>ITE</em> use a different command key while playing the tests. Note that the recording still records Command/Control keys. This option effects only playing the scripts.
</li>
<p><br class='clear' /></p>
<li><a name='configure-application-tab'><br />
<h3>Step Three: <span>Configure <em>Application</em> tab.</span></h3>
<p></a>Select the <strong>Application</strong> tab. Select the <em>Webstart Offline Launcher</em> drop down.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/webstartoffline-launcher/3.png"  width="530px" alt="Configure &lt;em&gt;Application&lt;/em&gt; tab."  /></span></div>
<p>Click on the <strong>Browse&#8230;</strong> button select the JNLP file of your application. You can also enter the URL into the text field.</p>
<p>Enter a directory name in the <strong>Cache:</strong> field to download the jar files. Marathon<em>ITE</em> creates this directory in your project directory and downloads all the jar files that supports your application when you start using it.</p>
<p>Optionally, if you click on the <strong>Reload</strong> button, Marathon<em>ITE</em> will automatically deletes the existing jar files and reloads the new jar files of your application into the directory each and every time you start the application.
</li>
<p><br class='clear' /></p>
<li><a name='select-a-object-lookup-strategy'><br />
<h3>Step Four: <span>Select a object lookup strategy.</span></h3>
<p></a>Click on the <strong>Object Lookup</strong> tab and select an option from the <em>Object Lookup Strategy:</em> drop down.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/webstartoffline-launcher/4.png"  width="530px" alt="Select a object lookup strategy."  /></span></div>
</li>
<p><br class='clear' /></p>
<li><a name='select-a-scripting-language'><br />
<h3>Step Five: <span>Select a Scripting Language.</span></h3>
<p></a>Click on the <strong>Language</strong> tab. Select the <em>Script</em> drop down list to choose a language that is to be used for recording test scripts.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/webstartoffline-launcher/5.png"  width="530px" alt="Select a Scripting Language."  /></span></div>
<p>For each scripting language supported by Marathon<em>ITE</em> you will see an entry in the &#8216;Script&#8217; combo box. Marathon<em>ITE</em> extends the standard script models to provide additional functions. If you are using Marathon<em>ITE</em> select an entry that ends with for Marathon<em>ITE</em>.
</li>
<p><br class='clear' /></p>
<li><a name='save-the-project-settings'><br />
<h3>Step Six: <span>Save the Project Settings.</span></h3>
<p></a>This launcher doesn&#8217;t support <strong>Test</strong> mode to launch your application like the remaining launchers.</p>
<p>So, click on <strong>Save</strong> button to save the project. The newly created project is selected in the <strong>Project Directory</strong> combo box. Click on <strong>Select</strong> button to open the Marathon<em>ITE</em> Main window.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/webstartoffline-launcher/6.png"  width="530px" alt="Save the Project Settings."  /></span></div>
<p>Your Marathon<em>ITE</em> project with Webstart Offline launcher  is created.
</li>
<p><br class='clear' />
</ol>
</div>
<p>The post <a href="http://marathontesting.com/step-by-step-creating-a-project-with-web-start-offline-launcher/">Step by Step: Creating a Project with Web Start Offline Launcher</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://marathontesting.com/step-by-step-creating-a-project-with-web-start-offline-launcher/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New features in MarathonITE 3.2.6</title>
		<link>http://marathontesting.com/new-features-in-marathonite-3-2-6/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-features-in-marathonite-3-2-6</link>
		<comments>http://marathontesting.com/new-features-in-marathonite-3-2-6/#comments</comments>
		<pubDate>Tue, 04 Dec 2012 10:22:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Marathon Blog]]></category>

		<guid isPermaLink="false">http://marathontesting.com/?p=3122</guid>
		<description><![CDATA[<p>We released Marathon<i>ITE</i> 3.2.6 today.The new version contains some bug fixes and couple of exciting features.</p><p>The post <a href="http://marathontesting.com/new-features-in-marathonite-3-2-6/">New features in Marathon<i>ITE</i> 3.2.6</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>We released Marathon<i>ITE</i> 3.2.6 today.The new version contains some bug fixes and couple of exciting features.</p>
<p>Marathon<i>ITE</i> now supports a offline launcher for WebStart applications. Some of you have complained that testing WebStart applications with Marathon<i>ITE</i> was slow. Since the WebStart launcher connects to the remote server, even when the server is on the LAN &#8211; this causes slowness. Besides this issue, the signing requirements of webstart applications make them tougher to launch with lot of alert dialogs popping over if the JARS are not signed.</p>
<p>The offline launcher downloads the JNLP and JAR files into a cache folder. This is similar to what javaws command does. The difference is that the offline launcher doesn&#8217;t check the remote server for updates each and every time. For that create another fixture with reload option enabled and run a testcase with it. We hope this will find good use in your testing projects.</p>
<p>Another feature of Marathon<i>ITE</i> is addition of &#8216;Create names using object properties&#8217; strategy to object lookup strategies. You can create a fixture by selecting this strategy. Using this strategy is helpful in cases where you have access to the source code and setup object properties like name/labeled by etc. Besides that you may find this strategy useful when you are performing exploratory testing, since you need not send objectmap files along with the test scripts for reproducing the scenarios.</p>
<p>Hope you like the new version. We are working on a lookup strategy that allows you to share object maps among multiple testers. That is for the next release.</p>
<p>The post <a href="http://marathontesting.com/new-features-in-marathonite-3-2-6/">New features in Marathon<i>ITE</i> 3.2.6</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://marathontesting.com/new-features-in-marathonite-3-2-6/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Step by Step: Playing Scripts Using Test Runner</title>
		<link>http://marathontesting.com/step-by-step-playing-scripts-using-test-runner/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=step-by-step-playing-scripts-using-test-runner</link>
		<comments>http://marathontesting.com/step-by-step-playing-scripts-using-test-runner/#comments</comments>
		<pubDate>Wed, 31 Oct 2012 06:12:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://marathontesting.com/?p=2879</guid>
		<description><![CDATA[<p><div style="margin:0;padding:0;border-bottom: 1px dotted grey;"><span style="color:#F97C00;font-size:120%;"><b>&#187;</b></span>&#160;<i>marathonite, marathon</i></div>You can use <b>Test Runner View</b> to run multiple test scripts while using Marathon. The view is placed next to the <b>Navigator</b> view.</p><p>The post <a href="http://marathontesting.com/step-by-step-playing-scripts-using-test-runner/">Step by Step: Playing Scripts Using Test Runner</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></description>
			<content:encoded><![CDATA[<div style="margin:0;padding:0;border-bottom: 1px dotted grey;"><span style="color:#F97C00;font-size:120%;"><b>&raquo;</b></span>&nbsp;<i>marathonite, marathon</i></div>
<p>Marathon’s <b>Test Runner View</b> provides a convenient way of executing tests. You can use this view to run all the tests or a selected set of tests. Due to historical reasons (and to show the origin of inspiration), the view is labeled <b>JUnit</b>.</p>
<p>Follow the steps given below to use the <b>Test Runner View</b>.</p>
<h4>Steps</h4>
<p><a href='#open-the-test-runner-view'>Step One: <b>Open the Test Runner View.</b></a><br/><a href='#play-all-the-test-cases'>Step Two: <b> Play all the Test Cases.</b></a><br/><a href='#check-the-report'>Step Three: <b>Check the Report.</b></a><br/><a href='#play-selected-test-cases'>Step Four: <b> Play Selected Test Cases.</b></a><br/>
<div class="list_grid">
<ol>
<li><a name='open-the-test-runner-view'><br />
<h3>Step One: <span>Open the Test Runner View.</span></h3>
<p></a>From the tabs displayed in the left pane of the Main window, select the JUnit tab.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/playing-scripts-using-testrunner/1.png"  width="530px" alt="Open the Test Runner View."  /></span></div>
<p><b>Test Runner View</b> is displayed. The <b>Test Hierarchy</b> tab displays all the tests in a tree structure. Each sub directory of the Test Cases folder is presented as a test suite. The data driven tests are also displayed as a suite and a test for each record of the data file.</p>
<p>Marathon only displays the saved scripts. None of the unsaved buffers in the editors will be displayed in the Test Runner view.
</li>
<p><br class='clear' /></p>
<li><a name='play-all-the-test-cases'><br />
<h3>Step Two: <span> Play all the Test Cases.</span></h3>
<p></a>In the <b>Test Runner View</b> click on the <i>Run all tests</i> button.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/playing-scripts-using-testrunner/2.png"  width="530px" alt=" Play all the Test Cases."  /></span></div>
<p>Marathon executes all the test scripts. The progress is shown as a progress bar in the <b>Test Runner View</b>. The progress bar turns red if <b>any</b> of the test scripts fails. Below the progress bar Marathon displays the statistics &#8211; number of tests, errors and failures.
</li>
<p><br class='clear' /></p>
<li><a name='check-the-report'><br />
<h3>Step Three: <span>Check the Report.</span></h3>
<p></a>Select the <b>Failures</b> tab to display the failed tests.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/playing-scripts-using-testrunner/3.png"  width="530px" alt="Check the Report."  /></span></div>
<p>From this view, you can see the stack trace for the failed tests. Select a test in the view to display the trace for the failed test. Marathon distinguishes between errors and failures. Errors are similar to exceptions where the test script stops execution. The failures are, in general, the failed assertions. When the tests are run in batch mode, the first failure/error stops the test script.</p>
<p>You can use <i>Next Failure</i> and <i>Previous Failure</i> buttons to navigate through the failed tests. Double clicking a test script, opens the corresponding test in the editor. Use the <i>Test Report</i> button to display the HTML report for the current run in your browser.
</li>
<p><br class='clear' /></p>
<li><a name='play-selected-test-cases'><br />
<h3>Step Four: <span> Play Selected Test Cases.</span></h3>
<p></a>From the <b>Test Runner View</b> you can also execute partial set of tests. Select the tests from the <b>Test Hierarchy</b> tree and click on <i>Play Selected Test</i> button.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/playing-scripts-using-testrunner/4.png"  width="530px" alt=" Play Selected Test Cases."  /></span></div>
<p>Marathon creates a temporary suite of the selected tests and executes them.
</li>
<p><br class='clear' /></p>
</ol>
</div>
<p>The post <a href="http://marathontesting.com/step-by-step-playing-scripts-using-test-runner/">Step by Step: Playing Scripts Using Test Runner</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://marathontesting.com/step-by-step-playing-scripts-using-test-runner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Step by Step: Playing the Test Script</title>
		<link>http://marathontesting.com/step-by-step-playing-the-test-case-with-delay/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=step-by-step-playing-the-test-case-with-delay</link>
		<comments>http://marathontesting.com/step-by-step-playing-the-test-case-with-delay/#comments</comments>
		<pubDate>Fri, 26 Oct 2012 06:36:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://marathontesting.com/?p=2953</guid>
		<description><![CDATA[<p><div style="margin:0;padding:0;border-bottom: 1px dotted grey;"><span style="color:#F97C00;font-size:120%;"><b>&#187;</b></span>&#160;<i>marathonite, marathon</i></div>Marathon and Marathon<i>ITE</i> provides multiple ways to run the test scripts. The easiest way is to run a test from the editor itself.
</p><p>The post <a href="http://marathontesting.com/step-by-step-playing-the-test-case-with-delay/">Step by Step: Playing the Test Script</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></description>
			<content:encoded><![CDATA[<div style="margin:0;padding:0;border-bottom: 1px dotted grey;"><span style="color:#F97C00;font-size:120%;"><b>&raquo;</b></span>&nbsp;<i>marathonite, marathon</i></div>
<p>Marathon and Marathon<i>ITE</i> provides multiple ways to run the test scripts. The easiest way is to run a test from the editor itself.</p>
<p>Follow the steps given below to run a test script from the editor.</p>
<h4>Steps</h4>
<p><a href='#choose-report-generation-option'>Step One: <b>Choose Report Generation Option.</b></a><br/><a href='#play-the-test-script'>Step Two: <b>Play the Test Script.</b></a><br/><a href='#check-the-results'>Step Three: <b>Check the Results.</b></a><br/><a href='#check-the-script-output'>Step Four: <b>Check the Script Output.</b></a><br/>
<div class="list_grid">
<ol>
<li><a name='choose-report-generation-option'><br />
<h3>Step One: <span>Choose Report Generation Option.</span></h3>
<p></a>Select a test script from the <b>Navigator</b> window by double clicking it. Use &laquo;Marathon&raquo; &#8594; &laquo;Generate Reports&raquo; menu option to enable or disable the generation of reports.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/playing-the-test-script/1.png"  width="530px" alt="Choose Report Generation Option."  /></span></div>
<p>When reports are enabled, Marathon store all reports under <b>Test Reports</b> folder. Each run of Test Script creates a new report in this folder. Click on the <i>Show report for last test run</i> button to open the report in the browser.
</li>
<p><br class='clear' /></p>
<li><a name='play-the-test-script'><br />
<h3>Step Two: <span>Play the Test Script.</span></h3>
<p></a>Click on <i>Play the testcase</i> button from the toolbar or select &laquo;Marathon&raquo; &#8594; &laquo;Play&raquo; from the menu bar or press &#8216;Ctrl+P&#8217; from the keyboard. You can also choose to play a test case with a delay between actions by choosing <i>Play the test case with a delay</i> button or &laquo;Marathon&raquo; &#8594; &laquo;Slow Play&raquo; menu options or Ctrl+Shift+P.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/playing-the-test-script/2.png"  width="530px" alt="Play the Test Script."  /></span></div>
<p>Marathon launches the AUT using the fixture defined in the test and runs the test. You can observe that the highlighted line moves while the test is running.
</li>
<p><br class='clear' /></p>
<li><a name='check-the-results'><br />
<h3>Step Three: <span>Check the Results.</span></h3>
<p></a>Select the <b>Results</b> tab in the bottom pane to show the errors and failures occurred when a test script is run from the editor.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/playing-the-test-script/3.png"  width="530px" alt="Check the Results."  /></span></div>
<p><b>Results</b> tab contains a table that shows the errors and failures occurred when a test script is run from the editor. Each row shows the message, file name and line number of the error. Double clicking on a row opens the file and positions the cursor at the line where the error occurred.</p>
<p><b>Results</b> view toolbar provides couple of actions.</p>
<p><b>Show message</b>: displays the complete error message in a window.<br />
<b>Clear</b>: Clear the contents of the results view.
</li>
<p><br class='clear' /></p>
<li><a name='check-the-script-output'><br />
<h3>Step Four: <span>Check the Script Output.</span></h3>
<p></a>Select the <b>Output</b> to display the output from the script/AUT while the test is executed.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/playing-the-test-script/4.png"  width="530px" alt="Check the Script Output."  /></span></div>
<p>Different font styles and colors are used to distinguish the output from AUT and the script run-time.</p>
<p>The Output view toolbar provides couple of actions.</p>
<p><b>Clear</b>: Clear the contents of the output view.<br />
<b>Export</b>: Allows to save the output contents into a text file.</p>
</li>
<p><br class='clear' />
</ol>
</div>
<p>The post <a href="http://marathontesting.com/step-by-step-playing-the-test-case-with-delay/">Step by Step: Playing the Test Script</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://marathontesting.com/step-by-step-playing-the-test-case-with-delay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Step by Step: Recording a Test Script</title>
		<link>http://marathontesting.com/step-by-step-recording-a-test-script-marathon/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=step-by-step-recording-a-test-script-marathon</link>
		<comments>http://marathontesting.com/step-by-step-recording-a-test-script-marathon/#comments</comments>
		<pubDate>Mon, 22 Oct 2012 07:37:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://marathontesting.com/?p=2859</guid>
		<description><![CDATA[<p><div style="margin:0;padding:0;border-bottom: 1px dotted grey;"><span style="color:#F97C00;font-size:120%;"><b>&#187;</b></span>&#160;<i>marathonite,marathon</i></div> Marathon and Marathon<i>ITE</i> include a recorder that is used to record test scripts. Even when you want to manually create a script, it is best to start with a recorded script to ensure that all accessed components are available in the object map.</p><p>The post <a href="http://marathontesting.com/step-by-step-recording-a-test-script-marathon/">Step by Step: Recording a Test Script</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></description>
			<content:encoded><![CDATA[<div style="margin:0;padding:0;border-bottom: 1px dotted grey;"><span style="color:#F97C00;font-size:120%;"><b>&raquo;</b></span>&nbsp;<i>marathonite,marathon</i></div>
<p> Marathon and Marathon<i>ITE</i> include a recorder that is used to record test scripts. Even when you want to manually create a script, it is best to start with a recorded script to ensure that all accessed components are available in the object map.</p>
<p>Here are the steps to follow for recording a test script for both Marathon and Marathon<i>ITE</i>.</p>
<h4>Steps</h4>
<p><a href='#create-a-new-test-case'>Step One: <b>Create a New Test Case.</b></a><br/><a href='#start-recording-the-script'>Step Two: <b>Start Recording the Script.</b></a><br/><a href='#perform-actions-on-the-aut'>Step Three: <b>Perform Actions on the AUT.</b></a><br/><a href='#open-assertions-dialog'>Step Four: <b>Open Assertions Dialog.</b></a><br/><a href='#add-assertions'>Step Five: <b>Add Assertions.</b></a><br/><a href='#stop-recording'>Step Six: <b>Stop Recording.</b></a><br/>
<div class="list_grid">
<ol>
<li><a name='create-a-new-test-case'><br />
<h3>Step One: <span>Create a New Test Case.</span></h3>
<p></a>After launching Marathon, create a new test case by clicking <i>Create a new testcase</i> button from the toolbar or select &laquo;File&raquo; &#8594; &laquo;New&raquo; &#8594; &laquo;New Testcase&raquo; from menu bar. You can also press ‘Ctrl+N’ from the keyboard for creating a new test script.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/recording-test-script/1.png"  width="530px" alt="Create a New Test Case."  /></span></div>
<p>Marathon creates a new test script and opens it in a new tab in the editing area.
</li>
<p><br class='clear' /></p>
<li><a name='start-recording-the-script'><br />
<h3>Step Two: <span>Start Recording the Script.</span></h3>
<p></a>Click the <i>Start recording</i> button from the task bar or select &laquo;Marathon&raquo; &#8594; &laquo;Record&raquo; from the menu bar or press ‘Ctrl+R’ from the keyboard to start recording.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/recording-test-script/2.png"  width="530px" alt="Start Recording the Script."  /></span></div>
<p>Marathon main window is minimized and <b>Marathon Control Center</b> window is displayed. Your Application Under Test (AUT) is also launched using the current fixture.
</li>
<p><br class='clear' /></p>
<li><a name='perform-actions-on-the-aut'><br />
<h3>Step Three: <span>Perform Actions on the AUT.</span></h3>
<p></a>Perform some operations on the AUT.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/recording-test-script/3.png"  width="530px" alt="Perform Actions on the AUT."  /></span></div>
<p>Marathon records each operation as a script statement and the control center window displays last few recorded operations.</p>
<p>For most components, Marathon records the state of a component after the component loses focus. So a if you enter some text into a text field, Marathon records the <b>select</b> statement after you select another component. For tree, lists and tables Marathon records the last selected items only after you click outside the component.
</li>
<p><br class='clear' /></p>
<li><a name='open-assertions-dialog'><br />
<h3>Step Four: <span>Open Assertions Dialog.</span></h3>
<p></a> To insert assertions, &#8216;Ctrl+RightClick&#8217; from mouse, by keeping the pointer on the component of your choice in the AUT. You can also use Ctrl+F8 keystroke while the component has the focus to open the assertion dialog.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/recording-test-script/4.png"  width="530px" alt="Open Assertions Dialog."  /></span></div>
<p>Marathon opens the Assertions dialog with different tabs and the title of this window displays the name of the component. Marathon<i>ITE</i> also displays a <b>ObjectMap</b> tab through which you can change the name/recognition properties of a component. The selected component is shown with a different background/border on the AUT window.</p>
<p>While the <b>Assertions</b> dialog is open, you can select a different component on the active AUT window. The contents of the <b>Assertions</b> dialog are changed to reflect your selection.
</li>
<p><br class='clear' /></p>
<li><a name='add-assertions'><br />
<h3>Step Five: <span>Add Assertions.</span></h3>
<p></a>
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/recording-test-script/5.png"  width="530px" alt="Add Assertions."  /></span></div>
<p>Insert assertion by double clicking on a property or select a property and click on ‘Insert Assertion’ button. You can also insert a wait statement by selecting a property and clicking the ‘Insert Wait’ button. The wait statement is useful for making the Script to pause while some background processing is happening with the AUT.
</li>
<p><br class='clear' /></p>
<li><a name='stop-recording'><br />
<h3>Step Six: <span>Stop Recording.</span></h3>
<p></a>Once you complete recording, click on the <i>Stop recording</i> button from the control center window.
<div class="frame_center"><span class="_frame_center preload"><img src="/wp-content/images/stepbystep/recording-test-script/6.png"  width="530px" alt="Stop Recording."  /></span></div>
<p>Marathon stops the recording, main window is restored and the editor will contain the recorded script.
</li>
<p><br class='clear' />
</ol>
</div>
<p>The post <a href="http://marathontesting.com/step-by-step-recording-a-test-script-marathon/">Step by Step: Recording a Test Script</a> appeared first on <a href="http://marathontesting.com">GUI Test Automation for Java/Swing Applications With Marathon and MarathonITE</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://marathontesting.com/step-by-step-recording-a-test-script-marathon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
