-
Notifications
You must be signed in to change notification settings - Fork 575
Ability to customize Test File Name Template #737
Comments
#738 PR has been opened |
* Ability to customize Test File Name Template #737 This feature will allow to customize "test file name template" adding a new capability to the browser named "testFileNameTemplate". How this works? Template accepts variables like: {proxyName} - Zalenium|SauceLabs|BrowserStack {testName} - The one added as "name" on capabilities, otherwise a session key {browser} - The browser name {platform} - OS where test runs {timestamp} - Timestamp of test inizialitation {testStatus} - Test result: COMPLETED|TIMEOUT|SUCCESS|FAILED You can add a string to the capability adding static text and any of the variables above mentioned. Default template: {proxyName}_{testName}_{browser}_{platform}_{timestamp}_{testStatus} * Documentation added for new feature: Ability to customize Test File Name Template
Closed via #738, thanks @gaiquelsf! |
@diemol I saw on Zalenium home page that break lines didn't work on the .md documentation file, should I add |
Ah yes, with this template one needs to add |
Hi @diemol, I saw on releases page that two new features were added, which one of them is this one (#737), thank you again for accept them. |
Oh sorry! Seems I screwed up, I will release again :) |
Great, thanks @diemol, I've just tested and now it works |
We started using Zalenium to run our automated test suites, and it is a great tool.
However we found that it is not possible to get video and log file name from our tests code because it contains a timestamp. Since we store the test result on a database within the logs and the recording video, we need to know what file name will be created.
Thoughts on adding a new capability where "test file name template" can be customized? This will allow to set video and log file names as necessary.
Thank you all about any suggestion here.
Best regards
The text was updated successfully, but these errors were encountered: