Watir doesn't really support XML pages today. It is a reasonable
request, so feel free to post this to Jira.
Bret
Dave wrote:
> Hi
>
> I haven't seen any posts concerning feeds and have been wondering if
> there is any way of accessing elements on such a page. I have tried:
>
> ie.show_all_objects -> error
> ie.document.text -> error
> ie.document.getElementById('...') -> error
> ie.title ->
>
> WIN32OLERuntimeError: unknown property or method `title'
> HRESULT error code:0x80004001
> Not implemented
> from C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/ie.rb:
> 343:in `me
> thod_missing'
> from C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/ie.rb:
> 343:in `ti
> tle'
> from (irb):18
> .
> .
> .
> etc
>
> I can,t seem to check anything on the page except the browser url;p
> source of the page looks as follows
>
> <?xml version="1.0" encoding="UTF-8"?>
> <rss version="2.0">
> <channel>
> <title>FAST Feed - All Categories - All Results</title>
> <link>http://fast02.greenliff.com:8010/fasthosting/selftest/viewer/
> results/list</link>
> <description>The most recent of all results executed and
> collected by FAST.</description>
> <language>en-us</language>
> <item>
> <title>fast_gui_testsuite20081014000104 [2/11]</title>
> <link>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/56</link>
> <guid>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/56</guid>
> <description>This job contains 11 test cases, <b>2</
> b> of which were not successfully executed.</description>
> <pubDate>Tue, 14 Oct 2008 00:01:04 +0200</pubDate>
> </item>
> <item>
> <title>JUnit20081013184305 [51/184]</title>
> <link>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/55</link>
> <guid>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/55</guid>
> <description>This job contains 184 test cases, <b>51</
> b> of which were not successfully executed.</description>
> <pubDate>Mon, 13 Oct 2008 18:43:05 +0200</pubDate>
> </item>
> <item>
> <title>JUnit20081013182624 [69/185]</title>
> <link>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/54</link>
> <guid>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/54</guid>
> <description>This job contains 185 test cases, <b>69</
> b> of which were not successfully executed.</description>
> <pubDate>Mon, 13 Oct 2008 18:26:24 +0200</pubDate>
> </item>
> <item>
> <title>fast_gui_testsuite20081013122549 [1/11]</title>
> <link>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/53</link>
> <guid>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/53</guid>
> <description>This job contains 11 test cases, <b>1</
> b> of which was not successfully executed.</description>
> <pubDate>Mon, 13 Oct 2008 12:25:49 +0200</pubDate>
> </item>
> <item>
> <title>fast_gui_testsuite20081013121724 [5/6]</title>
> <link>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/52</link>
> <guid>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/52</guid>
> <description>This job contains 6 test cases, <b>5</
> b> of which were not successfully executed.</description>
> <pubDate>Mon, 13 Oct 2008 12:17:24 +0200</pubDate>
> </item>
> <item>
> <title>fast_gui_testsuite20081013120546 [NOT OK]</title>
> <link>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/51</link>
> <guid>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/51</guid>
> <description>This job reports <b>execution problems</
> b>. Check the log files.</description>
> <pubDate>Mon, 13 Oct 2008 12:05:46 +0200</pubDate>
> </item>
> <item>
> <title>fast_gui_testsuite20081013120109 [NOT OK]</title>
> <link>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/50</link>
> <guid>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/50</guid>
> <description>This job reports <b>execution problems</
> b>. Check the log files.</description>
> <pubDate>Mon, 13 Oct 2008 12:01:09 +0200</pubDate>
> </item>
> <item>
> <title>fast_gui_testsuite20081013115851 [NOT OK]</title>
> <link>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/49</link>
> <guid>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/49</guid>
> <description>This job reports <b>execution problems</
> b>. Check the log files.</description>
> <pubDate>Mon, 13 Oct 2008 11:58:51 +0200</pubDate>
> </item>
> <item>
> <title>fast_gui_testsuite20081013115109 [NOT OK]</title>
> <link>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/48</link>
> <guid>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/48</guid>
> <description>This job reports <b>execution problems</
> b>. Check the log files.</description>
> <pubDate>Mon, 13 Oct 2008 11:51:09 +0200</pubDate>
> </item>
> <item>
> <title>fast_gui_testsuite20081012000104 [2/11]</title>
> <link>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/47</link>
> <guid>http://fast02.greenliff.com:8010/fasthosting/selftest/
> viewer/results/show/47</guid>
> <description>This job contains 11 test cases, <b>2</
> b> of which were not successfully executed.</description>
> <pubDate>Sun, 12 Oct 2008 00:01:04 +0200</pubDate>
> </item>
> </channel>
> </rss>
>
> Is there perhaps some problem reading rss tags?
>
> Thanks Dave
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---