It took me sometime, but it was worth it going through the reference
documents for Telluruium 0.7.0.

I have a working UI module for the following HTML snippet.

Thanks
Haroon

On Mar 26, 2:11 am, Haroon Rasheed <[email protected]> wrote:
> Hi All,
>
> I am trying to write a tellurium test after a long time for an internal
> demonstration at my work next week. Can someone please help in writing the
> UI module for the following HTML snippet.
>
> I tried using Trump and it generated a UI module but that UI module does not
> serve my purpose, as it is too generic and when I use the UI module to get
> the text from the site, it always returns the same text.
>
> <div id="skyline">
> <div id="skyline-inner">
> <div class="skyline-x">
> <h3>
> <span class="story-image">
> <a href="http://www.ft.com/cms/s/2/d7fac1ca-55b9-11e0-a00c-00144feab49a.html
> ">
> <img alt="FT Magazine: Japan Aftermath" 
> src="http://im.media.ft.com/content/images/83a9d0b2-56f8-11e0-9c5c-00144fe...
> ">
> </a>
> </span>
> <span class="story-text">
> <a href="http://www.ft.com/cms/s/2/d7fac1ca-55b9-11e0-a00c-00144feab49a.html
> ">
> <strong>After the quake</strong><br>A special report from northern Japan
> </a>
> </span> </h3>
> </div>
> <div class="skyline-x">
> <h3>
> <span class="story-image">
> <a href="http://www.ft.com/uk/personal-finance";>
> <img alt="UK Budget Weekend Money" 
> src="http://im.media.ft.com/content/images/b69ce25c-56f8-11e0-9c5c-00144fe...
> ">
> </a>
> </span>
> <span class="story-text">
> <a href="http://www.ft.com/uk/personal-finance";>
> <strong>Budget 2011</strong><br>How the changes affect you
> </a>
> </span> </h3>
> </div>
> <ul class="skyline-y">
> <li>
> <h3>
> <a href="http://www.ft.com/cms/s/0/49e9f7de-5721-11e0-9035-00144feab49a.html
> ">
> <strong>Christopher Caldwell </strong> Teach history warts and all
> </a>
> </h3>
> </li>
> <li>
> <h3>
> <a href="http://www.ft.com/cms/s/0/5b68adac-5721-11e0-9035-00144feab49a.html
> ">
> <strong>Outside Edge</strong> Hathaway conquers sage and screen
> </a>
> </h3>
> </li>
> <li>
> <h3>
> <a href="http://www.ft.com/cms/s/0/66e37dce-5721-11e0-9035-00144feab49a.html
> ">
> <strong>Tony Barber</strong> Testing Britain’s stiff upper lip
> </a>
> </h3>
> </li>
> </ul>
> </div>
> </div>
>
> Thanks
> Haroon

-- 
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en.

Reply via email to