I've automated adding the stylesheet and renaming the file.  I've
posted an example harness here:

http://wiki.openqa.org/display/WTR/Excel+Data+Driven+Harness+with+Database+Verifications

-Tiffany

On Aug 24, 12:59 am, Test Test <[email protected]> wrote:
> Tiffany,
>
> Its working fine, Thanks.
>
> Is there any way that it creates the file in html format directly instead of
> first adding
>
> <?xml-stylesheet type="text/xsl" href="transform-results.xsl"?>
>
> and then open in ie/FF.
>
> Thanks
> D G
>
> On Mon, Aug 24, 2009 at 11:33 AM, Test Test 
> <[email protected]>wrote:
>
> > Hi Tiffany,
>
> > I tried this, after running my code it create ‘test/reports’ subdirectories
> > and place the xml output of my tests in the reports folder.
>
> > Now you have written that we have to change in my xml output by adding this
> > line at line 2:
>
> > <?xml-stylesheet type="text/xsl" href="transform-results.xsl"?>
>
> > Note * I have transform-results.xsl in \test\reports folder.
>
> > I have updated my xml ouptut with the following:
>
> > <?xml-stylesheet type="text/xsl" href="transform-results.xsl"?>
>
> > But now when i run my code again, it creates new xml each time and shows no
> > html ouput.
>
> > I know i am wrong some where, please correct me where i am wrong.
>
> > Thanks
> > D G
>
> > On Fri, Aug 21, 2009 at 11:21 PM, tcfodor <[email protected]> wrote:
>
> >> Hi DG,
>
> >> I've posted my solution on my blog:
>
> >>http://tcfodor.wordpress.com/2009/07/23/ci_reporter-output-for-watir/
>
> >> Hope this helps!
>
> >> -Tiffany
>
> >> On Aug 21, 5:40 am, Test Test <[email protected]> wrote:
> >> > Hi,
>
> >> > I have:
> >> > ruby 1.8
> >> > watir 1.6.2
> >> > ci_reporter-1.6.0
>
> >> > Can any body provide a link or example of how to start the use of
> >> > ci_reporter in my script to generate xml report.
>
> >> > Say for a simple script like:
>
> >> > require 'watir'
> >> > require 'rubygems'
> >> > require 'win32ole'
> >> > ie = Watir::IE.new
> >> > autoit = WIN32OLE.new('AutoItX3.Control')
> >> > ie.goto('http://testurl')
> >> > assert(ie.link(:text, 'About Test').exists?)
> >> > ie.text_field(:name,"text1").set("Test")
> >> > ie.button(:name,"submit").click_no_wait
> >> > autoit.WinWaitActive("[Class:#32770]")
> >> > text = autoit.ControlGetText("[Class:#32770]", "", "Static2")
> >> > autoit.ControlClick("[Class:#32770]","","Button1")
> >> > puts text
>
> >> > Thanks in advance.
>
> >> > Regards
> >> > D G
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to