<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Using the mozmill menu API</title>
	<atom:link href="http://www.mikealrogers.com/archives/262/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mikealrogers.com/archives/262</link>
	<description></description>
	<lastBuildDate>Sat, 13 Mar 2010 03:17:25 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: mikeal</title>
		<link>http://www.mikealrogers.com/archives/262/comment-page-1#comment-77</link>
		<dc:creator>mikeal</dc:creator>
		<pubDate>Wed, 03 Dec 2008 23:55:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikealrogers.com/?p=262#comment-77</guid>
		<description>This menu API is intended for functional test developers to have an easy way to simulate menu usage in their tests. Doing them by name is the simplest API for that use case. 

If the localization testers want a different API then we can write one specifically for that use case, but having the default API for functional test developers be by position or id requires them to know more about the menu definition internals than any of our functional testers know.

Not having an abstraction API like this one for your specific needs doesn&#039;t block you from testing the menu&#039;s the way you would like, you&#039;ll just need to pull out the elements on your own. You can look at the menu API code to get you on your feet;

http://code.google.com/p/mozmill/source/browse/trunk/mozmill/extension/resource/modules/controller.js#115
http://code.google.com/p/mozmill/source/browse/trunk/mozmill/extension/resource/modules/controller.js#141</description>
		<content:encoded><![CDATA[<p>This menu API is intended for functional test developers to have an easy way to simulate menu usage in their tests. Doing them by name is the simplest API for that use case. </p>
<p>If the localization testers want a different API then we can write one specifically for that use case, but having the default API for functional test developers be by position or id requires them to know more about the menu definition internals than any of our functional testers know.</p>
<p>Not having an abstraction API like this one for your specific needs doesn&#8217;t block you from testing the menu&#8217;s the way you would like, you&#8217;ll just need to pull out the elements on your own. You can look at the menu API code to get you on your feet;</p>
<p><a href="http://code.google.com/p/mozmill/source/browse/trunk/mozmill/extension/resource/modules/controller.js#115" rel="nofollow">http://code.google.com/p/mozmill/source/browse/trunk/mozmill/extension/resource/modules/controller.js#115</a><br />
<a href="http://code.google.com/p/mozmill/source/browse/trunk/mozmill/extension/resource/modules/controller.js#141" rel="nofollow">http://code.google.com/p/mozmill/source/browse/trunk/mozmill/extension/resource/modules/controller.js#141</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axel Hecht</title>
		<link>http://www.mikealrogers.com/archives/262/comment-page-1#comment-76</link>
		<dc:creator>Axel Hecht</dc:creator>
		<pubDate>Wed, 03 Dec 2008 15:07:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikealrogers.com/?p=262#comment-76</guid>
		<description>I&#039;d welcome APIs to either refer to menu items by position or by id, for the same reasons that Sebastian mentioned.

I have a testing extension that opens all menu items one by one, and being able to do that in a cross platform manner would be cool. But I&#039;d need to have it in a way that&#039;s independent of the localization used.

Same would go for testing localized extensions, something I&#039;m thinking about as well.</description>
		<content:encoded><![CDATA[<p>I&#8217;d welcome APIs to either refer to menu items by position or by id, for the same reasons that Sebastian mentioned.</p>
<p>I have a testing extension that opens all menu items one by one, and being able to do that in a cross platform manner would be cool. But I&#8217;d need to have it in a way that&#8217;s independent of the localization used.</p>
<p>Same would go for testing localized extensions, something I&#8217;m thinking about as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikeal</title>
		<link>http://www.mikealrogers.com/archives/262/comment-page-1#comment-74</link>
		<dc:creator>mikeal</dc:creator>
		<pubDate>Wed, 03 Dec 2008 10:47:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikealrogers.com/?p=262#comment-74</guid>
		<description>The menu is created by looking up elements by name, so in a localized Firefox the names should be localized.</description>
		<content:encoded><![CDATA[<p>The menu is created by looking up elements by name, so in a localized Firefox the names should be localized.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian Redl</title>
		<link>http://www.mikealrogers.com/archives/262/comment-page-1#comment-73</link>
		<dc:creator>Sebastian Redl</dc:creator>
		<pubDate>Wed, 03 Dec 2008 08:07:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikealrogers.com/?p=262#comment-73</guid>
		<description>This sounds completely useless. What happens in a localized Firefox?</description>
		<content:encoded><![CDATA[<p>This sounds completely useless. What happens in a localized Firefox?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
