W3C home > Mailing lists > Public > public-mwts@w3.org > May 2009

http://www.w3.org/2005/MWI/Tests/track/actions/51 -- Draft a blog post on WTF

From: Kai Hendry <hendry@aplix.co.jp>
Date: Tue, 19 May 2009 10:21:05 +0100
Message-ID: <b24851260905190221n1eed966h3ac2f5dffff8c56c@mail.gmail.com>
To: public-mwts <public-mwts@w3.org>
Whilst the [W3C Widget Packaging and
Configuration](http://dev.w3.org/2006/waf/widgets/) specification goes through
the W3C process, the [Mobile Web Test Suites Working
Group](http://www.w3.org/2005/MWI/Tests/) have been investing some time and
effort into a Widget Testing Framework (WTF).

There is currently a debug instance running at <http://wtf.webvm.net>. Though
soon the project will be properly setup with sources for you to poke at and an
opensource license to go with it.

So how does it work? Imagine you have a "Widget runtime" (UA), some software
that allows you to run W3C widgets on your computer. You aim the UA to a test,
for example: <http://wtf.webvm.net/view//basic/true>

## Step 1

<a href="http://www.flickr.com/photos/hendry/3545551574/" title="Step
1 by Kai Hendry, on Flickr"><img
width="760" height="515" alt="Step 1" /></a>

Clicking **install** should serve you a widget with [the correct

## Step 2

This is the security prompt phase. You are likely to see this if your
widget is not [signed](http://dev.w3.org/2006/waf/widgets-digsig/).

<a href="http://www.flickr.com/photos/hendry/3545550186/" title="Step
2 by Kai Hendry, on Flickr"><img
width="434" height="211" alt="Step 2" /></a>

## Step 3

The widget runs and if everything goes well you should see:

<a href="http://www.flickr.com/photos/hendry/3545554476/" title="Step
3 by Kai Hendry, on Flickr"><img
width="384" height="55" alt="Step 3" /></a>

Behind the scenes, an AJAX request should be fired off that reports
this particular test passed to a REPORTURI which collects this data.

## Step 4

In Opera, you'll be asked whether you want to keep the widget after an
initial run.

<a href="http://www.flickr.com/photos/hendry/3545550194/" title="Step
4 by Kai Hendry, on Flickr"><img
width="304" height="143" alt="Step 4" /></a>

Remove the widget once testing it.

# Want to know more?

A more detailed [WTF wiki
page](http://dabase.com/blog/Widget_Test_Framework/) might help you.
Received on Tuesday, 19 May 2009 09:21:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:08:03 UTC