I would like to create and maintain a build number to our test project, that will advanced every ranorex's test build (v1.0 , v1.1 , v1.2 etc. or maybe 1.0, 2.0, 3.0 etc.))
Any suggestions?
Thanks in advance,
Nir
Test project build number
Re: Test project build number
Hi,
You can change the test app version number in AssemblyInfo.cs file, which is a part of every project. Hope this helps?
You can change the test app version number in AssemblyInfo.cs file, which is a part of every project. Hope this helps?
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Test project build number
Yes it's very helpful!
Thanks.
How can I add this information to my report?
Thanks.
How can I add this information to my report?
Re: Test project build number
Hi,
You can do it by below code.
Add this namespace...
Then use this code in user code...
You can do it by below code.
Add this namespace...
Code: Select all
using System.Diagnostics;
Code: Select all
System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();
FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(assembly.Location);
string version = fvi.FileVersion;
Report.Info("Version", "Test version" + version);
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration