Forum Discussion
How are you getting access to previous log results? That's going to determine how to go forward.
- DKNP7 years agoOccasional Contributor
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
- tristaanogre7 years agoEsteemed Contributor
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
Related Content
- 10 months agolodecesa
- 10 months agoKimdoengart
- 2 years agoTaz