Beginners question:
Is it possible to get value from My_App.exe / Details / Product version without that it must be opened?
I have added to repository My_App ContainerDetails retrieved with RanorexSpy, but is it possible to get the version automatically so, that Properties of My_App.exe is not opened?
I tried to get it with:
string version = repo.My_App_exe_Properties.ContainerDetails1.Version.Text;
-> this only works when the Properties of My_App.exe / Details is open...
Details from *.exe
Re: Details from *.exe
I got it;
must use FileVersionInfo myFI = FileVersionInfo.GetVersionInfo("yourexe.exe")
must use FileVersionInfo myFI = FileVersionInfo.GetVersionInfo("yourexe.exe")
Re: Details from *.exe
Hi,
How can you include that version in the final report?
I know I can just use e.g. Report.Info() but is there a way to put this somewhere before the test results? Can it be put in the top section of report where there is Execution time, Computer name, Operating system Windows?
How can you include that version in the final report?
I know I can just use e.g. Report.Info() but is there a way to put this somewhere before the test results? Can it be put in the top section of report where there is Execution time, Computer name, Operating system Windows?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Details from *.exe
Hello,
In general it is possible to customize a Ranorex Report, but you need to know a lot about XML, CSS and JavaScript to get it right. Currently, we do not provide support for customizing Reports in that way.
It would be easier to write the Version of the *.exe file using the Rnaorex.Info() as you mentioned in your post.
Regards,
Bernhard
In general it is possible to customize a Ranorex Report, but you need to know a lot about XML, CSS and JavaScript to get it right. Currently, we do not provide support for customizing Reports in that way.
It would be easier to write the Version of the *.exe file using the Rnaorex.Info() as you mentioned in your post.
Regards,
Bernhard