Hey Bindhu,

 

Rake is ruby make file. You can say its Ruby's version of batch file (its
not but for starters you can have this assumption).

 

In the Rake file ,you can have multiple scripts with which you can create a
test suite of a kind.

 

I am sure there is a lot of material available over the internet if you look
for rake files.

 

Thanks,

Rohan Ojha

 

 

-----Original Message-----
From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com]
On Behalf Of Bindhu
Sent: Friday, October 09, 2009 11:36 AM
To: Watir General
Subject: [wtr-general] Re: Need to print results of Mulitple scripts in
oneHTML file

 

 

Thanks Prajakta and Rohan for ur quick reply,

And sorry to bother you again...

 

I the below code in every script

 

r = CLReport.new()

testReport = r.createReport('D:\\Automation\\ReportName')

 

            <<<<< Script to be executed>>>>>>

 

end

r.addtoReport("testReport","TC_001", 'PASSED', "New Account Created

for Regular Savings,Personal (10) and class code of Individual with

Account No :")

r.finishReport(testReport)

rescue

   r.addtoReport(testReport, 'Test crashed with reason '+$!, 'FAILED',

'Test crashed!')

  r.finishReport(testReport)

 

And based on ur sugesstion I m trying to use CLReport.open(). But it

is not working. Please extend ur help.

 

Rohan,

I m really not aware what is rake.Can you please provide me some

example.

 

Thanks in Advance

 

On Oct 9, 10:20 am, Prajakta Jadhav <jadhav.praja...@gmail.com> wrote:

> Shouldn't be a problem. Open the same html file in both the scripts for

> logging the results. It will log the results one after another in the same

> html file.

> 

> -Prajakta

> 

> 

> 

> On Fri, Oct 9, 2009 at 10:31 AM, Bindhu <udayarekha2...@gmail.com> wrote:

> 

> > Hi All,

> 

> > In batch file I have included 2 scripts to be executed. After a

> > successful execution of this batch I want to print the results in one

> > HTML file.

> > As of now I am able to print the one HTML file for one script. But I

> > want a single HTML file to be printed for multiple scripts which I

> > have inculded on batch file.

> > Please guide me.

> 

> > Right now I am using the code which is available in wiki..

> 

> > Thanks- Hide quoted text -

> 

> - Show quoted text -



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to