Hi Everyone
Where is report data saved in ranorex in ranorex?
Can i retrieve the all test value after the test excution?
Thank You
Sunny Khanpara
Report Data
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Report Data
Hi skhanpara,
Usually the report data file is saved in the debug folder of your Ranorex solution after building it.
I'm afraid that I do not understand your second question correctly. May I ask you to rephrase it?
What is meant by “All test value”?
Regards,
Robert
Usually the report data file is saved in the debug folder of your Ranorex solution after building it.
Code: Select all
../Solution/bin/Debug
What is meant by “All test value”?
Regards,
Robert
Re: Report Data
i wan to save all the data displayed on Report to Excel sheet
I have the code ready but i have to manually type the contain of the report at each step
When are the data of the report saved(Time, Level,Category, Message).
Id yes, How can i call those values.
Thank you
I have the code ready but i have to manually type the contain of the report at each step
When are the data of the report saved(Time, Level,Category, Message).
Id yes, How can i call those values.
Thank you
Re: Report Data
when we record any event it is saved using Report.log(time, level, cat, message)
can we call any of the parameter in between of testing?
if yes how
Thank you
can we call any of the parameter in between of testing?
if yes how
Thank you
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Report Data
Hello skhanpara,
Ranorex itself doesn’t provide the functionality to save report data to an Excel sheet. You will need to implement a wrapper or a similar mechanism/method in order to save the data to the Excel sheet.
The data is saved per default to the report every 30 seconds. Please use the “Auto Save Interval” within the TestSuite properties in order to change the interval.
May I ask you to explain the scenario which requires access to the report information during runtime?
Regards,
Robert
Ranorex itself doesn’t provide the functionality to save report data to an Excel sheet. You will need to implement a wrapper or a similar mechanism/method in order to save the data to the Excel sheet.
The data is saved per default to the report every 30 seconds. Please use the “Auto Save Interval” within the TestSuite properties in order to change the interval.
May I ask you to explain the scenario which requires access to the report information during runtime?
Regards,
Robert
You do not have the required permissions to view the files attached to this post.
Re: Report Data
Thanks for the reply
I want to fetch the data at the end for export it to my excel sheet
i know how to export it to my excel sheet. I have written a code which is working
but i am doing it manually by adding single test case every single step
Is there anyway i can call them all at once at the end to upload it all at once?
Thank you
I want to fetch the data at the end for export it to my excel sheet
i know how to export it to my excel sheet. I have written a code which is working
but i am doing it manually by adding single test case every single step
Is there anyway i can call them all at once at the end to upload it all at once?
Thank you
Re: Report Data
what i basically want to do
I want to transfer the data in excel file after all the execution is finished i.e last step is to transfer data to excel sheet.
That why i want to fetch data at once is there any special method to do it?
thank you
I want to transfer the data in excel file after all the execution is finished i.e last step is to transfer data to excel sheet.
That why i want to fetch data at once is there any special method to do it?
thank you
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Report Data
Hello skhanpara,
You can either use the log data method from the IReportLogger in order to log the messages to Excel using your own writing mechanism. The topic "How to implement a custom Report Logger" can be found several times within our forum. Or you can iterate over the so-called “Activity Stack” as partly explained here at the end of your test in order to retrieve the logged data.
Please note that we do not recommend using undocumented API and do not guarantee for any side effects. Additionally, we preserve the right to change internal methods at any time.
Regards,
Robert
You can either use the log data method from the IReportLogger in order to log the messages to Excel using your own writing mechanism. The topic "How to implement a custom Report Logger" can be found several times within our forum. Or you can iterate over the so-called “Activity Stack” as partly explained here at the end of your test in order to retrieve the logged data.
Please note that we do not recommend using undocumented API and do not guarantee for any side effects. Additionally, we preserve the right to change internal methods at any time.
Regards,
Robert