Can we add custom action to HtmlLoggerState

泪湿孤枕 提交于 2019-12-25 13:08:08

问题


I'm using VS2013/CodedUI and my palybacksetting is as follow:

 Playback.PlaybackSettings.LoggerOverrideState = HtmlLoggerState.AllActionSnapshot;

I also have a 3rd party tool that I have integrated to my code that does some action that codedui can't...Iw an to be able to log those steps into the ActionLog.html file with where codedui capture the actions and screenshot.

I searched a lot but didn't find anything on how we can achieve this.

thanks in advance for any help


回答1:


I posted a response over here: Writing Custom HTML Logs

It sounds like there's not a good way to do this. You can get the path to where the html file lives and write a custom logger from there. I'm not sure it'd be safe to try and write to it while your test is executing, but perhaps once your test is complete.



来源:https://stackoverflow.com/questions/25085091/can-we-add-custom-action-to-htmlloggerstate

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!