Hi,
I need to retrieve within code modules the OS version, at runtime, as provided by Report.SystemSummary():
Ranorex version: 8.2.0.0
OS version: Windows 7 Service Pack 1 64bit
How can these information be accessed, and stored in one or several strings ?
Thanks for your help.
Get Report.SystemSummary() information in a string
Re: Get Report.SystemSummary() information in a string
Well there are a few ways you could go about this that I can think of:
hope this helps
- Parse the report data file for the information you need
- Use .NET to get the OS information for you
hope this helps
Re: Get Report.SystemSummary() information in a string
There's an even easier alternative: the Host node in Ranorex provides all the information you want, just see its attributes.
Alex
Ranorex Team
var osEdition = Host.Local.OSEdition;Regards,
Alex
Ranorex Team
Re: Get Report.SystemSummary() information in a string
Host node is just perfect !
Thanks.
Thanks.