Forum Discussion
I access the logs using the following method
For latest log - Project.Logs.LogItem(Project.Logs.LogItemsCount - 1)
For designated log i pass in its index Project.Logs.LogItem(0)
Many thanks
Unfortunately, using that method, you're not accessing the log file itself but the references within the project to the logs. There's no property directly of that containing the path name of the corresponding log file.
May I ask what you need the folder information for? Looking at what's available, getting to the specific path of a specific log from the objects available to code is going to be a rather complex endeavor. If there is some other way that is less complicated to meet your needs, that might be the better route.
- DKNP7 years agoOccasional Contributor
I am creating 2 reports based upon the result set that was run
1 .Custom summary report
2. Where a test has failed an email containing all required steps to reproduce the error plus adding screenshots and application log files
- DKNP7 years agoOccasional Contributor
I am found a solution to the problem, i just need to implement it.
I can read in the projec.mds.tclogs file and search for the folder name by its index
Related Content
- 10 months agolodecesa
- 10 months agoKimdoengart
- 2 years agoTaz